1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSearchCtrl swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSlider swig_types[144]
2611 #define SWIGTYPE_p_wxSpinButton swig_types[145]
2612 #define SWIGTYPE_p_wxSpinCtrl swig_types[146]
2613 #define SWIGTYPE_p_wxSpinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBitmap swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBox swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStaticLine swig_types[151]
2618 #define SWIGTYPE_p_wxStaticText swig_types[152]
2619 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153]
2620 #define SWIGTYPE_p_wxString swig_types[154]
2621 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[155]
2622 #define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTextAttr swig_types[158]
2625 #define SWIGTYPE_p_wxTextCtrl swig_types[159]
2626 #define SWIGTYPE_p_wxTextUrlEvent swig_types[160]
2627 #define SWIGTYPE_p_wxToggleButton swig_types[161]
2628 #define SWIGTYPE_p_wxToolBar swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarToolBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolbook swig_types[165]
2632 #define SWIGTYPE_p_wxToolbookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeItemId swig_types[168]
2635 #define SWIGTYPE_p_wxTreebook swig_types[169]
2636 #define SWIGTYPE_p_wxTreebookEvent swig_types[170]
2637 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[171]
2638 #define SWIGTYPE_p_wxValidator swig_types[172]
2639 #define SWIGTYPE_p_wxVisualAttributes swig_types[173]
2640 #define SWIGTYPE_p_wxWindow swig_types[174]
2641 #define SWIGTYPE_p_wxWindowBase swig_types[175]
2642 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[176]
2643 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[177]
2644 #define SWIGTYPE_p_wxXPMHandler swig_types[178]
2645 static swig_type_info
*swig_types
[180];
2646 static swig_module_info swig_module
= {swig_types
, 179, 0, 0, 0, 0};
2647 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2648 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2650 /* -------- TYPES TABLE (END) -------- */
2652 #if (PY_VERSION_HEX <= 0x02000000)
2653 # if !defined(SWIG_PYTHON_CLASSIC)
2654 # error "This python version requires to use swig with the '-classic' option"
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodern' option"
2660 #if (PY_VERSION_HEX <= 0x02020000)
2661 # error "This python version requires to use swig with the '-nomodernargs' option"
2664 # error "This python version requires to use swig with the '-nofastunpack' option"
2667 /*-----------------------------------------------
2668 @(target):= _controls_.so
2669 ------------------------------------------------*/
2670 #define SWIG_init init_controls_
2672 #define SWIG_name "_controls_"
2674 #define SWIGVERSION 0x010329
2677 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2678 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2681 #include <stdexcept>
2685 class PyObject_ptr
{
2690 PyObject_ptr() :_obj(0)
2694 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2699 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2701 if (initial_ref
) Py_XINCREF(_obj
);
2704 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2706 Py_XINCREF(item
._obj
);
2717 operator PyObject
*() const
2722 PyObject
*operator->() const
2731 struct PyObject_var
: PyObject_ptr
{
2732 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2734 PyObject_var
& operator = (PyObject
* obj
)
2744 #include "wx/wxPython/wxPython.h"
2745 #include "wx/wxPython/pyclasses.h"
2747 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2748 static const wxString
wxPyEmptyString(wxEmptyString
);
2749 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2751 const wxArrayString wxPyEmptyStringArray
;
2753 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2755 #define SWIG_From_long PyInt_FromLong
2758 SWIGINTERNINLINE PyObject
*
2759 SWIG_From_int (int value
)
2761 return SWIG_From_long (value
);
2767 # define LLONG_MIN LONG_LONG_MIN
2770 # define LLONG_MAX LONG_LONG_MAX
2773 # define ULLONG_MAX ULONG_LONG_MAX
2778 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2780 if (PyNumber_Check(obj
)) {
2781 if (val
) *val
= PyInt_AsLong(obj
);
2784 return SWIG_TypeError
;
2789 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2792 int res
= SWIG_AsVal_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< int >(v
);
2803 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2806 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2808 if (obj
== Py_True
) {
2809 if (val
) *val
= true;
2811 } else if (obj
== Py_False
) {
2812 if (val
) *val
= false;
2816 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2817 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2822 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2823 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2824 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2825 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2826 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2827 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2830 #include <wx/checklst.h>
2832 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2833 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2836 wxPyClientData
* data
= new wxPyClientData(clientData
);
2837 self
->Insert(item
, pos
, data
);
2840 self
->Insert(item
, pos
);
2844 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2847 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2848 return SWIG_TypeError
;
2851 *val
= (unsigned long)v
;
2857 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2860 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2861 if (SWIG_IsOK(res
)) {
2862 if ((v
> UINT_MAX
)) {
2863 return SWIG_OverflowError
;
2865 if (val
) *val
= static_cast< unsigned int >(v
);
2871 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2874 self
->GetSelections(lst
);
2875 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2876 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2878 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2880 wxPyEndBlockThreads(blocked
);
2883 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2885 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2886 self
->GetItem(item
)->SetTextColour(c
);
2889 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2891 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2892 self
->GetItem(item
)->SetBackgroundColour(c
);
2895 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2897 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2898 self
->GetItem(item
)->SetFont(f
);
2901 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2902 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2903 self
->AppendText(text
);
2905 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2906 return self
->GetValue().Mid(from
, to
- from
);
2908 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2909 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2910 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2911 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2912 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2914 SWIGINTERNINLINE PyObject
*
2915 SWIG_From_unsigned_SS_long (unsigned long value
)
2917 return (value
> LONG_MAX
) ?
2918 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2922 SWIGINTERNINLINE PyObject
*
2923 SWIG_From_size_t (size_t value
)
2925 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2929 SWIGINTERNINLINE PyObject
*
2930 SWIG_From_unsigned_SS_int (unsigned int value
)
2932 return SWIG_From_unsigned_SS_long (value
);
2936 #include <wx/slider.h>
2939 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2940 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2942 #if !wxUSE_TOGGLEBTN
2943 // implement dummy items for platforms that don't have this class
2945 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2947 class wxToggleButton
: public wxControl
2950 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2951 const wxPoint
&, const wxSize
&, long,
2952 const wxValidator
&, const wxString
&)
2953 { wxPyRaiseNotImplemented(); }
2956 { wxPyRaiseNotImplemented(); }
2960 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2962 SWIGINTERNINLINE
int
2963 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2966 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2967 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2971 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2972 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2973 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2975 Py_INCREF(udata
->m_obj
);
2976 return udata
->m_obj
;
2982 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2983 self
->SetClientData(new wxPyUserData(clientData
));
2985 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2986 wxPyUserData
* udata
= NULL
;
2987 if (clientData
&& clientData
!= Py_None
)
2988 udata
= new wxPyUserData(clientData
);
2989 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2990 shortHelp
, longHelp
, udata
);
2992 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2993 wxPyUserData
* udata
= NULL
;
2994 if (clientData
&& clientData
!= Py_None
)
2995 udata
= new wxPyUserData(clientData
);
2996 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2997 shortHelp
, longHelp
, udata
);
2999 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3000 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3002 Py_INCREF(udata
->m_obj
);
3003 return udata
->m_obj
;
3009 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3010 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3013 #include <wx/listctrl.h>
3015 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3016 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3017 // Python aware sorting function for wxPyListCtrl
3018 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3020 PyObject
* func
= (PyObject
*)funcPtr
;
3021 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3023 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3024 PyObject
* result
= PyEval_CallObject(func
, args
);
3027 retval
= PyInt_AsLong(result
);
3031 wxPyEndBlockThreads(blocked
);
3035 // C++ Version of a Python aware class
3036 class wxPyListCtrl
: public wxListCtrl
{
3037 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3039 wxPyListCtrl() : wxListCtrl() {}
3040 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3044 const wxValidator
& validator
,
3045 const wxString
& name
) :
3046 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3048 bool Create(wxWindow
* parent
, wxWindowID id
,
3052 const wxValidator
& validator
,
3053 const wxString
& name
) {
3054 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3057 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3058 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3060 // use the virtual version to avoid a confusing assert in the base class
3061 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3062 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3067 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3069 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3070 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3071 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3072 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3075 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3077 item
.SetMask( wxLIST_MASK_STATE
|
3085 if (self
->GetColumn(col
, item
))
3086 return new wxListItem(item
);
3090 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3091 wxListItem
* info
= new wxListItem
;
3092 info
->m_itemId
= itemId
;
3094 info
->m_mask
= 0xFFFF;
3095 self
->GetItem(*info
);
3098 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3100 self
->GetItemPosition(item
, pos
);
3103 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3105 self
->GetItemRect(item
, rect
, code
);
3108 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3109 if (!PyCallable_Check(func
))
3111 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3113 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3121 #include <wx/treectrl.h>
3122 #include "wx/wxPython/pytree.h"
3124 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3125 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3126 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3127 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3129 static wxTreeItemId wxNullTreeItemId
;
3131 // C++ version of Python aware wxTreeCtrl
3132 class wxPyTreeCtrl
: public wxTreeCtrl
{
3133 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3135 wxPyTreeCtrl() : wxTreeCtrl() {}
3136 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3140 const wxValidator
& validator
,
3141 const wxString
& name
) :
3142 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3144 bool Create(wxWindow
*parent
, wxWindowID id
,
3148 const wxValidator
& validator
,
3149 const wxString
& name
) {
3150 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3154 int OnCompareItems(const wxTreeItemId
& item1
,
3155 const wxTreeItemId
& item2
) {
3158 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3159 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3160 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3161 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3162 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3166 wxPyEndBlockThreads(blocked
);
3168 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3174 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3177 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3178 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3180 data
= new wxPyTreeItemData();
3181 data
->SetId(item
); // set the id
3182 self
->SetItemData(item
, data
);
3186 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3187 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3189 data
= new wxPyTreeItemData();
3190 data
->SetId(item
); // set the id
3191 self
->SetItemData(item
, data
);
3193 return data
->GetData();
3195 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3196 data
->SetId(item
); // set the id
3197 self
->SetItemData(item
, data
);
3199 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3200 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3202 data
= new wxPyTreeItemData(obj
);
3203 data
->SetId(item
); // set the id
3204 self
->SetItemData(item
, data
);
3208 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3210 PyObject
* rval
= PyList_New(0);
3211 wxArrayTreeItemIds array
;
3213 num
= self
->GetSelections(array
);
3214 for (x
=0; x
< num
; x
++) {
3215 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3216 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3217 PyList_Append(rval
, item
);
3220 wxPyEndBlockThreads(blocked
);
3223 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3225 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3226 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3227 PyObject
* tup
= PyTuple_New(2);
3228 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3229 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3230 wxPyEndBlockThreads(blocked
);
3233 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3234 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3235 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3236 PyObject
* tup
= PyTuple_New(2);
3237 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3238 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3239 wxPyEndBlockThreads(blocked
);
3242 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3244 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3245 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3246 wxRect
* r
= new wxRect(rect
);
3247 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3248 wxPyEndBlockThreads(blocked
);
3254 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3256 SWIGINTERNINLINE PyObject
*
3257 SWIG_From_bool (bool value
)
3259 return PyBool_FromLong(value
? 1 : 0);
3262 // C++ version of Python aware wxControl
3263 class wxPyControl
: public wxControl
3265 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3267 wxPyControl() : wxControl() {}
3268 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3269 const wxPoint
& pos
= wxDefaultPosition
,
3270 const wxSize
& size
= wxDefaultSize
,
3272 const wxValidator
& validator
=wxDefaultValidator
,
3273 const wxString
& name
= wxPyControlNameStr
)
3274 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3277 bool DoEraseBackground(wxDC
* dc
) {
3279 return wxWindow::DoEraseBackground(dc
->GetHDC());
3281 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3287 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3288 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3296 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3299 DEC_PYCALLBACK__(InitDialog
);
3300 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3302 DEC_PYCALLBACK_BOOL_(Validate
);
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3306 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3308 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3311 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3312 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3314 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3316 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3321 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3323 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3324 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3325 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3332 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3335 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3336 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3340 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3342 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3347 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3348 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3350 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3352 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3356 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3358 #include <wx/generic/dragimgg.h>
3360 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3361 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3363 self
->GetRange(&rv
, NULL
);
3366 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3368 self
->GetRange(NULL
, &rv
);
3371 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3372 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3373 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3374 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3375 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3376 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3377 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3378 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3379 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3380 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3382 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3383 // define a dummy class for builds that don't have wxSearchCtrl
3386 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
,
3387 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3390 class wxSearchCtrl
: public wxTextCtrl
3393 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3394 wxSearchCtrl(wxWindow
*, wxWindowID
,
3400 const wxString
& name
)
3401 { wxPyRaiseNotImplemented(); }
3403 bool Create( wxWindow
*, wxWindowID
,
3409 const wxString
& name
) {}
3411 virtual void SetMenu( wxMenu
* ) {}
3412 virtual wxMenu
* GetMenu() { return NULL
; }
3414 // get/set search options
3415 // ----------------------
3416 virtual void ShowSearchButton( bool ) {}
3417 virtual bool IsSearchButtonVisible() const { return false; }
3419 virtual void ShowCancelButton( bool ) {}
3420 virtual bool IsCancelButtonVisible() const { return false; }
3424 SWIGINTERN
void wxSearchCtrl_SetSearchBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3425 SWIGINTERN
void wxSearchCtrl_SetSearchMenuBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3426 SWIGINTERN
void wxSearchCtrl_SetCancelBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3430 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3431 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3436 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3437 PyObject
*pyobj
= 0;
3441 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3443 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3450 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
*resultobj
= 0;
3452 wxWindow
*arg1
= (wxWindow
*) 0 ;
3453 int arg2
= (int) -1 ;
3454 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3455 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3456 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3457 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3458 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3459 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3460 long arg6
= (long) 0 ;
3461 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3462 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3463 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3464 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3465 wxButton
*result
= 0 ;
3470 bool temp3
= false ;
3477 bool temp8
= false ;
3478 PyObject
* obj0
= 0 ;
3479 PyObject
* obj1
= 0 ;
3480 PyObject
* obj2
= 0 ;
3481 PyObject
* obj3
= 0 ;
3482 PyObject
* obj4
= 0 ;
3483 PyObject
* obj5
= 0 ;
3484 PyObject
* obj6
= 0 ;
3485 PyObject
* obj7
= 0 ;
3486 char * kwnames
[] = {
3487 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3492 if (!SWIG_IsOK(res1
)) {
3493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3495 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3498 if (!SWIG_IsOK(ecode2
)) {
3499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3501 arg2
= static_cast< int >(val2
);
3505 arg3
= wxString_in_helper(obj2
);
3506 if (arg3
== NULL
) SWIG_fail
;
3513 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3519 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3523 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3524 if (!SWIG_IsOK(ecode6
)) {
3525 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3527 arg6
= static_cast< long >(val6
);
3530 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3531 if (!SWIG_IsOK(res7
)) {
3532 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3537 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3541 arg8
= wxString_in_helper(obj7
);
3542 if (arg8
== NULL
) SWIG_fail
;
3547 if (!wxPyCheckForApp()) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3576 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3577 PyObject
*resultobj
= 0;
3578 wxButton
*result
= 0 ;
3580 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3582 if (!wxPyCheckForApp()) SWIG_fail
;
3583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3584 result
= (wxButton
*)new wxButton();
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3595 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
= 0;
3597 wxButton
*arg1
= (wxButton
*) 0 ;
3598 wxWindow
*arg2
= (wxWindow
*) 0 ;
3599 int arg3
= (int) -1 ;
3600 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3601 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3602 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3603 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3604 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3605 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3606 long arg7
= (long) 0 ;
3607 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3608 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3609 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3610 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3618 bool temp4
= false ;
3625 bool temp9
= false ;
3626 PyObject
* obj0
= 0 ;
3627 PyObject
* obj1
= 0 ;
3628 PyObject
* obj2
= 0 ;
3629 PyObject
* obj3
= 0 ;
3630 PyObject
* obj4
= 0 ;
3631 PyObject
* obj5
= 0 ;
3632 PyObject
* obj6
= 0 ;
3633 PyObject
* obj7
= 0 ;
3634 PyObject
* obj8
= 0 ;
3635 char * kwnames
[] = {
3636 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3641 if (!SWIG_IsOK(res1
)) {
3642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3644 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3645 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3646 if (!SWIG_IsOK(res2
)) {
3647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3649 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3652 if (!SWIG_IsOK(ecode3
)) {
3653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3655 arg3
= static_cast< int >(val3
);
3659 arg4
= wxString_in_helper(obj3
);
3660 if (arg4
== NULL
) SWIG_fail
;
3667 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3673 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3677 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3678 if (!SWIG_IsOK(ecode7
)) {
3679 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3681 arg7
= static_cast< long >(val7
);
3684 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3685 if (!SWIG_IsOK(res8
)) {
3686 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3691 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3695 arg9
= wxString_in_helper(obj8
);
3696 if (arg9
== NULL
) SWIG_fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3731 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3732 PyObject
*resultobj
= 0;
3733 wxButton
*arg1
= (wxButton
*) 0 ;
3736 PyObject
*swig_obj
[1] ;
3738 if (!args
) SWIG_fail
;
3740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3741 if (!SWIG_IsOK(res1
)) {
3742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3744 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 (arg1
)->SetDefault();
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3751 resultobj
= SWIG_Py_Void();
3758 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3759 PyObject
*resultobj
= 0;
3762 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3765 result
= wxButton::GetDefaultSize();
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3769 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3776 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
= 0;
3778 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3779 SwigValueWrapper
<wxVisualAttributes
> result
;
3782 PyObject
* obj0
= 0 ;
3783 char * kwnames
[] = {
3784 (char *) "variant", NULL
3787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3789 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3790 if (!SWIG_IsOK(ecode1
)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3793 arg1
= static_cast< wxWindowVariant
>(val1
);
3796 if (!wxPyCheckForApp()) SWIG_fail
;
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 result
= wxButton::GetClassDefaultAttributes(arg1
);
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3802 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3809 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3812 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3813 return SWIG_Py_Void();
3816 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3817 return SWIG_Python_InitShadowInstance(args
);
3820 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
= 0;
3822 wxWindow
*arg1
= (wxWindow
*) 0 ;
3823 int arg2
= (int) -1 ;
3824 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3825 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3826 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3827 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3828 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3829 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3830 long arg6
= (long) wxBU_AUTODRAW
;
3831 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3832 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3833 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3834 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3835 wxBitmapButton
*result
= 0 ;
3848 bool temp8
= false ;
3849 PyObject
* obj0
= 0 ;
3850 PyObject
* obj1
= 0 ;
3851 PyObject
* obj2
= 0 ;
3852 PyObject
* obj3
= 0 ;
3853 PyObject
* obj4
= 0 ;
3854 PyObject
* obj5
= 0 ;
3855 PyObject
* obj6
= 0 ;
3856 PyObject
* obj7
= 0 ;
3857 char * kwnames
[] = {
3858 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3863 if (!SWIG_IsOK(res1
)) {
3864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3866 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3869 if (!SWIG_IsOK(ecode2
)) {
3870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3872 arg2
= static_cast< int >(val2
);
3875 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3876 if (!SWIG_IsOK(res3
)) {
3877 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3882 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3887 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3893 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3897 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3898 if (!SWIG_IsOK(ecode6
)) {
3899 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3901 arg6
= static_cast< long >(val6
);
3904 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3905 if (!SWIG_IsOK(res7
)) {
3906 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3911 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3915 arg8
= wxString_in_helper(obj7
);
3916 if (arg8
== NULL
) SWIG_fail
;
3921 if (!wxPyCheckForApp()) SWIG_fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3942 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3943 PyObject
*resultobj
= 0;
3944 wxBitmapButton
*result
= 0 ;
3946 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3948 if (!wxPyCheckForApp()) SWIG_fail
;
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 result
= (wxBitmapButton
*)new wxBitmapButton();
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3961 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
*resultobj
= 0;
3963 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3964 wxWindow
*arg2
= (wxWindow
*) 0 ;
3965 int arg3
= (int) -1 ;
3966 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3967 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3968 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3969 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3970 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3971 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3972 long arg7
= (long) wxBU_AUTODRAW
;
3973 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3974 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3975 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3976 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3992 bool temp9
= false ;
3993 PyObject
* obj0
= 0 ;
3994 PyObject
* obj1
= 0 ;
3995 PyObject
* obj2
= 0 ;
3996 PyObject
* obj3
= 0 ;
3997 PyObject
* obj4
= 0 ;
3998 PyObject
* obj5
= 0 ;
3999 PyObject
* obj6
= 0 ;
4000 PyObject
* obj7
= 0 ;
4001 PyObject
* obj8
= 0 ;
4002 char * kwnames
[] = {
4003 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4008 if (!SWIG_IsOK(res1
)) {
4009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4011 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4012 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4013 if (!SWIG_IsOK(res2
)) {
4014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4016 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4019 if (!SWIG_IsOK(ecode3
)) {
4020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4022 arg3
= static_cast< int >(val3
);
4025 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4026 if (!SWIG_IsOK(res4
)) {
4027 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4032 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
4037 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4043 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4047 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4048 if (!SWIG_IsOK(ecode7
)) {
4049 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4051 arg7
= static_cast< long >(val7
);
4054 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4055 if (!SWIG_IsOK(res8
)) {
4056 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4061 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4065 arg9
= wxString_in_helper(obj8
);
4066 if (arg9
== NULL
) SWIG_fail
;
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4093 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4094 PyObject
*resultobj
= 0;
4095 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4099 PyObject
*swig_obj
[1] ;
4101 if (!args
) SWIG_fail
;
4103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4104 if (!SWIG_IsOK(res1
)) {
4105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4107 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= (arg1
)->GetBitmapLabel();
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4121 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4122 PyObject
*resultobj
= 0;
4123 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4127 PyObject
*swig_obj
[1] ;
4129 if (!args
) SWIG_fail
;
4131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4132 if (!SWIG_IsOK(res1
)) {
4133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4135 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= (arg1
)->GetBitmapDisabled();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4149 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4150 PyObject
*resultobj
= 0;
4151 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4155 PyObject
*swig_obj
[1] ;
4157 if (!args
) SWIG_fail
;
4159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4160 if (!SWIG_IsOK(res1
)) {
4161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4163 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 result
= (arg1
)->GetBitmapFocus();
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4177 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4178 PyObject
*resultobj
= 0;
4179 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4183 PyObject
*swig_obj
[1] ;
4185 if (!args
) SWIG_fail
;
4187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4188 if (!SWIG_IsOK(res1
)) {
4189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4191 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= (arg1
)->GetBitmapSelected();
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4205 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4206 PyObject
*resultobj
= 0;
4207 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4211 PyObject
*swig_obj
[1] ;
4213 if (!args
) SWIG_fail
;
4215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4216 if (!SWIG_IsOK(res1
)) {
4217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4219 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 result
= (arg1
)->GetBitmapHover();
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4226 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4233 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
*resultobj
= 0;
4235 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4236 wxBitmap
*arg2
= 0 ;
4241 PyObject
* obj0
= 0 ;
4242 PyObject
* obj1
= 0 ;
4243 char * kwnames
[] = {
4244 (char *) "self",(char *) "bitmap", NULL
4247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4249 if (!SWIG_IsOK(res1
)) {
4250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4252 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4253 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4254 if (!SWIG_IsOK(res2
)) {
4255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4260 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 resultobj
= SWIG_Py_Void();
4274 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
= 0;
4276 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4277 wxBitmap
*arg2
= 0 ;
4282 PyObject
* obj0
= 0 ;
4283 PyObject
* obj1
= 0 ;
4284 char * kwnames
[] = {
4285 (char *) "self",(char *) "bitmap", NULL
4288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4290 if (!SWIG_IsOK(res1
)) {
4291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4293 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4294 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4295 if (!SWIG_IsOK(res2
)) {
4296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4301 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4305 wxPyEndAllowThreads(__tstate
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4308 resultobj
= SWIG_Py_Void();
4315 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
*resultobj
= 0;
4317 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4318 wxBitmap
*arg2
= 0 ;
4323 PyObject
* obj0
= 0 ;
4324 PyObject
* obj1
= 0 ;
4325 char * kwnames
[] = {
4326 (char *) "self",(char *) "bitmap", NULL
4329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4331 if (!SWIG_IsOK(res1
)) {
4332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4334 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4336 if (!SWIG_IsOK(res2
)) {
4337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4342 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4349 resultobj
= SWIG_Py_Void();
4356 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
= 0;
4358 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4359 wxBitmap
*arg2
= 0 ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4366 char * kwnames
[] = {
4367 (char *) "self",(char *) "bitmap", NULL
4370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4372 if (!SWIG_IsOK(res1
)) {
4373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4375 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4376 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4377 if (!SWIG_IsOK(res2
)) {
4378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4383 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4390 resultobj
= SWIG_Py_Void();
4397 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
= 0;
4399 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4400 wxBitmap
*arg2
= 0 ;
4405 PyObject
* obj0
= 0 ;
4406 PyObject
* obj1
= 0 ;
4407 char * kwnames
[] = {
4408 (char *) "self",(char *) "hover", NULL
4411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4413 if (!SWIG_IsOK(res1
)) {
4414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4416 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4417 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4418 if (!SWIG_IsOK(res2
)) {
4419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4422 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4424 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 resultobj
= SWIG_Py_Void();
4438 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
*resultobj
= 0;
4440 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4449 PyObject
* obj0
= 0 ;
4450 PyObject
* obj1
= 0 ;
4451 PyObject
* obj2
= 0 ;
4452 char * kwnames
[] = {
4453 (char *) "self",(char *) "x",(char *) "y", NULL
4456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4458 if (!SWIG_IsOK(res1
)) {
4459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4461 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4463 if (!SWIG_IsOK(ecode2
)) {
4464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4466 arg2
= static_cast< int >(val2
);
4467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4468 if (!SWIG_IsOK(ecode3
)) {
4469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4471 arg3
= static_cast< int >(val3
);
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 (arg1
)->SetMargins(arg2
,arg3
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= SWIG_Py_Void();
4485 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4486 PyObject
*resultobj
= 0;
4487 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4491 PyObject
*swig_obj
[1] ;
4493 if (!args
) SWIG_fail
;
4495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4496 if (!SWIG_IsOK(res1
)) {
4497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4499 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= SWIG_From_int(static_cast< int >(result
));
4513 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4514 PyObject
*resultobj
= 0;
4515 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4519 PyObject
*swig_obj
[1] ;
4521 if (!args
) SWIG_fail
;
4523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4524 if (!SWIG_IsOK(res1
)) {
4525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4527 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4534 resultobj
= SWIG_From_int(static_cast< int >(result
));
4541 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4544 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4545 return SWIG_Py_Void();
4548 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4549 return SWIG_Python_InitShadowInstance(args
);
4552 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4553 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4558 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4559 PyObject
*pyobj
= 0;
4563 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4565 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4572 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
= 0;
4574 wxWindow
*arg1
= (wxWindow
*) 0 ;
4575 int arg2
= (int) -1 ;
4576 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4577 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4578 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4579 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4580 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4581 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4582 long arg6
= (long) 0 ;
4583 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4584 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4585 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4586 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4587 wxCheckBox
*result
= 0 ;
4592 bool temp3
= false ;
4599 bool temp8
= false ;
4600 PyObject
* obj0
= 0 ;
4601 PyObject
* obj1
= 0 ;
4602 PyObject
* obj2
= 0 ;
4603 PyObject
* obj3
= 0 ;
4604 PyObject
* obj4
= 0 ;
4605 PyObject
* obj5
= 0 ;
4606 PyObject
* obj6
= 0 ;
4607 PyObject
* obj7
= 0 ;
4608 char * kwnames
[] = {
4609 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4614 if (!SWIG_IsOK(res1
)) {
4615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4617 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4620 if (!SWIG_IsOK(ecode2
)) {
4621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4623 arg2
= static_cast< int >(val2
);
4627 arg3
= wxString_in_helper(obj2
);
4628 if (arg3
== NULL
) SWIG_fail
;
4635 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4641 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4645 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4646 if (!SWIG_IsOK(ecode6
)) {
4647 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4649 arg6
= static_cast< long >(val6
);
4652 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4653 if (!SWIG_IsOK(res7
)) {
4654 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4659 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4663 arg8
= wxString_in_helper(obj7
);
4664 if (arg8
== NULL
) SWIG_fail
;
4669 if (!wxPyCheckForApp()) SWIG_fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4698 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4699 PyObject
*resultobj
= 0;
4700 wxCheckBox
*result
= 0 ;
4702 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4704 if (!wxPyCheckForApp()) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 result
= (wxCheckBox
*)new wxCheckBox();
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4717 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
*resultobj
= 0;
4719 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4720 wxWindow
*arg2
= (wxWindow
*) 0 ;
4721 int arg3
= (int) -1 ;
4722 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4723 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4724 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4725 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4726 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4727 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4728 long arg7
= (long) 0 ;
4729 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4730 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4731 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4732 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4740 bool temp4
= false ;
4747 bool temp9
= false ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4750 PyObject
* obj2
= 0 ;
4751 PyObject
* obj3
= 0 ;
4752 PyObject
* obj4
= 0 ;
4753 PyObject
* obj5
= 0 ;
4754 PyObject
* obj6
= 0 ;
4755 PyObject
* obj7
= 0 ;
4756 PyObject
* obj8
= 0 ;
4757 char * kwnames
[] = {
4758 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4763 if (!SWIG_IsOK(res1
)) {
4764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4766 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4768 if (!SWIG_IsOK(res2
)) {
4769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4771 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4774 if (!SWIG_IsOK(ecode3
)) {
4775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4777 arg3
= static_cast< int >(val3
);
4781 arg4
= wxString_in_helper(obj3
);
4782 if (arg4
== NULL
) SWIG_fail
;
4789 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4795 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4799 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4800 if (!SWIG_IsOK(ecode7
)) {
4801 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4803 arg7
= static_cast< long >(val7
);
4806 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4807 if (!SWIG_IsOK(res8
)) {
4808 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4813 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4817 arg9
= wxString_in_helper(obj8
);
4818 if (arg9
== NULL
) SWIG_fail
;
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4853 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4854 PyObject
*resultobj
= 0;
4855 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4859 PyObject
*swig_obj
[1] ;
4861 if (!args
) SWIG_fail
;
4863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4864 if (!SWIG_IsOK(res1
)) {
4865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4867 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 result
= (bool)(arg1
)->GetValue();
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4883 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4884 PyObject
*resultobj
= 0;
4885 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4889 PyObject
*swig_obj
[1] ;
4891 if (!args
) SWIG_fail
;
4893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4894 if (!SWIG_IsOK(res1
)) {
4895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4897 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= (bool)(arg1
)->IsChecked();
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4913 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
= 0;
4915 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4921 PyObject
* obj0
= 0 ;
4922 PyObject
* obj1
= 0 ;
4923 char * kwnames
[] = {
4924 (char *) "self",(char *) "state", NULL
4927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4929 if (!SWIG_IsOK(res1
)) {
4930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4932 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4933 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4934 if (!SWIG_IsOK(ecode2
)) {
4935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4937 arg2
= static_cast< bool >(val2
);
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 (arg1
)->SetValue(arg2
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= SWIG_Py_Void();
4951 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4952 PyObject
*resultobj
= 0;
4953 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4954 wxCheckBoxState result
;
4957 PyObject
*swig_obj
[1] ;
4959 if (!args
) SWIG_fail
;
4961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4962 if (!SWIG_IsOK(res1
)) {
4963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4965 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 resultobj
= SWIG_From_int(static_cast< int >(result
));
4979 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
*resultobj
= 0;
4981 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4982 wxCheckBoxState arg2
;
4987 PyObject
* obj0
= 0 ;
4988 PyObject
* obj1
= 0 ;
4989 char * kwnames
[] = {
4990 (char *) "self",(char *) "state", NULL
4993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4995 if (!SWIG_IsOK(res1
)) {
4996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4998 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5000 if (!SWIG_IsOK(ecode2
)) {
5001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5003 arg2
= static_cast< wxCheckBoxState
>(val2
);
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 (arg1
)->Set3StateValue(arg2
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_Py_Void();
5017 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5018 PyObject
*resultobj
= 0;
5019 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5023 PyObject
*swig_obj
[1] ;
5025 if (!args
) SWIG_fail
;
5027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5028 if (!SWIG_IsOK(res1
)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5031 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5047 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5048 PyObject
*resultobj
= 0;
5049 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5053 PyObject
*swig_obj
[1] ;
5055 if (!args
) SWIG_fail
;
5057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5058 if (!SWIG_IsOK(res1
)) {
5059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5061 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5077 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
= 0;
5079 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5080 SwigValueWrapper
<wxVisualAttributes
> result
;
5083 PyObject
* obj0
= 0 ;
5084 char * kwnames
[] = {
5085 (char *) "variant", NULL
5088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5090 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5091 if (!SWIG_IsOK(ecode1
)) {
5092 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5094 arg1
= static_cast< wxWindowVariant
>(val1
);
5097 if (!wxPyCheckForApp()) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5110 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5112 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5113 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5114 return SWIG_Py_Void();
5117 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5118 return SWIG_Python_InitShadowInstance(args
);
5121 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5122 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5127 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5128 PyObject
*pyobj
= 0;
5132 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5134 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5141 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
= 0;
5143 wxWindow
*arg1
= (wxWindow
*) 0 ;
5144 int arg2
= (int) -1 ;
5145 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5146 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5147 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5148 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5149 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5150 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5151 long arg6
= (long) 0 ;
5152 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5153 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5154 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5155 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5156 wxChoice
*result
= 0 ;
5163 bool temp5
= false ;
5168 bool temp8
= false ;
5169 PyObject
* obj0
= 0 ;
5170 PyObject
* obj1
= 0 ;
5171 PyObject
* obj2
= 0 ;
5172 PyObject
* obj3
= 0 ;
5173 PyObject
* obj4
= 0 ;
5174 PyObject
* obj5
= 0 ;
5175 PyObject
* obj6
= 0 ;
5176 PyObject
* obj7
= 0 ;
5177 char * kwnames
[] = {
5178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5183 if (!SWIG_IsOK(res1
)) {
5184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5186 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5189 if (!SWIG_IsOK(ecode2
)) {
5190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5192 arg2
= static_cast< int >(val2
);
5197 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5203 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5208 if (! PySequence_Check(obj4
)) {
5209 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5212 arg5
= new wxArrayString
;
5214 int i
, len
=PySequence_Length(obj4
);
5215 for (i
=0; i
<len
; i
++) {
5216 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5217 wxString
* s
= wxString_in_helper(item
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5226 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5227 if (!SWIG_IsOK(ecode6
)) {
5228 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5230 arg6
= static_cast< long >(val6
);
5233 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5234 if (!SWIG_IsOK(res7
)) {
5235 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5240 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5244 arg8
= wxString_in_helper(obj7
);
5245 if (arg8
== NULL
) SWIG_fail
;
5250 if (!wxPyCheckForApp()) SWIG_fail
;
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5258 if (temp5
) delete arg5
;
5267 if (temp5
) delete arg5
;
5277 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 PyObject
*resultobj
= 0;
5279 wxChoice
*result
= 0 ;
5281 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5283 if (!wxPyCheckForApp()) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 result
= (wxChoice
*)new wxChoice();
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5296 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
= 0;
5298 wxChoice
*arg1
= (wxChoice
*) 0 ;
5299 wxWindow
*arg2
= (wxWindow
*) 0 ;
5300 int arg3
= (int) -1 ;
5301 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5302 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5303 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5304 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5305 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5306 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5307 long arg7
= (long) 0 ;
5308 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5309 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5310 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5311 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5321 bool temp6
= false ;
5326 bool temp9
= false ;
5327 PyObject
* obj0
= 0 ;
5328 PyObject
* obj1
= 0 ;
5329 PyObject
* obj2
= 0 ;
5330 PyObject
* obj3
= 0 ;
5331 PyObject
* obj4
= 0 ;
5332 PyObject
* obj5
= 0 ;
5333 PyObject
* obj6
= 0 ;
5334 PyObject
* obj7
= 0 ;
5335 PyObject
* obj8
= 0 ;
5336 char * kwnames
[] = {
5337 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5342 if (!SWIG_IsOK(res1
)) {
5343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5345 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5346 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5347 if (!SWIG_IsOK(res2
)) {
5348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5350 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5353 if (!SWIG_IsOK(ecode3
)) {
5354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5356 arg3
= static_cast< int >(val3
);
5361 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5367 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5372 if (! PySequence_Check(obj5
)) {
5373 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5376 arg6
= new wxArrayString
;
5378 int i
, len
=PySequence_Length(obj5
);
5379 for (i
=0; i
<len
; i
++) {
5380 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5381 wxString
* s
= wxString_in_helper(item
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5390 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5391 if (!SWIG_IsOK(ecode7
)) {
5392 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5394 arg7
= static_cast< long >(val7
);
5397 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5398 if (!SWIG_IsOK(res8
)) {
5399 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5404 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5408 arg9
= wxString_in_helper(obj8
);
5409 if (arg9
== NULL
) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5423 if (temp6
) delete arg6
;
5432 if (temp6
) delete arg6
;
5442 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5443 PyObject
*resultobj
= 0;
5444 wxChoice
*arg1
= (wxChoice
*) 0 ;
5448 PyObject
*swig_obj
[1] ;
5450 if (!args
) SWIG_fail
;
5452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5453 if (!SWIG_IsOK(res1
)) {
5454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5456 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= SWIG_From_int(static_cast< int >(result
));
5470 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
= 0;
5472 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5473 SwigValueWrapper
<wxVisualAttributes
> result
;
5476 PyObject
* obj0
= 0 ;
5477 char * kwnames
[] = {
5478 (char *) "variant", NULL
5481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5483 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5484 if (!SWIG_IsOK(ecode1
)) {
5485 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5487 arg1
= static_cast< wxWindowVariant
>(val1
);
5490 if (!wxPyCheckForApp()) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5503 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5506 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5507 return SWIG_Py_Void();
5510 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5511 return SWIG_Python_InitShadowInstance(args
);
5514 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5515 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5520 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5521 PyObject
*pyobj
= 0;
5525 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5527 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5534 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
= 0;
5536 wxWindow
*arg1
= (wxWindow
*) 0 ;
5537 int arg2
= (int) -1 ;
5538 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5539 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5540 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5541 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5542 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5543 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5544 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5545 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5546 long arg7
= (long) 0 ;
5547 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5548 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5549 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5550 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5551 wxComboBox
*result
= 0 ;
5556 bool temp3
= false ;
5559 bool temp6
= false ;
5564 bool temp9
= false ;
5565 PyObject
* obj0
= 0 ;
5566 PyObject
* obj1
= 0 ;
5567 PyObject
* obj2
= 0 ;
5568 PyObject
* obj3
= 0 ;
5569 PyObject
* obj4
= 0 ;
5570 PyObject
* obj5
= 0 ;
5571 PyObject
* obj6
= 0 ;
5572 PyObject
* obj7
= 0 ;
5573 PyObject
* obj8
= 0 ;
5574 char * kwnames
[] = {
5575 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5580 if (!SWIG_IsOK(res1
)) {
5581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5583 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5586 if (!SWIG_IsOK(ecode2
)) {
5587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5589 arg2
= static_cast< int >(val2
);
5593 arg3
= wxString_in_helper(obj2
);
5594 if (arg3
== NULL
) SWIG_fail
;
5601 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5607 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5612 if (! PySequence_Check(obj5
)) {
5613 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5616 arg6
= new wxArrayString
;
5618 int i
, len
=PySequence_Length(obj5
);
5619 for (i
=0; i
<len
; i
++) {
5620 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5621 wxString
* s
= wxString_in_helper(item
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5630 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5631 if (!SWIG_IsOK(ecode7
)) {
5632 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5634 arg7
= static_cast< long >(val7
);
5637 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5638 if (!SWIG_IsOK(res8
)) {
5639 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5644 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5648 arg9
= wxString_in_helper(obj8
);
5649 if (arg9
== NULL
) SWIG_fail
;
5654 if (!wxPyCheckForApp()) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5666 if (temp6
) delete arg6
;
5679 if (temp6
) delete arg6
;
5689 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5690 PyObject
*resultobj
= 0;
5691 wxComboBox
*result
= 0 ;
5693 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5695 if (!wxPyCheckForApp()) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 result
= (wxComboBox
*)new wxComboBox();
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5708 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
= 0;
5710 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5711 wxWindow
*arg2
= (wxWindow
*) 0 ;
5712 int arg3
= (int) -1 ;
5713 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5714 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5715 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5716 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5717 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5718 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5719 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5720 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5721 long arg8
= (long) 0 ;
5722 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5723 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5724 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5725 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5733 bool temp4
= false ;
5736 bool temp7
= false ;
5741 bool temp10
= false ;
5742 PyObject
* obj0
= 0 ;
5743 PyObject
* obj1
= 0 ;
5744 PyObject
* obj2
= 0 ;
5745 PyObject
* obj3
= 0 ;
5746 PyObject
* obj4
= 0 ;
5747 PyObject
* obj5
= 0 ;
5748 PyObject
* obj6
= 0 ;
5749 PyObject
* obj7
= 0 ;
5750 PyObject
* obj8
= 0 ;
5751 PyObject
* obj9
= 0 ;
5752 char * kwnames
[] = {
5753 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5758 if (!SWIG_IsOK(res1
)) {
5759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5761 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5762 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5763 if (!SWIG_IsOK(res2
)) {
5764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5766 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5769 if (!SWIG_IsOK(ecode3
)) {
5770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5772 arg3
= static_cast< int >(val3
);
5776 arg4
= wxString_in_helper(obj3
);
5777 if (arg4
== NULL
) SWIG_fail
;
5784 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5790 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5795 if (! PySequence_Check(obj6
)) {
5796 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5799 arg7
= new wxArrayString
;
5801 int i
, len
=PySequence_Length(obj6
);
5802 for (i
=0; i
<len
; i
++) {
5803 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5804 wxString
* s
= wxString_in_helper(item
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5813 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5814 if (!SWIG_IsOK(ecode8
)) {
5815 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5817 arg8
= static_cast< long >(val8
);
5820 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5821 if (!SWIG_IsOK(res9
)) {
5822 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5827 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5831 arg10
= wxString_in_helper(obj9
);
5832 if (arg10
== NULL
) SWIG_fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5850 if (temp7
) delete arg7
;
5863 if (temp7
) delete arg7
;
5873 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5874 PyObject
*resultobj
= 0;
5875 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5879 PyObject
*swig_obj
[1] ;
5881 if (!args
) SWIG_fail
;
5883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5884 if (!SWIG_IsOK(res1
)) {
5885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5887 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 result
= ((wxComboBox
const *)arg1
)->GetValue();
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5907 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
= 0;
5909 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5910 wxString
*arg2
= 0 ;
5913 bool temp2
= false ;
5914 PyObject
* obj0
= 0 ;
5915 PyObject
* obj1
= 0 ;
5916 char * kwnames
[] = {
5917 (char *) "self",(char *) "value", NULL
5920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5922 if (!SWIG_IsOK(res1
)) {
5923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5925 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5927 arg2
= wxString_in_helper(obj1
);
5928 if (arg2
== NULL
) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 (arg1
)->SetValue((wxString
const &)*arg2
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= SWIG_Py_Void();
5952 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5953 PyObject
*resultobj
= 0;
5954 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5957 PyObject
*swig_obj
[1] ;
5959 if (!args
) SWIG_fail
;
5961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5962 if (!SWIG_IsOK(res1
)) {
5963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5965 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= SWIG_Py_Void();
5979 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5980 PyObject
*resultobj
= 0;
5981 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5984 PyObject
*swig_obj
[1] ;
5986 if (!args
) SWIG_fail
;
5988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5989 if (!SWIG_IsOK(res1
)) {
5990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5992 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_Py_Void();
6006 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6007 PyObject
*resultobj
= 0;
6008 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6011 PyObject
*swig_obj
[1] ;
6013 if (!args
) SWIG_fail
;
6015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6016 if (!SWIG_IsOK(res1
)) {
6017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6019 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= SWIG_Py_Void();
6033 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
= 0;
6035 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6041 PyObject
* obj0
= 0 ;
6042 PyObject
* obj1
= 0 ;
6043 char * kwnames
[] = {
6044 (char *) "self",(char *) "pos", NULL
6047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6049 if (!SWIG_IsOK(res1
)) {
6050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6052 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6053 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6054 if (!SWIG_IsOK(ecode2
)) {
6055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6057 arg2
= static_cast< long >(val2
);
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 (arg1
)->SetInsertionPoint(arg2
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= SWIG_Py_Void();
6071 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6072 PyObject
*resultobj
= 0;
6073 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6077 PyObject
*swig_obj
[1] ;
6079 if (!args
) SWIG_fail
;
6081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6082 if (!SWIG_IsOK(res1
)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6085 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_From_long(static_cast< long >(result
));
6099 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6100 PyObject
*resultobj
= 0;
6101 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6105 PyObject
*swig_obj
[1] ;
6107 if (!args
) SWIG_fail
;
6109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6110 if (!SWIG_IsOK(res1
)) {
6111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6113 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= SWIG_From_long(static_cast< long >(result
));
6127 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
= 0;
6129 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6132 wxString
*arg4
= 0 ;
6139 bool temp4
= false ;
6140 PyObject
* obj0
= 0 ;
6141 PyObject
* obj1
= 0 ;
6142 PyObject
* obj2
= 0 ;
6143 PyObject
* obj3
= 0 ;
6144 char * kwnames
[] = {
6145 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6150 if (!SWIG_IsOK(res1
)) {
6151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6153 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6154 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6155 if (!SWIG_IsOK(ecode2
)) {
6156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6158 arg2
= static_cast< long >(val2
);
6159 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6160 if (!SWIG_IsOK(ecode3
)) {
6161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6163 arg3
= static_cast< long >(val3
);
6165 arg4
= wxString_in_helper(obj3
);
6166 if (arg4
== NULL
) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= SWIG_Py_Void();
6190 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
= 0;
6192 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6203 PyObject
* obj2
= 0 ;
6204 char * kwnames
[] = {
6205 (char *) "self",(char *) "from",(char *) "to", NULL
6208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6210 if (!SWIG_IsOK(res1
)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6213 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6214 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6215 if (!SWIG_IsOK(ecode2
)) {
6216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6218 arg2
= static_cast< long >(val2
);
6219 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6220 if (!SWIG_IsOK(ecode3
)) {
6221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6223 arg3
= static_cast< long >(val3
);
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 (arg1
)->SetSelection(arg2
,arg3
);
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6230 resultobj
= SWIG_Py_Void();
6237 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6238 PyObject
*resultobj
= 0;
6239 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6243 PyObject
*swig_obj
[1] ;
6245 if (!args
) SWIG_fail
;
6247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6248 if (!SWIG_IsOK(res1
)) {
6249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6251 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= SWIG_From_int(static_cast< int >(result
));
6265 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
= 0;
6267 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6268 wxString
*arg2
= 0 ;
6272 bool temp2
= false ;
6273 PyObject
* obj0
= 0 ;
6274 PyObject
* obj1
= 0 ;
6275 char * kwnames
[] = {
6276 (char *) "self",(char *) "string", NULL
6279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6281 if (!SWIG_IsOK(res1
)) {
6282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6284 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6286 arg2
= wxString_in_helper(obj1
);
6287 if (arg2
== NULL
) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6313 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
*resultobj
= 0;
6315 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6323 char * kwnames
[] = {
6324 (char *) "self",(char *) "editable", NULL
6327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6329 if (!SWIG_IsOK(res1
)) {
6330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6332 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6333 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6334 if (!SWIG_IsOK(ecode2
)) {
6335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6337 arg2
= static_cast< bool >(val2
);
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 (arg1
)->SetEditable(arg2
);
6341 wxPyEndAllowThreads(__tstate
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6344 resultobj
= SWIG_Py_Void();
6351 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6352 PyObject
*resultobj
= 0;
6353 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6356 PyObject
*swig_obj
[1] ;
6358 if (!args
) SWIG_fail
;
6360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6361 if (!SWIG_IsOK(res1
)) {
6362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6364 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 (arg1
)->SetInsertionPointEnd();
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 resultobj
= SWIG_Py_Void();
6378 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
= 0;
6380 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6389 PyObject
* obj0
= 0 ;
6390 PyObject
* obj1
= 0 ;
6391 PyObject
* obj2
= 0 ;
6392 char * kwnames
[] = {
6393 (char *) "self",(char *) "from",(char *) "to", NULL
6396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6398 if (!SWIG_IsOK(res1
)) {
6399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6401 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6402 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6403 if (!SWIG_IsOK(ecode2
)) {
6404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6406 arg2
= static_cast< long >(val2
);
6407 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6408 if (!SWIG_IsOK(ecode3
)) {
6409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6411 arg3
= static_cast< long >(val3
);
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 (arg1
)->Remove(arg2
,arg3
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 resultobj
= SWIG_Py_Void();
6425 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6426 PyObject
*resultobj
= 0;
6427 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6431 PyObject
*swig_obj
[1] ;
6433 if (!args
) SWIG_fail
;
6435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6436 if (!SWIG_IsOK(res1
)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6439 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6455 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6456 PyObject
*resultobj
= 0;
6457 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6460 PyObject
*swig_obj
[1] ;
6462 if (!args
) SWIG_fail
;
6464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6465 if (!SWIG_IsOK(res1
)) {
6466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6468 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6475 resultobj
= SWIG_Py_Void();
6482 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6483 PyObject
*resultobj
= 0;
6484 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6487 PyObject
*swig_obj
[1] ;
6489 if (!args
) SWIG_fail
;
6491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6492 if (!SWIG_IsOK(res1
)) {
6493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6495 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6502 resultobj
= SWIG_Py_Void();
6509 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6510 PyObject
*resultobj
= 0;
6511 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6514 PyObject
*swig_obj
[1] ;
6516 if (!args
) SWIG_fail
;
6518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6519 if (!SWIG_IsOK(res1
)) {
6520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6522 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 (arg1
)->SelectAll();
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= SWIG_Py_Void();
6536 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6537 PyObject
*resultobj
= 0;
6538 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6542 PyObject
*swig_obj
[1] ;
6544 if (!args
) SWIG_fail
;
6546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6547 if (!SWIG_IsOK(res1
)) {
6548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6550 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6566 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6567 PyObject
*resultobj
= 0;
6568 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6572 PyObject
*swig_obj
[1] ;
6574 if (!args
) SWIG_fail
;
6576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6577 if (!SWIG_IsOK(res1
)) {
6578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6580 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6596 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6597 PyObject
*resultobj
= 0;
6598 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6602 PyObject
*swig_obj
[1] ;
6604 if (!args
) SWIG_fail
;
6606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6607 if (!SWIG_IsOK(res1
)) {
6608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6610 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6614 wxPyEndAllowThreads(__tstate
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6626 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6627 PyObject
*resultobj
= 0;
6628 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6632 PyObject
*swig_obj
[1] ;
6634 if (!args
) SWIG_fail
;
6636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6637 if (!SWIG_IsOK(res1
)) {
6638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6640 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6656 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6657 PyObject
*resultobj
= 0;
6658 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6662 PyObject
*swig_obj
[1] ;
6664 if (!args
) SWIG_fail
;
6666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6667 if (!SWIG_IsOK(res1
)) {
6668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6670 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6686 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
= 0;
6688 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6689 SwigValueWrapper
<wxVisualAttributes
> result
;
6692 PyObject
* obj0
= 0 ;
6693 char * kwnames
[] = {
6694 (char *) "variant", NULL
6697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6699 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6700 if (!SWIG_IsOK(ecode1
)) {
6701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6703 arg1
= static_cast< wxWindowVariant
>(val1
);
6706 if (!wxPyCheckForApp()) SWIG_fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6719 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6722 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6723 return SWIG_Py_Void();
6726 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6727 return SWIG_Python_InitShadowInstance(args
);
6730 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6731 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6736 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6737 PyObject
*pyobj
= 0;
6741 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6743 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6750 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
= 0;
6752 wxWindow
*arg1
= (wxWindow
*) 0 ;
6753 int arg2
= (int) -1 ;
6754 int arg3
= (int) 100 ;
6755 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6756 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6757 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6758 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6759 long arg6
= (long) wxGA_HORIZONTAL
;
6760 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6761 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6762 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6763 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6764 wxGauge
*result
= 0 ;
6777 bool temp8
= false ;
6778 PyObject
* obj0
= 0 ;
6779 PyObject
* obj1
= 0 ;
6780 PyObject
* obj2
= 0 ;
6781 PyObject
* obj3
= 0 ;
6782 PyObject
* obj4
= 0 ;
6783 PyObject
* obj5
= 0 ;
6784 PyObject
* obj6
= 0 ;
6785 PyObject
* obj7
= 0 ;
6786 char * kwnames
[] = {
6787 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6792 if (!SWIG_IsOK(res1
)) {
6793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6798 if (!SWIG_IsOK(ecode2
)) {
6799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6801 arg2
= static_cast< int >(val2
);
6804 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6805 if (!SWIG_IsOK(ecode3
)) {
6806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6808 arg3
= static_cast< int >(val3
);
6813 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6819 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6823 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6824 if (!SWIG_IsOK(ecode6
)) {
6825 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6827 arg6
= static_cast< long >(val6
);
6830 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6831 if (!SWIG_IsOK(res7
)) {
6832 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6837 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6841 arg8
= wxString_in_helper(obj7
);
6842 if (arg8
== NULL
) SWIG_fail
;
6847 if (!wxPyCheckForApp()) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6868 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6869 PyObject
*resultobj
= 0;
6870 wxGauge
*result
= 0 ;
6872 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6874 if (!wxPyCheckForApp()) SWIG_fail
;
6875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 result
= (wxGauge
*)new wxGauge();
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6887 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
= 0;
6889 wxGauge
*arg1
= (wxGauge
*) 0 ;
6890 wxWindow
*arg2
= (wxWindow
*) 0 ;
6891 int arg3
= (int) -1 ;
6892 int arg4
= (int) 100 ;
6893 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6894 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6895 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6896 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6897 long arg7
= (long) wxGA_HORIZONTAL
;
6898 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6899 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6900 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6901 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6917 bool temp9
= false ;
6918 PyObject
* obj0
= 0 ;
6919 PyObject
* obj1
= 0 ;
6920 PyObject
* obj2
= 0 ;
6921 PyObject
* obj3
= 0 ;
6922 PyObject
* obj4
= 0 ;
6923 PyObject
* obj5
= 0 ;
6924 PyObject
* obj6
= 0 ;
6925 PyObject
* obj7
= 0 ;
6926 PyObject
* obj8
= 0 ;
6927 char * kwnames
[] = {
6928 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6933 if (!SWIG_IsOK(res1
)) {
6934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6936 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6938 if (!SWIG_IsOK(res2
)) {
6939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6941 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6944 if (!SWIG_IsOK(ecode3
)) {
6945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6947 arg3
= static_cast< int >(val3
);
6950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6951 if (!SWIG_IsOK(ecode4
)) {
6952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6954 arg4
= static_cast< int >(val4
);
6959 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6965 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6969 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6970 if (!SWIG_IsOK(ecode7
)) {
6971 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6973 arg7
= static_cast< long >(val7
);
6976 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6977 if (!SWIG_IsOK(res8
)) {
6978 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6983 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6987 arg9
= wxString_in_helper(obj8
);
6988 if (arg9
== NULL
) SWIG_fail
;
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7015 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
= 0;
7017 wxGauge
*arg1
= (wxGauge
*) 0 ;
7023 PyObject
* obj0
= 0 ;
7024 PyObject
* obj1
= 0 ;
7025 char * kwnames
[] = {
7026 (char *) "self",(char *) "range", NULL
7029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7031 if (!SWIG_IsOK(res1
)) {
7032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7034 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7036 if (!SWIG_IsOK(ecode2
)) {
7037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7039 arg2
= static_cast< int >(val2
);
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 (arg1
)->SetRange(arg2
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7046 resultobj
= SWIG_Py_Void();
7053 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7054 PyObject
*resultobj
= 0;
7055 wxGauge
*arg1
= (wxGauge
*) 0 ;
7059 PyObject
*swig_obj
[1] ;
7061 if (!args
) SWIG_fail
;
7063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7064 if (!SWIG_IsOK(res1
)) {
7065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7067 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= SWIG_From_int(static_cast< int >(result
));
7081 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
= 0;
7083 wxGauge
*arg1
= (wxGauge
*) 0 ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7091 char * kwnames
[] = {
7092 (char *) "self",(char *) "pos", NULL
7095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7097 if (!SWIG_IsOK(res1
)) {
7098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7100 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7102 if (!SWIG_IsOK(ecode2
)) {
7103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7105 arg2
= static_cast< int >(val2
);
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 (arg1
)->SetValue(arg2
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 resultobj
= SWIG_Py_Void();
7119 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7120 PyObject
*resultobj
= 0;
7121 wxGauge
*arg1
= (wxGauge
*) 0 ;
7125 PyObject
*swig_obj
[1] ;
7127 if (!args
) SWIG_fail
;
7129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7130 if (!SWIG_IsOK(res1
)) {
7131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7133 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= SWIG_From_int(static_cast< int >(result
));
7147 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7148 PyObject
*resultobj
= 0;
7149 wxGauge
*arg1
= (wxGauge
*) 0 ;
7152 PyObject
*swig_obj
[1] ;
7154 if (!args
) SWIG_fail
;
7156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7157 if (!SWIG_IsOK(res1
)) {
7158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7160 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= SWIG_Py_Void();
7174 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7175 PyObject
*resultobj
= 0;
7176 wxGauge
*arg1
= (wxGauge
*) 0 ;
7180 PyObject
*swig_obj
[1] ;
7182 if (!args
) SWIG_fail
;
7184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7185 if (!SWIG_IsOK(res1
)) {
7186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7188 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7204 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
= 0;
7206 wxGauge
*arg1
= (wxGauge
*) 0 ;
7212 PyObject
* obj0
= 0 ;
7213 PyObject
* obj1
= 0 ;
7214 char * kwnames
[] = {
7215 (char *) "self",(char *) "w", NULL
7218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7220 if (!SWIG_IsOK(res1
)) {
7221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7223 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7225 if (!SWIG_IsOK(ecode2
)) {
7226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7228 arg2
= static_cast< int >(val2
);
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 (arg1
)->SetShadowWidth(arg2
);
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 resultobj
= SWIG_Py_Void();
7242 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7243 PyObject
*resultobj
= 0;
7244 wxGauge
*arg1
= (wxGauge
*) 0 ;
7248 PyObject
*swig_obj
[1] ;
7250 if (!args
) SWIG_fail
;
7252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7253 if (!SWIG_IsOK(res1
)) {
7254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7256 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 resultobj
= SWIG_From_int(static_cast< int >(result
));
7270 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
= 0;
7272 wxGauge
*arg1
= (wxGauge
*) 0 ;
7278 PyObject
* obj0
= 0 ;
7279 PyObject
* obj1
= 0 ;
7280 char * kwnames
[] = {
7281 (char *) "self",(char *) "w", NULL
7284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7286 if (!SWIG_IsOK(res1
)) {
7287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7289 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7291 if (!SWIG_IsOK(ecode2
)) {
7292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7294 arg2
= static_cast< int >(val2
);
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 (arg1
)->SetBezelFace(arg2
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 resultobj
= SWIG_Py_Void();
7308 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7309 PyObject
*resultobj
= 0;
7310 wxGauge
*arg1
= (wxGauge
*) 0 ;
7314 PyObject
*swig_obj
[1] ;
7316 if (!args
) SWIG_fail
;
7318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7319 if (!SWIG_IsOK(res1
)) {
7320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7322 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= SWIG_From_int(static_cast< int >(result
));
7336 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
*resultobj
= 0;
7338 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7339 SwigValueWrapper
<wxVisualAttributes
> result
;
7342 PyObject
* obj0
= 0 ;
7343 char * kwnames
[] = {
7344 (char *) "variant", NULL
7347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7349 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7350 if (!SWIG_IsOK(ecode1
)) {
7351 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7353 arg1
= static_cast< wxWindowVariant
>(val1
);
7356 if (!wxPyCheckForApp()) SWIG_fail
;
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7362 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7369 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7372 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7373 return SWIG_Py_Void();
7376 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7377 return SWIG_Python_InitShadowInstance(args
);
7380 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7381 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7386 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7387 PyObject
*pyobj
= 0;
7391 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7393 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7400 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7401 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7406 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7407 PyObject
*pyobj
= 0;
7411 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7413 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7420 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7421 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7426 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7427 PyObject
*pyobj
= 0;
7431 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7433 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7440 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7441 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7446 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7447 PyObject
*pyobj
= 0;
7451 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7453 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7460 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
= 0;
7462 wxWindow
*arg1
= (wxWindow
*) 0 ;
7463 int arg2
= (int) -1 ;
7464 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7465 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7466 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7467 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7468 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7469 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7470 long arg6
= (long) 0 ;
7471 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7472 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7473 wxStaticBox
*result
= 0 ;
7478 bool temp3
= false ;
7483 bool temp7
= false ;
7484 PyObject
* obj0
= 0 ;
7485 PyObject
* obj1
= 0 ;
7486 PyObject
* obj2
= 0 ;
7487 PyObject
* obj3
= 0 ;
7488 PyObject
* obj4
= 0 ;
7489 PyObject
* obj5
= 0 ;
7490 PyObject
* obj6
= 0 ;
7491 char * kwnames
[] = {
7492 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7497 if (!SWIG_IsOK(res1
)) {
7498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7500 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7503 if (!SWIG_IsOK(ecode2
)) {
7504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7506 arg2
= static_cast< int >(val2
);
7510 arg3
= wxString_in_helper(obj2
);
7511 if (arg3
== NULL
) SWIG_fail
;
7518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7528 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7529 if (!SWIG_IsOK(ecode6
)) {
7530 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7532 arg6
= static_cast< long >(val6
);
7536 arg7
= wxString_in_helper(obj6
);
7537 if (arg7
== NULL
) SWIG_fail
;
7542 if (!wxPyCheckForApp()) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7571 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7572 PyObject
*resultobj
= 0;
7573 wxStaticBox
*result
= 0 ;
7575 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7577 if (!wxPyCheckForApp()) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 result
= (wxStaticBox
*)new wxStaticBox();
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7590 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
= 0;
7592 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7593 wxWindow
*arg2
= (wxWindow
*) 0 ;
7594 int arg3
= (int) -1 ;
7595 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7596 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7597 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7598 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7599 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7600 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7601 long arg7
= (long) 0 ;
7602 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7603 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7611 bool temp4
= false ;
7616 bool temp8
= false ;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7619 PyObject
* obj2
= 0 ;
7620 PyObject
* obj3
= 0 ;
7621 PyObject
* obj4
= 0 ;
7622 PyObject
* obj5
= 0 ;
7623 PyObject
* obj6
= 0 ;
7624 PyObject
* obj7
= 0 ;
7625 char * kwnames
[] = {
7626 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7631 if (!SWIG_IsOK(res1
)) {
7632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7634 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7635 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7636 if (!SWIG_IsOK(res2
)) {
7637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7639 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7642 if (!SWIG_IsOK(ecode3
)) {
7643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7645 arg3
= static_cast< int >(val3
);
7649 arg4
= wxString_in_helper(obj3
);
7650 if (arg4
== NULL
) SWIG_fail
;
7657 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7663 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7667 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7668 if (!SWIG_IsOK(ecode7
)) {
7669 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7671 arg7
= static_cast< long >(val7
);
7675 arg8
= wxString_in_helper(obj7
);
7676 if (arg8
== NULL
) SWIG_fail
;
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7682 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7711 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
= 0;
7713 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7714 SwigValueWrapper
<wxVisualAttributes
> result
;
7717 PyObject
* obj0
= 0 ;
7718 char * kwnames
[] = {
7719 (char *) "variant", NULL
7722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7724 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7725 if (!SWIG_IsOK(ecode1
)) {
7726 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7728 arg1
= static_cast< wxWindowVariant
>(val1
);
7731 if (!wxPyCheckForApp()) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7744 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7747 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7748 return SWIG_Py_Void();
7751 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7752 return SWIG_Python_InitShadowInstance(args
);
7755 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
= 0;
7757 wxWindow
*arg1
= (wxWindow
*) 0 ;
7758 int arg2
= (int) -1 ;
7759 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7760 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7761 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7762 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7763 long arg5
= (long) wxLI_HORIZONTAL
;
7764 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7765 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7766 wxStaticLine
*result
= 0 ;
7775 bool temp6
= false ;
7776 PyObject
* obj0
= 0 ;
7777 PyObject
* obj1
= 0 ;
7778 PyObject
* obj2
= 0 ;
7779 PyObject
* obj3
= 0 ;
7780 PyObject
* obj4
= 0 ;
7781 PyObject
* obj5
= 0 ;
7782 char * kwnames
[] = {
7783 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7788 if (!SWIG_IsOK(res1
)) {
7789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7791 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7794 if (!SWIG_IsOK(ecode2
)) {
7795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7797 arg2
= static_cast< int >(val2
);
7802 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7808 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7812 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7813 if (!SWIG_IsOK(ecode5
)) {
7814 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7816 arg5
= static_cast< long >(val5
);
7820 arg6
= wxString_in_helper(obj5
);
7821 if (arg6
== NULL
) SWIG_fail
;
7826 if (!wxPyCheckForApp()) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7847 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7848 PyObject
*resultobj
= 0;
7849 wxStaticLine
*result
= 0 ;
7851 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7853 if (!wxPyCheckForApp()) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (wxStaticLine
*)new wxStaticLine();
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7866 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
*resultobj
= 0;
7868 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7869 wxWindow
*arg2
= (wxWindow
*) 0 ;
7870 int arg3
= (int) -1 ;
7871 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7872 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7873 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7874 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7875 long arg6
= (long) wxLI_HORIZONTAL
;
7876 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7877 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7889 bool temp7
= false ;
7890 PyObject
* obj0
= 0 ;
7891 PyObject
* obj1
= 0 ;
7892 PyObject
* obj2
= 0 ;
7893 PyObject
* obj3
= 0 ;
7894 PyObject
* obj4
= 0 ;
7895 PyObject
* obj5
= 0 ;
7896 PyObject
* obj6
= 0 ;
7897 char * kwnames
[] = {
7898 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7903 if (!SWIG_IsOK(res1
)) {
7904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7906 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7907 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7908 if (!SWIG_IsOK(res2
)) {
7909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7911 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7914 if (!SWIG_IsOK(ecode3
)) {
7915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7917 arg3
= static_cast< int >(val3
);
7922 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7928 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7932 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7933 if (!SWIG_IsOK(ecode6
)) {
7934 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7936 arg6
= static_cast< long >(val6
);
7940 arg7
= wxString_in_helper(obj6
);
7941 if (arg7
== NULL
) SWIG_fail
;
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7968 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7969 PyObject
*resultobj
= 0;
7970 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7974 PyObject
*swig_obj
[1] ;
7976 if (!args
) SWIG_fail
;
7978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7979 if (!SWIG_IsOK(res1
)) {
7980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7982 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7998 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7999 PyObject
*resultobj
= 0;
8002 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 result
= (int)wxStaticLine::GetDefaultSize();
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= SWIG_From_int(static_cast< int >(result
));
8016 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
= 0;
8018 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8019 SwigValueWrapper
<wxVisualAttributes
> result
;
8022 PyObject
* obj0
= 0 ;
8023 char * kwnames
[] = {
8024 (char *) "variant", NULL
8027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8029 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8030 if (!SWIG_IsOK(ecode1
)) {
8031 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8033 arg1
= static_cast< wxWindowVariant
>(val1
);
8036 if (!wxPyCheckForApp()) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8049 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8052 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8053 return SWIG_Py_Void();
8056 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8057 return SWIG_Python_InitShadowInstance(args
);
8060 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
= 0;
8062 wxWindow
*arg1
= (wxWindow
*) 0 ;
8063 int arg2
= (int) -1 ;
8064 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8065 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8066 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8067 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8068 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8069 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8070 long arg6
= (long) 0 ;
8071 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8072 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8073 wxStaticText
*result
= 0 ;
8078 bool temp3
= false ;
8083 bool temp7
= false ;
8084 PyObject
* obj0
= 0 ;
8085 PyObject
* obj1
= 0 ;
8086 PyObject
* obj2
= 0 ;
8087 PyObject
* obj3
= 0 ;
8088 PyObject
* obj4
= 0 ;
8089 PyObject
* obj5
= 0 ;
8090 PyObject
* obj6
= 0 ;
8091 char * kwnames
[] = {
8092 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8097 if (!SWIG_IsOK(res1
)) {
8098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8100 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8103 if (!SWIG_IsOK(ecode2
)) {
8104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8106 arg2
= static_cast< int >(val2
);
8110 arg3
= wxString_in_helper(obj2
);
8111 if (arg3
== NULL
) SWIG_fail
;
8118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8128 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8129 if (!SWIG_IsOK(ecode6
)) {
8130 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8132 arg6
= static_cast< long >(val6
);
8136 arg7
= wxString_in_helper(obj6
);
8137 if (arg7
== NULL
) SWIG_fail
;
8142 if (!wxPyCheckForApp()) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8171 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8172 PyObject
*resultobj
= 0;
8173 wxStaticText
*result
= 0 ;
8175 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8177 if (!wxPyCheckForApp()) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= (wxStaticText
*)new wxStaticText();
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8190 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
= 0;
8192 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8193 wxWindow
*arg2
= (wxWindow
*) 0 ;
8194 int arg3
= (int) -1 ;
8195 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8196 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8197 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8198 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8199 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8200 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8201 long arg7
= (long) 0 ;
8202 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8203 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8211 bool temp4
= false ;
8216 bool temp8
= false ;
8217 PyObject
* obj0
= 0 ;
8218 PyObject
* obj1
= 0 ;
8219 PyObject
* obj2
= 0 ;
8220 PyObject
* obj3
= 0 ;
8221 PyObject
* obj4
= 0 ;
8222 PyObject
* obj5
= 0 ;
8223 PyObject
* obj6
= 0 ;
8224 PyObject
* obj7
= 0 ;
8225 char * kwnames
[] = {
8226 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8231 if (!SWIG_IsOK(res1
)) {
8232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8234 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8235 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8236 if (!SWIG_IsOK(res2
)) {
8237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8239 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8242 if (!SWIG_IsOK(ecode3
)) {
8243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8245 arg3
= static_cast< int >(val3
);
8249 arg4
= wxString_in_helper(obj3
);
8250 if (arg4
== NULL
) SWIG_fail
;
8257 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8263 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8267 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8268 if (!SWIG_IsOK(ecode7
)) {
8269 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8271 arg7
= static_cast< long >(val7
);
8275 arg8
= wxString_in_helper(obj7
);
8276 if (arg8
== NULL
) SWIG_fail
;
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8311 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
= 0;
8313 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8319 PyObject
* obj0
= 0 ;
8320 PyObject
* obj1
= 0 ;
8321 char * kwnames
[] = {
8322 (char *) "self",(char *) "width", NULL
8325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8327 if (!SWIG_IsOK(res1
)) {
8328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8330 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8332 if (!SWIG_IsOK(ecode2
)) {
8333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8335 arg2
= static_cast< int >(val2
);
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= SWIG_Py_Void();
8349 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
= 0;
8351 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8352 SwigValueWrapper
<wxVisualAttributes
> result
;
8355 PyObject
* obj0
= 0 ;
8356 char * kwnames
[] = {
8357 (char *) "variant", NULL
8360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8362 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8363 if (!SWIG_IsOK(ecode1
)) {
8364 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8366 arg1
= static_cast< wxWindowVariant
>(val1
);
8369 if (!wxPyCheckForApp()) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8382 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8385 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8386 return SWIG_Py_Void();
8389 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8390 return SWIG_Python_InitShadowInstance(args
);
8393 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
= 0;
8395 wxWindow
*arg1
= (wxWindow
*) 0 ;
8396 int arg2
= (int) -1 ;
8397 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8398 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8399 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8400 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8401 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8402 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8403 long arg6
= (long) 0 ;
8404 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8405 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8406 wxStaticBitmap
*result
= 0 ;
8417 bool temp7
= false ;
8418 PyObject
* obj0
= 0 ;
8419 PyObject
* obj1
= 0 ;
8420 PyObject
* obj2
= 0 ;
8421 PyObject
* obj3
= 0 ;
8422 PyObject
* obj4
= 0 ;
8423 PyObject
* obj5
= 0 ;
8424 PyObject
* obj6
= 0 ;
8425 char * kwnames
[] = {
8426 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8431 if (!SWIG_IsOK(res1
)) {
8432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8434 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8437 if (!SWIG_IsOK(ecode2
)) {
8438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8440 arg2
= static_cast< int >(val2
);
8443 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8444 if (!SWIG_IsOK(res3
)) {
8445 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8450 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8455 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8461 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8465 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8466 if (!SWIG_IsOK(ecode6
)) {
8467 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8469 arg6
= static_cast< long >(val6
);
8473 arg7
= wxString_in_helper(obj6
);
8474 if (arg7
== NULL
) SWIG_fail
;
8479 if (!wxPyCheckForApp()) SWIG_fail
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8500 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8501 PyObject
*resultobj
= 0;
8502 wxStaticBitmap
*result
= 0 ;
8504 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8506 if (!wxPyCheckForApp()) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8519 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
= 0;
8521 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8522 wxWindow
*arg2
= (wxWindow
*) 0 ;
8523 int arg3
= (int) -1 ;
8524 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8525 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8526 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8527 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8528 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8529 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8530 long arg7
= (long) 0 ;
8531 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8532 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8546 bool temp8
= false ;
8547 PyObject
* obj0
= 0 ;
8548 PyObject
* obj1
= 0 ;
8549 PyObject
* obj2
= 0 ;
8550 PyObject
* obj3
= 0 ;
8551 PyObject
* obj4
= 0 ;
8552 PyObject
* obj5
= 0 ;
8553 PyObject
* obj6
= 0 ;
8554 PyObject
* obj7
= 0 ;
8555 char * kwnames
[] = {
8556 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8561 if (!SWIG_IsOK(res1
)) {
8562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8564 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8565 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8566 if (!SWIG_IsOK(res2
)) {
8567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8569 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8572 if (!SWIG_IsOK(ecode3
)) {
8573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8575 arg3
= static_cast< int >(val3
);
8578 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8579 if (!SWIG_IsOK(res4
)) {
8580 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8585 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8590 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8596 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8600 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8601 if (!SWIG_IsOK(ecode7
)) {
8602 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8604 arg7
= static_cast< long >(val7
);
8608 arg8
= wxString_in_helper(obj7
);
8609 if (arg8
== NULL
) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8636 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8637 PyObject
*resultobj
= 0;
8638 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8642 PyObject
*swig_obj
[1] ;
8644 if (!args
) SWIG_fail
;
8646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8647 if (!SWIG_IsOK(res1
)) {
8648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8650 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (arg1
)->GetBitmap();
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8664 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
= 0;
8666 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8667 wxBitmap
*arg2
= 0 ;
8672 PyObject
* obj0
= 0 ;
8673 PyObject
* obj1
= 0 ;
8674 char * kwnames
[] = {
8675 (char *) "self",(char *) "bitmap", NULL
8678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8680 if (!SWIG_IsOK(res1
)) {
8681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8683 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8685 if (!SWIG_IsOK(res2
)) {
8686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8691 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= SWIG_Py_Void();
8705 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
= 0;
8707 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8713 PyObject
* obj0
= 0 ;
8714 PyObject
* obj1
= 0 ;
8715 char * kwnames
[] = {
8716 (char *) "self",(char *) "icon", NULL
8719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8721 if (!SWIG_IsOK(res1
)) {
8722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8724 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8725 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8726 if (!SWIG_IsOK(res2
)) {
8727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8732 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 resultobj
= SWIG_Py_Void();
8746 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
= 0;
8748 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8749 SwigValueWrapper
<wxVisualAttributes
> result
;
8752 PyObject
* obj0
= 0 ;
8753 char * kwnames
[] = {
8754 (char *) "variant", NULL
8757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8759 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8760 if (!SWIG_IsOK(ecode1
)) {
8761 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8763 arg1
= static_cast< wxWindowVariant
>(val1
);
8766 if (!wxPyCheckForApp()) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8779 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8782 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8783 return SWIG_Py_Void();
8786 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8787 return SWIG_Python_InitShadowInstance(args
);
8790 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8791 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8796 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8797 PyObject
*pyobj
= 0;
8801 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8803 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8810 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
= 0;
8812 wxWindow
*arg1
= (wxWindow
*) 0 ;
8813 int arg2
= (int) -1 ;
8814 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8815 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8816 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8817 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8818 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8819 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8820 long arg6
= (long) 0 ;
8821 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8822 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8823 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8824 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8825 wxListBox
*result
= 0 ;
8832 bool temp5
= false ;
8837 bool temp8
= false ;
8838 PyObject
* obj0
= 0 ;
8839 PyObject
* obj1
= 0 ;
8840 PyObject
* obj2
= 0 ;
8841 PyObject
* obj3
= 0 ;
8842 PyObject
* obj4
= 0 ;
8843 PyObject
* obj5
= 0 ;
8844 PyObject
* obj6
= 0 ;
8845 PyObject
* obj7
= 0 ;
8846 char * kwnames
[] = {
8847 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8852 if (!SWIG_IsOK(res1
)) {
8853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8855 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8858 if (!SWIG_IsOK(ecode2
)) {
8859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8861 arg2
= static_cast< int >(val2
);
8866 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8872 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8877 if (! PySequence_Check(obj4
)) {
8878 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8881 arg5
= new wxArrayString
;
8883 int i
, len
=PySequence_Length(obj4
);
8884 for (i
=0; i
<len
; i
++) {
8885 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8886 wxString
* s
= wxString_in_helper(item
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8895 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8896 if (!SWIG_IsOK(ecode6
)) {
8897 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8899 arg6
= static_cast< long >(val6
);
8902 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8903 if (!SWIG_IsOK(res7
)) {
8904 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8909 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8913 arg8
= wxString_in_helper(obj7
);
8914 if (arg8
== NULL
) SWIG_fail
;
8919 if (!wxPyCheckForApp()) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8927 if (temp5
) delete arg5
;
8936 if (temp5
) delete arg5
;
8946 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8947 PyObject
*resultobj
= 0;
8948 wxListBox
*result
= 0 ;
8950 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8952 if (!wxPyCheckForApp()) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (wxListBox
*)new wxListBox();
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8965 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
= 0;
8967 wxListBox
*arg1
= (wxListBox
*) 0 ;
8968 wxWindow
*arg2
= (wxWindow
*) 0 ;
8969 int arg3
= (int) -1 ;
8970 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8971 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8972 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8973 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8974 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8975 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8976 long arg7
= (long) 0 ;
8977 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8978 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8979 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8980 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8990 bool temp6
= false ;
8995 bool temp9
= false ;
8996 PyObject
* obj0
= 0 ;
8997 PyObject
* obj1
= 0 ;
8998 PyObject
* obj2
= 0 ;
8999 PyObject
* obj3
= 0 ;
9000 PyObject
* obj4
= 0 ;
9001 PyObject
* obj5
= 0 ;
9002 PyObject
* obj6
= 0 ;
9003 PyObject
* obj7
= 0 ;
9004 PyObject
* obj8
= 0 ;
9005 char * kwnames
[] = {
9006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9011 if (!SWIG_IsOK(res1
)) {
9012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9014 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9016 if (!SWIG_IsOK(res2
)) {
9017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9019 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9022 if (!SWIG_IsOK(ecode3
)) {
9023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9025 arg3
= static_cast< int >(val3
);
9030 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9036 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9041 if (! PySequence_Check(obj5
)) {
9042 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9045 arg6
= new wxArrayString
;
9047 int i
, len
=PySequence_Length(obj5
);
9048 for (i
=0; i
<len
; i
++) {
9049 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9050 wxString
* s
= wxString_in_helper(item
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9059 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9060 if (!SWIG_IsOK(ecode7
)) {
9061 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9063 arg7
= static_cast< long >(val7
);
9066 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9067 if (!SWIG_IsOK(res8
)) {
9068 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9073 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9077 arg9
= wxString_in_helper(obj8
);
9078 if (arg9
== NULL
) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9092 if (temp6
) delete arg6
;
9101 if (temp6
) delete arg6
;
9111 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
= 0;
9113 wxListBox
*arg1
= (wxListBox
*) 0 ;
9114 wxString
*arg2
= 0 ;
9116 PyObject
*arg4
= (PyObject
*) NULL
;
9119 bool temp2
= false ;
9122 PyObject
* obj0
= 0 ;
9123 PyObject
* obj1
= 0 ;
9124 PyObject
* obj2
= 0 ;
9125 PyObject
* obj3
= 0 ;
9126 char * kwnames
[] = {
9127 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9132 if (!SWIG_IsOK(res1
)) {
9133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9135 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9137 arg2
= wxString_in_helper(obj1
);
9138 if (arg2
== NULL
) SWIG_fail
;
9141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9142 if (!SWIG_IsOK(ecode3
)) {
9143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9145 arg3
= static_cast< int >(val3
);
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= SWIG_Py_Void();
9170 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
= 0;
9172 wxListBox
*arg1
= (wxListBox
*) 0 ;
9173 wxArrayString
*arg2
= 0 ;
9177 bool temp2
= false ;
9180 PyObject
* obj0
= 0 ;
9181 PyObject
* obj1
= 0 ;
9182 PyObject
* obj2
= 0 ;
9183 char * kwnames
[] = {
9184 (char *) "self",(char *) "items",(char *) "pos", NULL
9187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9189 if (!SWIG_IsOK(res1
)) {
9190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9192 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9194 if (! PySequence_Check(obj1
)) {
9195 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9198 arg2
= new wxArrayString
;
9200 int i
, len
=PySequence_Length(obj1
);
9201 for (i
=0; i
<len
; i
++) {
9202 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9203 wxString
* s
= wxString_in_helper(item
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9210 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9211 if (!SWIG_IsOK(ecode3
)) {
9212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9214 arg3
= static_cast< unsigned int >(val3
);
9216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9217 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_Py_Void();
9223 if (temp2
) delete arg2
;
9228 if (temp2
) delete arg2
;
9234 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
= 0;
9236 wxListBox
*arg1
= (wxListBox
*) 0 ;
9237 wxArrayString
*arg2
= 0 ;
9240 bool temp2
= false ;
9241 PyObject
* obj0
= 0 ;
9242 PyObject
* obj1
= 0 ;
9243 char * kwnames
[] = {
9244 (char *) "self",(char *) "items", NULL
9247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9249 if (!SWIG_IsOK(res1
)) {
9250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9252 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9254 if (! PySequence_Check(obj1
)) {
9255 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9258 arg2
= new wxArrayString
;
9260 int i
, len
=PySequence_Length(obj1
);
9261 for (i
=0; i
<len
; i
++) {
9262 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9263 wxString
* s
= wxString_in_helper(item
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 (arg1
)->Set((wxArrayString
const &)*arg2
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= SWIG_Py_Void();
9278 if (temp2
) delete arg2
;
9283 if (temp2
) delete arg2
;
9289 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
= 0;
9291 wxListBox
*arg1
= (wxListBox
*) 0 ;
9298 PyObject
* obj0
= 0 ;
9299 PyObject
* obj1
= 0 ;
9300 char * kwnames
[] = {
9301 (char *) "self",(char *) "n", NULL
9304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9306 if (!SWIG_IsOK(res1
)) {
9307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9309 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9311 if (!SWIG_IsOK(ecode2
)) {
9312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9314 arg2
= static_cast< int >(val2
);
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9330 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
= 0;
9332 wxListBox
*arg1
= (wxListBox
*) 0 ;
9334 bool arg3
= (bool) true ;
9341 PyObject
* obj0
= 0 ;
9342 PyObject
* obj1
= 0 ;
9343 PyObject
* obj2
= 0 ;
9344 char * kwnames
[] = {
9345 (char *) "self",(char *) "n",(char *) "select", NULL
9348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9350 if (!SWIG_IsOK(res1
)) {
9351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9353 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9355 if (!SWIG_IsOK(ecode2
)) {
9356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9358 arg2
= static_cast< int >(val2
);
9360 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9361 if (!SWIG_IsOK(ecode3
)) {
9362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9364 arg3
= static_cast< bool >(val3
);
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 (arg1
)->SetSelection(arg2
,arg3
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_Py_Void();
9379 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
= 0;
9381 wxListBox
*arg1
= (wxListBox
*) 0 ;
9387 PyObject
* obj0
= 0 ;
9388 PyObject
* obj1
= 0 ;
9389 char * kwnames
[] = {
9390 (char *) "self",(char *) "n", NULL
9393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9395 if (!SWIG_IsOK(res1
)) {
9396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9398 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9400 if (!SWIG_IsOK(ecode2
)) {
9401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9403 arg2
= static_cast< int >(val2
);
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 (arg1
)->Select(arg2
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= SWIG_Py_Void();
9417 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
= 0;
9419 wxListBox
*arg1
= (wxListBox
*) 0 ;
9425 PyObject
* obj0
= 0 ;
9426 PyObject
* obj1
= 0 ;
9427 char * kwnames
[] = {
9428 (char *) "self",(char *) "n", NULL
9431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9433 if (!SWIG_IsOK(res1
)) {
9434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9436 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9438 if (!SWIG_IsOK(ecode2
)) {
9439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9441 arg2
= static_cast< int >(val2
);
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 (arg1
)->Deselect(arg2
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= SWIG_Py_Void();
9455 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
= 0;
9457 wxListBox
*arg1
= (wxListBox
*) 0 ;
9458 int arg2
= (int) -1 ;
9463 PyObject
* obj0
= 0 ;
9464 PyObject
* obj1
= 0 ;
9465 char * kwnames
[] = {
9466 (char *) "self",(char *) "itemToLeaveSelected", NULL
9469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9471 if (!SWIG_IsOK(res1
)) {
9472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9474 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9477 if (!SWIG_IsOK(ecode2
)) {
9478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9480 arg2
= static_cast< int >(val2
);
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 (arg1
)->DeselectAll(arg2
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 resultobj
= SWIG_Py_Void();
9495 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
= 0;
9497 wxListBox
*arg1
= (wxListBox
*) 0 ;
9498 wxString
*arg2
= 0 ;
9499 bool arg3
= (bool) true ;
9503 bool temp2
= false ;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9508 PyObject
* obj2
= 0 ;
9509 char * kwnames
[] = {
9510 (char *) "self",(char *) "s",(char *) "select", NULL
9513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9515 if (!SWIG_IsOK(res1
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9518 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9520 arg2
= wxString_in_helper(obj1
);
9521 if (arg2
== NULL
) SWIG_fail
;
9525 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9526 if (!SWIG_IsOK(ecode3
)) {
9527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9529 arg3
= static_cast< bool >(val3
);
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9554 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9555 PyObject
*resultobj
= 0;
9556 wxListBox
*arg1
= (wxListBox
*) 0 ;
9557 PyObject
*result
= 0 ;
9560 PyObject
*swig_obj
[1] ;
9562 if (!args
) SWIG_fail
;
9564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9565 if (!SWIG_IsOK(res1
)) {
9566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9568 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9582 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
*resultobj
= 0;
9584 wxListBox
*arg1
= (wxListBox
*) 0 ;
9590 PyObject
* obj0
= 0 ;
9591 PyObject
* obj1
= 0 ;
9592 char * kwnames
[] = {
9593 (char *) "self",(char *) "n", NULL
9596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9598 if (!SWIG_IsOK(res1
)) {
9599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9601 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9603 if (!SWIG_IsOK(ecode2
)) {
9604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9606 arg2
= static_cast< int >(val2
);
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 (arg1
)->SetFirstItem(arg2
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_Py_Void();
9620 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
= 0;
9622 wxListBox
*arg1
= (wxListBox
*) 0 ;
9623 wxString
*arg2
= 0 ;
9626 bool temp2
= false ;
9627 PyObject
* obj0
= 0 ;
9628 PyObject
* obj1
= 0 ;
9629 char * kwnames
[] = {
9630 (char *) "self",(char *) "s", NULL
9633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9635 if (!SWIG_IsOK(res1
)) {
9636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9638 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9640 arg2
= wxString_in_helper(obj1
);
9641 if (arg2
== NULL
) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_Py_Void();
9665 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
= 0;
9667 wxListBox
*arg1
= (wxListBox
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9674 PyObject
* obj1
= 0 ;
9675 char * kwnames
[] = {
9676 (char *) "self",(char *) "n", NULL
9679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9681 if (!SWIG_IsOK(res1
)) {
9682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9684 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9686 if (!SWIG_IsOK(ecode2
)) {
9687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9689 arg2
= static_cast< int >(val2
);
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 (arg1
)->EnsureVisible(arg2
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= SWIG_Py_Void();
9703 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
= 0;
9705 wxListBox
*arg1
= (wxListBox
*) 0 ;
9706 wxString
*arg2
= 0 ;
9709 bool temp2
= false ;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9712 char * kwnames
[] = {
9713 (char *) "self",(char *) "s", NULL
9716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9718 if (!SWIG_IsOK(res1
)) {
9719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9721 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9723 arg2
= wxString_in_helper(obj1
);
9724 if (arg2
== NULL
) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= SWIG_Py_Void();
9748 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9749 PyObject
*resultobj
= 0;
9750 wxListBox
*arg1
= (wxListBox
*) 0 ;
9754 PyObject
*swig_obj
[1] ;
9756 if (!args
) SWIG_fail
;
9758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9759 if (!SWIG_IsOK(res1
)) {
9760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9762 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9778 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
= 0;
9780 wxListBox
*arg1
= (wxListBox
*) 0 ;
9786 PyObject
* obj0
= 0 ;
9787 PyObject
* obj1
= 0 ;
9788 char * kwnames
[] = {
9789 (char *) "self",(char *) "pt", NULL
9792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9794 if (!SWIG_IsOK(res1
)) {
9795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9797 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9800 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_From_int(static_cast< int >(result
));
9815 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
= 0;
9817 wxListBox
*arg1
= (wxListBox
*) 0 ;
9819 wxColour
*arg3
= 0 ;
9825 PyObject
* obj0
= 0 ;
9826 PyObject
* obj1
= 0 ;
9827 PyObject
* obj2
= 0 ;
9828 char * kwnames
[] = {
9829 (char *) "self",(char *) "item",(char *) "c", NULL
9832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9834 if (!SWIG_IsOK(res1
)) {
9835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9837 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9839 if (!SWIG_IsOK(ecode2
)) {
9840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9842 arg2
= static_cast< int >(val2
);
9845 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= SWIG_Py_Void();
9860 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
= 0;
9862 wxListBox
*arg1
= (wxListBox
*) 0 ;
9864 wxColour
*arg3
= 0 ;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9872 PyObject
* obj2
= 0 ;
9873 char * kwnames
[] = {
9874 (char *) "self",(char *) "item",(char *) "c", NULL
9877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9879 if (!SWIG_IsOK(res1
)) {
9880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9882 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9884 if (!SWIG_IsOK(ecode2
)) {
9885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9887 arg2
= static_cast< int >(val2
);
9890 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= SWIG_Py_Void();
9905 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
= 0;
9907 wxListBox
*arg1
= (wxListBox
*) 0 ;
9916 PyObject
* obj0
= 0 ;
9917 PyObject
* obj1
= 0 ;
9918 PyObject
* obj2
= 0 ;
9919 char * kwnames
[] = {
9920 (char *) "self",(char *) "item",(char *) "f", NULL
9923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9925 if (!SWIG_IsOK(res1
)) {
9926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9928 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9930 if (!SWIG_IsOK(ecode2
)) {
9931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9933 arg2
= static_cast< int >(val2
);
9934 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9935 if (!SWIG_IsOK(res3
)) {
9936 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9941 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 resultobj
= SWIG_Py_Void();
9955 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
= 0;
9957 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9958 SwigValueWrapper
<wxVisualAttributes
> result
;
9961 PyObject
* obj0
= 0 ;
9962 char * kwnames
[] = {
9963 (char *) "variant", NULL
9966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9968 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9969 if (!SWIG_IsOK(ecode1
)) {
9970 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9972 arg1
= static_cast< wxWindowVariant
>(val1
);
9975 if (!wxPyCheckForApp()) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9988 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9991 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9992 return SWIG_Py_Void();
9995 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9996 return SWIG_Python_InitShadowInstance(args
);
9999 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
= 0;
10001 wxWindow
*arg1
= (wxWindow
*) 0 ;
10002 int arg2
= (int) -1 ;
10003 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10004 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10005 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10006 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10007 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10008 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10009 long arg6
= (long) 0 ;
10010 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10011 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10012 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10013 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10014 wxCheckListBox
*result
= 0 ;
10021 bool temp5
= false ;
10026 bool temp8
= false ;
10027 PyObject
* obj0
= 0 ;
10028 PyObject
* obj1
= 0 ;
10029 PyObject
* obj2
= 0 ;
10030 PyObject
* obj3
= 0 ;
10031 PyObject
* obj4
= 0 ;
10032 PyObject
* obj5
= 0 ;
10033 PyObject
* obj6
= 0 ;
10034 PyObject
* obj7
= 0 ;
10035 char * kwnames
[] = {
10036 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10041 if (!SWIG_IsOK(res1
)) {
10042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10044 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10047 if (!SWIG_IsOK(ecode2
)) {
10048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10050 arg2
= static_cast< int >(val2
);
10055 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10061 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10066 if (! PySequence_Check(obj4
)) {
10067 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10070 arg5
= new wxArrayString
;
10072 int i
, len
=PySequence_Length(obj4
);
10073 for (i
=0; i
<len
; i
++) {
10074 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10075 wxString
* s
= wxString_in_helper(item
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10084 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10085 if (!SWIG_IsOK(ecode6
)) {
10086 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10088 arg6
= static_cast< long >(val6
);
10091 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10092 if (!SWIG_IsOK(res7
)) {
10093 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10098 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10102 arg8
= wxString_in_helper(obj7
);
10103 if (arg8
== NULL
) SWIG_fail
;
10108 if (!wxPyCheckForApp()) SWIG_fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10116 if (temp5
) delete arg5
;
10125 if (temp5
) delete arg5
;
10135 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10136 PyObject
*resultobj
= 0;
10137 wxCheckListBox
*result
= 0 ;
10139 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10141 if (!wxPyCheckForApp()) SWIG_fail
;
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 result
= (wxCheckListBox
*)new wxCheckListBox();
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10154 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
= 0;
10156 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10157 wxWindow
*arg2
= (wxWindow
*) 0 ;
10158 int arg3
= (int) -1 ;
10159 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10160 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10161 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10162 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10163 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10164 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10165 long arg7
= (long) 0 ;
10166 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10167 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10168 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10169 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10179 bool temp6
= false ;
10184 bool temp9
= false ;
10185 PyObject
* obj0
= 0 ;
10186 PyObject
* obj1
= 0 ;
10187 PyObject
* obj2
= 0 ;
10188 PyObject
* obj3
= 0 ;
10189 PyObject
* obj4
= 0 ;
10190 PyObject
* obj5
= 0 ;
10191 PyObject
* obj6
= 0 ;
10192 PyObject
* obj7
= 0 ;
10193 PyObject
* obj8
= 0 ;
10194 char * kwnames
[] = {
10195 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10200 if (!SWIG_IsOK(res1
)) {
10201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10203 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10205 if (!SWIG_IsOK(res2
)) {
10206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10208 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10211 if (!SWIG_IsOK(ecode3
)) {
10212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10214 arg3
= static_cast< int >(val3
);
10219 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10225 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10230 if (! PySequence_Check(obj5
)) {
10231 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10234 arg6
= new wxArrayString
;
10236 int i
, len
=PySequence_Length(obj5
);
10237 for (i
=0; i
<len
; i
++) {
10238 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10239 wxString
* s
= wxString_in_helper(item
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10248 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10249 if (!SWIG_IsOK(ecode7
)) {
10250 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10252 arg7
= static_cast< long >(val7
);
10255 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10256 if (!SWIG_IsOK(res8
)) {
10257 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10262 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10266 arg9
= wxString_in_helper(obj8
);
10267 if (arg9
== NULL
) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10281 if (temp6
) delete arg6
;
10290 if (temp6
) delete arg6
;
10300 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
= 0;
10302 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10303 unsigned int arg2
;
10307 unsigned int val2
;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 char * kwnames
[] = {
10312 (char *) "self",(char *) "index", NULL
10315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10317 if (!SWIG_IsOK(res1
)) {
10318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10320 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10321 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10322 if (!SWIG_IsOK(ecode2
)) {
10323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10325 arg2
= static_cast< unsigned int >(val2
);
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 result
= (bool)(arg1
)->IsChecked(arg2
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10341 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
= 0;
10343 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10344 unsigned int arg2
;
10345 int arg3
= (int) true ;
10348 unsigned int val2
;
10352 PyObject
* obj0
= 0 ;
10353 PyObject
* obj1
= 0 ;
10354 PyObject
* obj2
= 0 ;
10355 char * kwnames
[] = {
10356 (char *) "self",(char *) "index",(char *) "check", NULL
10359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10361 if (!SWIG_IsOK(res1
)) {
10362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10364 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10365 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10366 if (!SWIG_IsOK(ecode2
)) {
10367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10369 arg2
= static_cast< unsigned int >(val2
);
10371 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10372 if (!SWIG_IsOK(ecode3
)) {
10373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10375 arg3
= static_cast< int >(val3
);
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 (arg1
)->Check(arg2
,arg3
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 resultobj
= SWIG_Py_Void();
10390 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10393 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10394 return SWIG_Py_Void();
10397 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10398 return SWIG_Python_InitShadowInstance(args
);
10401 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10402 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10407 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10408 PyObject
*pyobj
= 0;
10412 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10414 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10421 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
= 0;
10423 wxColour
const &arg1_defvalue
= wxNullColour
;
10424 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10425 wxColour
const &arg2_defvalue
= wxNullColour
;
10426 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10427 wxFont
const &arg3_defvalue
= wxNullFont
;
10428 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10429 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10430 wxTextAttr
*result
= 0 ;
10437 PyObject
* obj0
= 0 ;
10438 PyObject
* obj1
= 0 ;
10439 PyObject
* obj2
= 0 ;
10440 PyObject
* obj3
= 0 ;
10441 char * kwnames
[] = {
10442 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10449 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10455 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10459 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10460 if (!SWIG_IsOK(res3
)) {
10461 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10466 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10469 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10470 if (!SWIG_IsOK(ecode4
)) {
10471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10473 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10488 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10489 PyObject
*resultobj
= 0;
10490 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10493 PyObject
*swig_obj
[1] ;
10495 if (!args
) SWIG_fail
;
10496 swig_obj
[0] = args
;
10497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10498 if (!SWIG_IsOK(res1
)) {
10499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10501 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= SWIG_Py_Void();
10516 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10517 PyObject
*resultobj
= 0;
10518 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10521 PyObject
*swig_obj
[1] ;
10523 if (!args
) SWIG_fail
;
10524 swig_obj
[0] = args
;
10525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10526 if (!SWIG_IsOK(res1
)) {
10527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10529 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= SWIG_Py_Void();
10543 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
= 0;
10545 wxTextAttr
*arg1
= 0 ;
10546 wxTextAttr
*arg2
= 0 ;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 char * kwnames
[] = {
10555 (char *) "base",(char *) "overlay", NULL
10558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10559 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10560 if (!SWIG_IsOK(res1
)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10566 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10567 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10568 if (!SWIG_IsOK(res2
)) {
10569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10574 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10588 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
= 0;
10590 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10591 wxColour
*arg2
= 0 ;
10595 PyObject
* obj0
= 0 ;
10596 PyObject
* obj1
= 0 ;
10597 char * kwnames
[] = {
10598 (char *) "self",(char *) "colText", NULL
10601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10603 if (!SWIG_IsOK(res1
)) {
10604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10606 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10609 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 resultobj
= SWIG_Py_Void();
10624 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
= 0;
10626 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10627 wxColour
*arg2
= 0 ;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 char * kwnames
[] = {
10634 (char *) "self",(char *) "colBack", NULL
10637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10639 if (!SWIG_IsOK(res1
)) {
10640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10642 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10645 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10653 resultobj
= SWIG_Py_Void();
10660 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
= 0;
10662 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10664 long arg3
= (long) wxTEXT_ATTR_FONT
;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 PyObject
* obj2
= 0 ;
10674 char * kwnames
[] = {
10675 (char *) "self",(char *) "font",(char *) "flags", NULL
10678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10680 if (!SWIG_IsOK(res1
)) {
10681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10683 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10685 if (!SWIG_IsOK(res2
)) {
10686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10691 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10693 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10694 if (!SWIG_IsOK(ecode3
)) {
10695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10697 arg3
= static_cast< long >(val3
);
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 resultobj
= SWIG_Py_Void();
10712 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
= 0;
10714 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10715 wxTextAttrAlignment arg2
;
10720 PyObject
* obj0
= 0 ;
10721 PyObject
* obj1
= 0 ;
10722 char * kwnames
[] = {
10723 (char *) "self",(char *) "alignment", NULL
10726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10728 if (!SWIG_IsOK(res1
)) {
10729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10731 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10733 if (!SWIG_IsOK(ecode2
)) {
10734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10736 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 (arg1
)->SetAlignment(arg2
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 resultobj
= SWIG_Py_Void();
10750 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
= 0;
10752 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10753 wxArrayInt
*arg2
= 0 ;
10756 bool temp2
= false ;
10757 PyObject
* obj0
= 0 ;
10758 PyObject
* obj1
= 0 ;
10759 char * kwnames
[] = {
10760 (char *) "self",(char *) "tabs", NULL
10763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10765 if (!SWIG_IsOK(res1
)) {
10766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10768 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10770 if (! PySequence_Check(obj1
)) {
10771 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10774 arg2
= new wxArrayInt
;
10776 int i
, len
=PySequence_Length(obj1
);
10777 for (i
=0; i
<len
; i
++) {
10778 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10779 PyObject
* number
= PyNumber_Int(item
);
10781 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10784 arg2
->Add(PyInt_AS_LONG(number
));
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 resultobj
= SWIG_Py_Void();
10797 if (temp2
) delete arg2
;
10802 if (temp2
) delete arg2
;
10808 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
= 0;
10810 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10812 int arg3
= (int) 0 ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 PyObject
* obj2
= 0 ;
10822 char * kwnames
[] = {
10823 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10828 if (!SWIG_IsOK(res1
)) {
10829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10831 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10833 if (!SWIG_IsOK(ecode2
)) {
10834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10836 arg2
= static_cast< int >(val2
);
10838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10839 if (!SWIG_IsOK(ecode3
)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10842 arg3
= static_cast< int >(val3
);
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 (arg1
)->SetLeftIndent(arg2
,arg3
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= SWIG_Py_Void();
10857 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
= 0;
10859 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10865 PyObject
* obj0
= 0 ;
10866 PyObject
* obj1
= 0 ;
10867 char * kwnames
[] = {
10868 (char *) "self",(char *) "indent", NULL
10871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10873 if (!SWIG_IsOK(res1
)) {
10874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10876 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10878 if (!SWIG_IsOK(ecode2
)) {
10879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10881 arg2
= static_cast< int >(val2
);
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 (arg1
)->SetRightIndent(arg2
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 resultobj
= SWIG_Py_Void();
10895 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
= 0;
10897 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 char * kwnames
[] = {
10906 (char *) "self",(char *) "flags", NULL
10909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10911 if (!SWIG_IsOK(res1
)) {
10912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10914 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10915 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10916 if (!SWIG_IsOK(ecode2
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10919 arg2
= static_cast< long >(val2
);
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 (arg1
)->SetFlags(arg2
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 resultobj
= SWIG_Py_Void();
10933 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10934 PyObject
*resultobj
= 0;
10935 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10939 PyObject
*swig_obj
[1] ;
10941 if (!args
) SWIG_fail
;
10942 swig_obj
[0] = args
;
10943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10944 if (!SWIG_IsOK(res1
)) {
10945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10947 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10963 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10964 PyObject
*resultobj
= 0;
10965 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10969 PyObject
*swig_obj
[1] ;
10971 if (!args
) SWIG_fail
;
10972 swig_obj
[0] = args
;
10973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10974 if (!SWIG_IsOK(res1
)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10977 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10993 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10994 PyObject
*resultobj
= 0;
10995 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10999 PyObject
*swig_obj
[1] ;
11001 if (!args
) SWIG_fail
;
11002 swig_obj
[0] = args
;
11003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11004 if (!SWIG_IsOK(res1
)) {
11005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11007 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11024 PyObject
*resultobj
= 0;
11025 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11029 PyObject
*swig_obj
[1] ;
11031 if (!args
) SWIG_fail
;
11032 swig_obj
[0] = args
;
11033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11034 if (!SWIG_IsOK(res1
)) {
11035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11037 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11053 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11054 PyObject
*resultobj
= 0;
11055 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11059 PyObject
*swig_obj
[1] ;
11061 if (!args
) SWIG_fail
;
11062 swig_obj
[0] = args
;
11063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11064 if (!SWIG_IsOK(res1
)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11067 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11084 PyObject
*resultobj
= 0;
11085 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11089 PyObject
*swig_obj
[1] ;
11091 if (!args
) SWIG_fail
;
11092 swig_obj
[0] = args
;
11093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11094 if (!SWIG_IsOK(res1
)) {
11095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11097 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11113 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11114 PyObject
*resultobj
= 0;
11115 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11119 PyObject
*swig_obj
[1] ;
11121 if (!args
) SWIG_fail
;
11122 swig_obj
[0] = args
;
11123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11124 if (!SWIG_IsOK(res1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11127 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11143 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
= 0;
11145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 PyObject
* obj1
= 0 ;
11154 char * kwnames
[] = {
11155 (char *) "self",(char *) "flag", NULL
11158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11160 if (!SWIG_IsOK(res1
)) {
11161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11163 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11164 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11165 if (!SWIG_IsOK(ecode2
)) {
11166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11168 arg2
= static_cast< long >(val2
);
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11184 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11185 PyObject
*resultobj
= 0;
11186 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11187 wxColour
*result
= 0 ;
11190 PyObject
*swig_obj
[1] ;
11192 if (!args
) SWIG_fail
;
11193 swig_obj
[0] = args
;
11194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11195 if (!SWIG_IsOK(res1
)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11198 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11203 result
= (wxColour
*) &_result_ref
;
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11215 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11216 PyObject
*resultobj
= 0;
11217 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11218 wxColour
*result
= 0 ;
11221 PyObject
*swig_obj
[1] ;
11223 if (!args
) SWIG_fail
;
11224 swig_obj
[0] = args
;
11225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11226 if (!SWIG_IsOK(res1
)) {
11227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11229 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11234 result
= (wxColour
*) &_result_ref
;
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11246 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11247 PyObject
*resultobj
= 0;
11248 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11249 wxFont
*result
= 0 ;
11252 PyObject
*swig_obj
[1] ;
11254 if (!args
) SWIG_fail
;
11255 swig_obj
[0] = args
;
11256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11257 if (!SWIG_IsOK(res1
)) {
11258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11260 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11265 result
= (wxFont
*) &_result_ref
;
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11271 wxFont
* resultptr
= new wxFont(*result
);
11272 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11280 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11281 PyObject
*resultobj
= 0;
11282 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11283 wxTextAttrAlignment result
;
11286 PyObject
*swig_obj
[1] ;
11288 if (!args
) SWIG_fail
;
11289 swig_obj
[0] = args
;
11290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11291 if (!SWIG_IsOK(res1
)) {
11292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11294 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= SWIG_From_int(static_cast< int >(result
));
11308 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11309 PyObject
*resultobj
= 0;
11310 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11311 wxArrayInt
*result
= 0 ;
11314 PyObject
*swig_obj
[1] ;
11316 if (!args
) SWIG_fail
;
11317 swig_obj
[0] = args
;
11318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11319 if (!SWIG_IsOK(res1
)) {
11320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11322 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11327 result
= (wxArrayInt
*) &_result_ref
;
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11333 resultobj
= wxArrayInt2PyList_helper(*result
);
11341 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11342 PyObject
*resultobj
= 0;
11343 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11347 PyObject
*swig_obj
[1] ;
11349 if (!args
) SWIG_fail
;
11350 swig_obj
[0] = args
;
11351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11352 if (!SWIG_IsOK(res1
)) {
11353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11355 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= SWIG_From_long(static_cast< long >(result
));
11369 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11370 PyObject
*resultobj
= 0;
11371 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11375 PyObject
*swig_obj
[1] ;
11377 if (!args
) SWIG_fail
;
11378 swig_obj
[0] = args
;
11379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11380 if (!SWIG_IsOK(res1
)) {
11381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11383 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_From_long(static_cast< long >(result
));
11397 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11398 PyObject
*resultobj
= 0;
11399 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11403 PyObject
*swig_obj
[1] ;
11405 if (!args
) SWIG_fail
;
11406 swig_obj
[0] = args
;
11407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11408 if (!SWIG_IsOK(res1
)) {
11409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11411 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= SWIG_From_long(static_cast< long >(result
));
11425 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11426 PyObject
*resultobj
= 0;
11427 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11431 PyObject
*swig_obj
[1] ;
11433 if (!args
) SWIG_fail
;
11434 swig_obj
[0] = args
;
11435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11436 if (!SWIG_IsOK(res1
)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11439 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_From_long(static_cast< long >(result
));
11453 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11454 PyObject
*resultobj
= 0;
11455 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11459 PyObject
*swig_obj
[1] ;
11461 if (!args
) SWIG_fail
;
11462 swig_obj
[0] = args
;
11463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11464 if (!SWIG_IsOK(res1
)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11467 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11483 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
= 0;
11485 wxTextAttr
*arg1
= 0 ;
11486 wxTextAttr
*arg2
= 0 ;
11487 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 PyObject
* obj2
= 0 ;
11498 char * kwnames
[] = {
11499 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11503 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11504 if (!SWIG_IsOK(res1
)) {
11505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11510 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11512 if (!SWIG_IsOK(res2
)) {
11513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11518 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11519 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11520 if (!SWIG_IsOK(res3
)) {
11521 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11523 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11526 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11527 wxPyEndAllowThreads(__tstate
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11530 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11537 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11540 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11541 return SWIG_Py_Void();
11544 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11545 return SWIG_Python_InitShadowInstance(args
);
11548 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
= 0;
11550 wxWindow
*arg1
= (wxWindow
*) 0 ;
11551 int arg2
= (int) -1 ;
11552 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11553 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11554 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11555 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11556 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11557 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11558 long arg6
= (long) 0 ;
11559 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11560 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11561 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11562 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11563 wxTextCtrl
*result
= 0 ;
11568 bool temp3
= false ;
11575 bool temp8
= false ;
11576 PyObject
* obj0
= 0 ;
11577 PyObject
* obj1
= 0 ;
11578 PyObject
* obj2
= 0 ;
11579 PyObject
* obj3
= 0 ;
11580 PyObject
* obj4
= 0 ;
11581 PyObject
* obj5
= 0 ;
11582 PyObject
* obj6
= 0 ;
11583 PyObject
* obj7
= 0 ;
11584 char * kwnames
[] = {
11585 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11590 if (!SWIG_IsOK(res1
)) {
11591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11593 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11596 if (!SWIG_IsOK(ecode2
)) {
11597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11599 arg2
= static_cast< int >(val2
);
11603 arg3
= wxString_in_helper(obj2
);
11604 if (arg3
== NULL
) SWIG_fail
;
11611 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11617 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11621 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11622 if (!SWIG_IsOK(ecode6
)) {
11623 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11625 arg6
= static_cast< long >(val6
);
11628 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11629 if (!SWIG_IsOK(res7
)) {
11630 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11635 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11639 arg8
= wxString_in_helper(obj7
);
11640 if (arg8
== NULL
) SWIG_fail
;
11645 if (!wxPyCheckForApp()) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11674 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11675 PyObject
*resultobj
= 0;
11676 wxTextCtrl
*result
= 0 ;
11678 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11680 if (!wxPyCheckForApp()) SWIG_fail
;
11681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 result
= (wxTextCtrl
*)new wxTextCtrl();
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11693 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
= 0;
11695 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11696 wxWindow
*arg2
= (wxWindow
*) 0 ;
11697 int arg3
= (int) -1 ;
11698 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11699 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11700 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11701 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11702 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11703 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11704 long arg7
= (long) 0 ;
11705 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11706 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11707 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11708 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11716 bool temp4
= false ;
11723 bool temp9
= false ;
11724 PyObject
* obj0
= 0 ;
11725 PyObject
* obj1
= 0 ;
11726 PyObject
* obj2
= 0 ;
11727 PyObject
* obj3
= 0 ;
11728 PyObject
* obj4
= 0 ;
11729 PyObject
* obj5
= 0 ;
11730 PyObject
* obj6
= 0 ;
11731 PyObject
* obj7
= 0 ;
11732 PyObject
* obj8
= 0 ;
11733 char * kwnames
[] = {
11734 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11739 if (!SWIG_IsOK(res1
)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11742 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11743 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11744 if (!SWIG_IsOK(res2
)) {
11745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11747 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11749 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11750 if (!SWIG_IsOK(ecode3
)) {
11751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11753 arg3
= static_cast< int >(val3
);
11757 arg4
= wxString_in_helper(obj3
);
11758 if (arg4
== NULL
) SWIG_fail
;
11765 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11771 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11775 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11776 if (!SWIG_IsOK(ecode7
)) {
11777 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11779 arg7
= static_cast< long >(val7
);
11782 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11783 if (!SWIG_IsOK(res8
)) {
11784 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11789 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11793 arg9
= wxString_in_helper(obj8
);
11794 if (arg9
== NULL
) SWIG_fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11829 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11830 PyObject
*resultobj
= 0;
11831 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11835 PyObject
*swig_obj
[1] ;
11837 if (!args
) SWIG_fail
;
11838 swig_obj
[0] = args
;
11839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11840 if (!SWIG_IsOK(res1
)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11843 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11863 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
= 0;
11865 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11866 wxString
*arg2
= 0 ;
11869 bool temp2
= false ;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj1
= 0 ;
11872 char * kwnames
[] = {
11873 (char *) "self",(char *) "value", NULL
11876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11878 if (!SWIG_IsOK(res1
)) {
11879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11881 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11883 arg2
= wxString_in_helper(obj1
);
11884 if (arg2
== NULL
) SWIG_fail
;
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 (arg1
)->SetValue((wxString
const &)*arg2
);
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= SWIG_Py_Void();
11908 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11909 PyObject
*resultobj
= 0;
11910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11914 PyObject
*swig_obj
[1] ;
11916 if (!args
) SWIG_fail
;
11917 swig_obj
[0] = args
;
11918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11919 if (!SWIG_IsOK(res1
)) {
11920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11922 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11926 wxPyEndAllowThreads(__tstate
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11938 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
= 0;
11940 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11941 wxString
*arg2
= 0 ;
11944 bool temp2
= false ;
11945 PyObject
* obj0
= 0 ;
11946 PyObject
* obj1
= 0 ;
11947 char * kwnames
[] = {
11948 (char *) "self",(char *) "value", NULL
11951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11953 if (!SWIG_IsOK(res1
)) {
11954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11956 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11958 arg2
= wxString_in_helper(obj1
);
11959 if (arg2
== NULL
) SWIG_fail
;
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= SWIG_Py_Void();
11983 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11984 PyObject
*resultobj
= 0;
11985 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 PyObject
* obj2
= 0 ;
11998 char * kwnames
[] = {
11999 (char *) "self",(char *) "from",(char *) "to", NULL
12002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12004 if (!SWIG_IsOK(res1
)) {
12005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12007 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12008 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12009 if (!SWIG_IsOK(ecode2
)) {
12010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12012 arg2
= static_cast< long >(val2
);
12013 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12014 if (!SWIG_IsOK(ecode3
)) {
12015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12017 arg3
= static_cast< long >(val3
);
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12037 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
= 0;
12039 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12046 PyObject
* obj0
= 0 ;
12047 PyObject
* obj1
= 0 ;
12048 char * kwnames
[] = {
12049 (char *) "self",(char *) "lineNo", NULL
12052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12054 if (!SWIG_IsOK(res1
)) {
12055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12057 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12058 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12059 if (!SWIG_IsOK(ecode2
)) {
12060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12062 arg2
= static_cast< long >(val2
);
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= SWIG_From_int(static_cast< int >(result
));
12076 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
= 0;
12078 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12085 PyObject
* obj0
= 0 ;
12086 PyObject
* obj1
= 0 ;
12087 char * kwnames
[] = {
12088 (char *) "self",(char *) "lineNo", NULL
12091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12093 if (!SWIG_IsOK(res1
)) {
12094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12096 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12097 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12098 if (!SWIG_IsOK(ecode2
)) {
12099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12101 arg2
= static_cast< long >(val2
);
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12121 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12122 PyObject
*resultobj
= 0;
12123 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12127 PyObject
*swig_obj
[1] ;
12129 if (!args
) SWIG_fail
;
12130 swig_obj
[0] = args
;
12131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12132 if (!SWIG_IsOK(res1
)) {
12133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12135 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= SWIG_From_int(static_cast< int >(result
));
12149 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12150 PyObject
*resultobj
= 0;
12151 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12155 PyObject
*swig_obj
[1] ;
12157 if (!args
) SWIG_fail
;
12158 swig_obj
[0] = args
;
12159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12160 if (!SWIG_IsOK(res1
)) {
12161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12163 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12179 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12180 PyObject
*resultobj
= 0;
12181 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12185 PyObject
*swig_obj
[1] ;
12187 if (!args
) SWIG_fail
;
12188 swig_obj
[0] = args
;
12189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12190 if (!SWIG_IsOK(res1
)) {
12191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12193 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12209 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12210 PyObject
*resultobj
= 0;
12211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12215 PyObject
*swig_obj
[1] ;
12217 if (!args
) SWIG_fail
;
12218 swig_obj
[0] = args
;
12219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12223 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12239 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12240 PyObject
*resultobj
= 0;
12241 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12245 PyObject
*swig_obj
[1] ;
12247 if (!args
) SWIG_fail
;
12248 swig_obj
[0] = args
;
12249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12250 if (!SWIG_IsOK(res1
)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12253 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12269 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12270 PyObject
*resultobj
= 0;
12271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12272 long *arg2
= (long *) 0 ;
12273 long *arg3
= (long *) 0 ;
12277 int res2
= SWIG_TMPOBJ
;
12279 int res3
= SWIG_TMPOBJ
;
12280 PyObject
*swig_obj
[1] ;
12284 if (!args
) SWIG_fail
;
12285 swig_obj
[0] = args
;
12286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12287 if (!SWIG_IsOK(res1
)) {
12288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12290 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= SWIG_Py_Void();
12298 if (SWIG_IsTmpObj(res2
)) {
12299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12301 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12304 if (SWIG_IsTmpObj(res3
)) {
12305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12307 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12316 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12317 PyObject
*resultobj
= 0;
12318 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12322 PyObject
*swig_obj
[1] ;
12324 if (!args
) SWIG_fail
;
12325 swig_obj
[0] = args
;
12326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12327 if (!SWIG_IsOK(res1
)) {
12328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12330 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12350 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12351 PyObject
*resultobj
= 0;
12352 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12355 PyObject
*swig_obj
[1] ;
12357 if (!args
) SWIG_fail
;
12358 swig_obj
[0] = args
;
12359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12360 if (!SWIG_IsOK(res1
)) {
12361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12363 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_Py_Void();
12377 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
= 0;
12379 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12382 wxString
*arg4
= 0 ;
12389 bool temp4
= false ;
12390 PyObject
* obj0
= 0 ;
12391 PyObject
* obj1
= 0 ;
12392 PyObject
* obj2
= 0 ;
12393 PyObject
* obj3
= 0 ;
12394 char * kwnames
[] = {
12395 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12400 if (!SWIG_IsOK(res1
)) {
12401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12403 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12405 if (!SWIG_IsOK(ecode2
)) {
12406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12408 arg2
= static_cast< long >(val2
);
12409 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12410 if (!SWIG_IsOK(ecode3
)) {
12411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12413 arg3
= static_cast< long >(val3
);
12415 arg4
= wxString_in_helper(obj3
);
12416 if (arg4
== NULL
) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12422 wxPyEndAllowThreads(__tstate
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 resultobj
= SWIG_Py_Void();
12440 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
= 0;
12442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12451 PyObject
* obj0
= 0 ;
12452 PyObject
* obj1
= 0 ;
12453 PyObject
* obj2
= 0 ;
12454 char * kwnames
[] = {
12455 (char *) "self",(char *) "from",(char *) "to", NULL
12458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12460 if (!SWIG_IsOK(res1
)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12463 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12464 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12465 if (!SWIG_IsOK(ecode2
)) {
12466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12468 arg2
= static_cast< long >(val2
);
12469 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12470 if (!SWIG_IsOK(ecode3
)) {
12471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12473 arg3
= static_cast< long >(val3
);
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 (arg1
)->Remove(arg2
,arg3
);
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_Py_Void();
12487 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
= 0;
12489 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12490 wxString
*arg2
= 0 ;
12491 int arg3
= (int) wxTEXT_TYPE_ANY
;
12495 bool temp2
= false ;
12498 PyObject
* obj0
= 0 ;
12499 PyObject
* obj1
= 0 ;
12500 PyObject
* obj2
= 0 ;
12501 char * kwnames
[] = {
12502 (char *) "self",(char *) "file",(char *) "fileType", NULL
12505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12507 if (!SWIG_IsOK(res1
)) {
12508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12510 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12512 arg2
= wxString_in_helper(obj1
);
12513 if (arg2
== NULL
) SWIG_fail
;
12517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12518 if (!SWIG_IsOK(ecode3
)) {
12519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12521 arg3
= static_cast< int >(val3
);
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12546 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
= 0;
12548 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12549 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12550 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12551 int arg3
= (int) wxTEXT_TYPE_ANY
;
12555 bool temp2
= false ;
12558 PyObject
* obj0
= 0 ;
12559 PyObject
* obj1
= 0 ;
12560 PyObject
* obj2
= 0 ;
12561 char * kwnames
[] = {
12562 (char *) "self",(char *) "file",(char *) "fileType", NULL
12565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12567 if (!SWIG_IsOK(res1
)) {
12568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12570 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12573 arg2
= wxString_in_helper(obj1
);
12574 if (arg2
== NULL
) SWIG_fail
;
12579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12580 if (!SWIG_IsOK(ecode3
)) {
12581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12583 arg3
= static_cast< int >(val3
);
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12608 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12609 PyObject
*resultobj
= 0;
12610 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12613 PyObject
*swig_obj
[1] ;
12615 if (!args
) SWIG_fail
;
12616 swig_obj
[0] = args
;
12617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12618 if (!SWIG_IsOK(res1
)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12621 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 (arg1
)->MarkDirty();
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= SWIG_Py_Void();
12635 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12636 PyObject
*resultobj
= 0;
12637 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12640 PyObject
*swig_obj
[1] ;
12642 if (!args
) SWIG_fail
;
12643 swig_obj
[0] = args
;
12644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12645 if (!SWIG_IsOK(res1
)) {
12646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12648 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 (arg1
)->DiscardEdits();
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= SWIG_Py_Void();
12662 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
= 0;
12664 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12670 PyObject
* obj0
= 0 ;
12671 PyObject
* obj1
= 0 ;
12672 char * kwnames
[] = {
12673 (char *) "self",(char *) "modified", NULL
12676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12678 if (!SWIG_IsOK(res1
)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12681 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12682 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12683 if (!SWIG_IsOK(ecode2
)) {
12684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12686 arg2
= static_cast< bool >(val2
);
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 (arg1
)->SetModified(arg2
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= SWIG_Py_Void();
12700 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
= 0;
12702 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12703 unsigned long arg2
;
12706 unsigned long val2
;
12708 PyObject
* obj0
= 0 ;
12709 PyObject
* obj1
= 0 ;
12710 char * kwnames
[] = {
12711 (char *) "self",(char *) "len", NULL
12714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12716 if (!SWIG_IsOK(res1
)) {
12717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12719 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12720 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12721 if (!SWIG_IsOK(ecode2
)) {
12722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12724 arg2
= static_cast< unsigned long >(val2
);
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 (arg1
)->SetMaxLength(arg2
);
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= SWIG_Py_Void();
12738 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
= 0;
12740 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12741 wxString
*arg2
= 0 ;
12744 bool temp2
= false ;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 char * kwnames
[] = {
12748 (char *) "self",(char *) "text", NULL
12751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12753 if (!SWIG_IsOK(res1
)) {
12754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12756 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12758 arg2
= wxString_in_helper(obj1
);
12759 if (arg2
== NULL
) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 (arg1
)->WriteText((wxString
const &)*arg2
);
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 resultobj
= SWIG_Py_Void();
12783 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
= 0;
12785 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12786 wxString
*arg2
= 0 ;
12789 bool temp2
= false ;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 char * kwnames
[] = {
12793 (char *) "self",(char *) "text", NULL
12796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12798 if (!SWIG_IsOK(res1
)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12801 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12803 arg2
= wxString_in_helper(obj1
);
12804 if (arg2
== NULL
) SWIG_fail
;
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 (arg1
)->AppendText((wxString
const &)*arg2
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= SWIG_Py_Void();
12828 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
= 0;
12830 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12831 wxKeyEvent
*arg2
= 0 ;
12837 PyObject
* obj0
= 0 ;
12838 PyObject
* obj1
= 0 ;
12839 char * kwnames
[] = {
12840 (char *) "self",(char *) "event", NULL
12843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12845 if (!SWIG_IsOK(res1
)) {
12846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12848 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12849 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12850 if (!SWIG_IsOK(res2
)) {
12851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12856 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12860 wxPyEndAllowThreads(__tstate
);
12861 if (PyErr_Occurred()) SWIG_fail
;
12864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12872 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
= 0;
12874 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12877 wxTextAttr
*arg4
= 0 ;
12887 PyObject
* obj0
= 0 ;
12888 PyObject
* obj1
= 0 ;
12889 PyObject
* obj2
= 0 ;
12890 PyObject
* obj3
= 0 ;
12891 char * kwnames
[] = {
12892 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12897 if (!SWIG_IsOK(res1
)) {
12898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12900 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12901 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12902 if (!SWIG_IsOK(ecode2
)) {
12903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12905 arg2
= static_cast< long >(val2
);
12906 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12907 if (!SWIG_IsOK(ecode3
)) {
12908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12910 arg3
= static_cast< long >(val3
);
12911 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12912 if (!SWIG_IsOK(res4
)) {
12913 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12918 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12922 wxPyEndAllowThreads(__tstate
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12934 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
= 0;
12936 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12938 wxTextAttr
*arg3
= 0 ;
12946 PyObject
* obj0
= 0 ;
12947 PyObject
* obj1
= 0 ;
12948 PyObject
* obj2
= 0 ;
12949 char * kwnames
[] = {
12950 (char *) "self",(char *) "position",(char *) "style", NULL
12953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12955 if (!SWIG_IsOK(res1
)) {
12956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12958 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12959 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12960 if (!SWIG_IsOK(ecode2
)) {
12961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12963 arg2
= static_cast< long >(val2
);
12964 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12965 if (!SWIG_IsOK(res3
)) {
12966 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12971 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12987 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
= 0;
12989 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12990 wxTextAttr
*arg2
= 0 ;
12996 PyObject
* obj0
= 0 ;
12997 PyObject
* obj1
= 0 ;
12998 char * kwnames
[] = {
12999 (char *) "self",(char *) "style", NULL
13002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13004 if (!SWIG_IsOK(res1
)) {
13005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13007 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13008 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13009 if (!SWIG_IsOK(res2
)) {
13010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13015 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13031 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13032 PyObject
*resultobj
= 0;
13033 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13034 wxTextAttr
*result
= 0 ;
13037 PyObject
*swig_obj
[1] ;
13039 if (!args
) SWIG_fail
;
13040 swig_obj
[0] = args
;
13041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13042 if (!SWIG_IsOK(res1
)) {
13043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13045 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13049 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13050 result
= (wxTextAttr
*) &_result_ref
;
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13062 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
= 0;
13064 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13074 PyObject
* obj0
= 0 ;
13075 PyObject
* obj1
= 0 ;
13076 PyObject
* obj2
= 0 ;
13077 char * kwnames
[] = {
13078 (char *) "self",(char *) "x",(char *) "y", NULL
13081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13083 if (!SWIG_IsOK(res1
)) {
13084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13086 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13087 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13088 if (!SWIG_IsOK(ecode2
)) {
13089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13091 arg2
= static_cast< long >(val2
);
13092 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13093 if (!SWIG_IsOK(ecode3
)) {
13094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13096 arg3
= static_cast< long >(val3
);
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_From_long(static_cast< long >(result
));
13110 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
= 0;
13112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13114 long *arg3
= (long *) 0 ;
13115 long *arg4
= (long *) 0 ;
13121 int res3
= SWIG_TMPOBJ
;
13123 int res4
= SWIG_TMPOBJ
;
13124 PyObject
* obj0
= 0 ;
13125 PyObject
* obj1
= 0 ;
13126 char * kwnames
[] = {
13127 (char *) "self",(char *) "pos", NULL
13132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13134 if (!SWIG_IsOK(res1
)) {
13135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13137 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13138 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13139 if (!SWIG_IsOK(ecode2
)) {
13140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13142 arg2
= static_cast< long >(val2
);
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13149 resultobj
= SWIG_Py_Void();
13150 if (SWIG_IsTmpObj(res3
)) {
13151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13153 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13156 if (SWIG_IsTmpObj(res4
)) {
13157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13159 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13168 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13169 PyObject
*resultobj
= 0;
13170 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13176 PyObject
* obj0
= 0 ;
13177 PyObject
* obj1
= 0 ;
13178 char * kwnames
[] = {
13179 (char *) "self",(char *) "pos", NULL
13182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13184 if (!SWIG_IsOK(res1
)) {
13185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13187 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13188 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13189 if (!SWIG_IsOK(ecode2
)) {
13190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13192 arg2
= static_cast< long >(val2
);
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 (arg1
)->ShowPosition(arg2
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 resultobj
= SWIG_Py_Void();
13206 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13207 PyObject
*resultobj
= 0;
13208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13209 wxPoint
*arg2
= 0 ;
13210 long *arg3
= (long *) 0 ;
13211 long *arg4
= (long *) 0 ;
13212 wxTextCtrlHitTestResult result
;
13217 int res3
= SWIG_TMPOBJ
;
13219 int res4
= SWIG_TMPOBJ
;
13220 PyObject
* obj0
= 0 ;
13221 PyObject
* obj1
= 0 ;
13222 char * kwnames
[] = {
13223 (char *) "self",(char *) "pt", NULL
13228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13230 if (!SWIG_IsOK(res1
)) {
13231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13233 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= SWIG_From_int(static_cast< int >(result
));
13245 if (SWIG_IsTmpObj(res3
)) {
13246 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13248 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13249 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13251 if (SWIG_IsTmpObj(res4
)) {
13252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13254 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13263 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
= 0;
13265 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13266 wxPoint
*arg2
= 0 ;
13267 long *arg3
= (long *) 0 ;
13268 wxTextCtrlHitTestResult result
;
13273 int res3
= SWIG_TMPOBJ
;
13274 PyObject
* obj0
= 0 ;
13275 PyObject
* obj1
= 0 ;
13276 char * kwnames
[] = {
13277 (char *) "self",(char *) "pt", NULL
13281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13283 if (!SWIG_IsOK(res1
)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13286 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13289 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= SWIG_From_int(static_cast< int >(result
));
13298 if (SWIG_IsTmpObj(res3
)) {
13299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13301 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13310 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13311 PyObject
*resultobj
= 0;
13312 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13315 PyObject
*swig_obj
[1] ;
13317 if (!args
) SWIG_fail
;
13318 swig_obj
[0] = args
;
13319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13320 if (!SWIG_IsOK(res1
)) {
13321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13323 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= SWIG_Py_Void();
13337 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13338 PyObject
*resultobj
= 0;
13339 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13342 PyObject
*swig_obj
[1] ;
13344 if (!args
) SWIG_fail
;
13345 swig_obj
[0] = args
;
13346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13347 if (!SWIG_IsOK(res1
)) {
13348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13350 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_Py_Void();
13364 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13365 PyObject
*resultobj
= 0;
13366 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13369 PyObject
*swig_obj
[1] ;
13371 if (!args
) SWIG_fail
;
13372 swig_obj
[0] = args
;
13373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13374 if (!SWIG_IsOK(res1
)) {
13375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13377 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= SWIG_Py_Void();
13391 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13392 PyObject
*resultobj
= 0;
13393 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13397 PyObject
*swig_obj
[1] ;
13399 if (!args
) SWIG_fail
;
13400 swig_obj
[0] = args
;
13401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13402 if (!SWIG_IsOK(res1
)) {
13403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13405 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13421 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13422 PyObject
*resultobj
= 0;
13423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13427 PyObject
*swig_obj
[1] ;
13429 if (!args
) SWIG_fail
;
13430 swig_obj
[0] = args
;
13431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13432 if (!SWIG_IsOK(res1
)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13435 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13451 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13452 PyObject
*resultobj
= 0;
13453 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13457 PyObject
*swig_obj
[1] ;
13459 if (!args
) SWIG_fail
;
13460 swig_obj
[0] = args
;
13461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13462 if (!SWIG_IsOK(res1
)) {
13463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13465 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13481 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13482 PyObject
*resultobj
= 0;
13483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13486 PyObject
*swig_obj
[1] ;
13488 if (!args
) SWIG_fail
;
13489 swig_obj
[0] = args
;
13490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13491 if (!SWIG_IsOK(res1
)) {
13492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13494 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 resultobj
= SWIG_Py_Void();
13508 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13509 PyObject
*resultobj
= 0;
13510 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13513 PyObject
*swig_obj
[1] ;
13515 if (!args
) SWIG_fail
;
13516 swig_obj
[0] = args
;
13517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13518 if (!SWIG_IsOK(res1
)) {
13519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13521 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_Py_Void();
13535 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13536 PyObject
*resultobj
= 0;
13537 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13541 PyObject
*swig_obj
[1] ;
13543 if (!args
) SWIG_fail
;
13544 swig_obj
[0] = args
;
13545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13546 if (!SWIG_IsOK(res1
)) {
13547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13549 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13565 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13566 PyObject
*resultobj
= 0;
13567 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13571 PyObject
*swig_obj
[1] ;
13573 if (!args
) SWIG_fail
;
13574 swig_obj
[0] = args
;
13575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13576 if (!SWIG_IsOK(res1
)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13579 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13595 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
= 0;
13597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13603 PyObject
* obj0
= 0 ;
13604 PyObject
* obj1
= 0 ;
13605 char * kwnames
[] = {
13606 (char *) "self",(char *) "pos", NULL
13609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13611 if (!SWIG_IsOK(res1
)) {
13612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13614 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13615 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13616 if (!SWIG_IsOK(ecode2
)) {
13617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13619 arg2
= static_cast< long >(val2
);
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 (arg1
)->SetInsertionPoint(arg2
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 resultobj
= SWIG_Py_Void();
13633 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13634 PyObject
*resultobj
= 0;
13635 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13638 PyObject
*swig_obj
[1] ;
13640 if (!args
) SWIG_fail
;
13641 swig_obj
[0] = args
;
13642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13643 if (!SWIG_IsOK(res1
)) {
13644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13646 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13649 (arg1
)->SetInsertionPointEnd();
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_Py_Void();
13660 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13661 PyObject
*resultobj
= 0;
13662 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13666 PyObject
*swig_obj
[1] ;
13668 if (!args
) SWIG_fail
;
13669 swig_obj
[0] = args
;
13670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13671 if (!SWIG_IsOK(res1
)) {
13672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13674 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13681 resultobj
= SWIG_From_long(static_cast< long >(result
));
13688 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13689 PyObject
*resultobj
= 0;
13690 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13694 PyObject
*swig_obj
[1] ;
13696 if (!args
) SWIG_fail
;
13697 swig_obj
[0] = args
;
13698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13699 if (!SWIG_IsOK(res1
)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13702 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13706 wxPyEndAllowThreads(__tstate
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13709 resultobj
= SWIG_From_long(static_cast< long >(result
));
13716 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13717 PyObject
*resultobj
= 0;
13718 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 PyObject
* obj2
= 0 ;
13730 char * kwnames
[] = {
13731 (char *) "self",(char *) "from",(char *) "to", NULL
13734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13736 if (!SWIG_IsOK(res1
)) {
13737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13739 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13740 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13741 if (!SWIG_IsOK(ecode2
)) {
13742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13744 arg2
= static_cast< long >(val2
);
13745 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13746 if (!SWIG_IsOK(ecode3
)) {
13747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13749 arg3
= static_cast< long >(val3
);
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 (arg1
)->SetSelection(arg2
,arg3
);
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 resultobj
= SWIG_Py_Void();
13763 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13764 PyObject
*resultobj
= 0;
13765 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13768 PyObject
*swig_obj
[1] ;
13770 if (!args
) SWIG_fail
;
13771 swig_obj
[0] = args
;
13772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13773 if (!SWIG_IsOK(res1
)) {
13774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13776 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 (arg1
)->SelectAll();
13780 wxPyEndAllowThreads(__tstate
);
13781 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= SWIG_Py_Void();
13790 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
= 0;
13792 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13798 PyObject
* obj0
= 0 ;
13799 PyObject
* obj1
= 0 ;
13800 char * kwnames
[] = {
13801 (char *) "self",(char *) "editable", NULL
13804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13806 if (!SWIG_IsOK(res1
)) {
13807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13809 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13810 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13811 if (!SWIG_IsOK(ecode2
)) {
13812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13814 arg2
= static_cast< bool >(val2
);
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 (arg1
)->SetEditable(arg2
);
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= SWIG_Py_Void();
13828 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
= 0;
13830 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13836 PyObject
* obj0
= 0 ;
13837 PyObject
* obj1
= 0 ;
13838 char * kwnames
[] = {
13839 (char *) "self",(char *) "check", NULL
13842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13844 if (!SWIG_IsOK(res1
)) {
13845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13847 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13848 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13849 if (!SWIG_IsOK(ecode2
)) {
13850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13852 arg2
= static_cast< bool >(val2
);
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 (arg1
)->MacCheckSpelling(arg2
);
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 resultobj
= SWIG_Py_Void();
13866 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13867 PyObject
*resultobj
= 0;
13868 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13871 PyObject
*swig_obj
[1] ;
13873 if (!args
) SWIG_fail
;
13874 swig_obj
[0] = args
;
13875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13876 if (!SWIG_IsOK(res1
)) {
13877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13879 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 (arg1
)->SendTextUpdatedEvent();
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13886 resultobj
= SWIG_Py_Void();
13893 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
= 0;
13895 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13896 wxString
*arg2
= 0 ;
13899 bool temp2
= false ;
13900 PyObject
* obj0
= 0 ;
13901 PyObject
* obj1
= 0 ;
13902 char * kwnames
[] = {
13903 (char *) "self",(char *) "text", NULL
13906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13908 if (!SWIG_IsOK(res1
)) {
13909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13911 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13913 arg2
= wxString_in_helper(obj1
);
13914 if (arg2
== NULL
) SWIG_fail
;
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= SWIG_Py_Void();
13938 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
= 0;
13940 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13950 PyObject
* obj0
= 0 ;
13951 PyObject
* obj1
= 0 ;
13952 PyObject
* obj2
= 0 ;
13953 char * kwnames
[] = {
13954 (char *) "self",(char *) "from",(char *) "to", NULL
13957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13959 if (!SWIG_IsOK(res1
)) {
13960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13962 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13963 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13964 if (!SWIG_IsOK(ecode2
)) {
13965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13967 arg2
= static_cast< long >(val2
);
13968 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13969 if (!SWIG_IsOK(ecode3
)) {
13970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13972 arg3
= static_cast< long >(val3
);
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13992 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13993 PyObject
*resultobj
= 0;
13994 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13995 SwigValueWrapper
<wxVisualAttributes
> result
;
13998 PyObject
* obj0
= 0 ;
13999 char * kwnames
[] = {
14000 (char *) "variant", NULL
14003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14005 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14006 if (!SWIG_IsOK(ecode1
)) {
14007 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14009 arg1
= static_cast< wxWindowVariant
>(val1
);
14012 if (!wxPyCheckForApp()) SWIG_fail
;
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14025 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14028 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14029 return SWIG_Py_Void();
14032 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14033 return SWIG_Python_InitShadowInstance(args
);
14036 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
= 0;
14039 wxMouseEvent
*arg2
= 0 ;
14042 wxTextUrlEvent
*result
= 0 ;
14051 PyObject
* obj0
= 0 ;
14052 PyObject
* obj1
= 0 ;
14053 PyObject
* obj2
= 0 ;
14054 PyObject
* obj3
= 0 ;
14055 char * kwnames
[] = {
14056 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14060 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14061 if (!SWIG_IsOK(ecode1
)) {
14062 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14064 arg1
= static_cast< int >(val1
);
14065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14066 if (!SWIG_IsOK(res2
)) {
14067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14072 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14073 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14074 if (!SWIG_IsOK(ecode3
)) {
14075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14077 arg3
= static_cast< long >(val3
);
14078 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14079 if (!SWIG_IsOK(ecode4
)) {
14080 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14082 arg4
= static_cast< long >(val4
);
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14096 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14097 PyObject
*resultobj
= 0;
14098 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14099 wxMouseEvent
*result
= 0 ;
14102 PyObject
*swig_obj
[1] ;
14104 if (!args
) SWIG_fail
;
14105 swig_obj
[0] = args
;
14106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14107 if (!SWIG_IsOK(res1
)) {
14108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14110 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14115 result
= (wxMouseEvent
*) &_result_ref
;
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14127 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14128 PyObject
*resultobj
= 0;
14129 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14133 PyObject
*swig_obj
[1] ;
14135 if (!args
) SWIG_fail
;
14136 swig_obj
[0] = args
;
14137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14138 if (!SWIG_IsOK(res1
)) {
14139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14141 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14148 resultobj
= SWIG_From_long(static_cast< long >(result
));
14155 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14156 PyObject
*resultobj
= 0;
14157 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14161 PyObject
*swig_obj
[1] ;
14163 if (!args
) SWIG_fail
;
14164 swig_obj
[0] = args
;
14165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14166 if (!SWIG_IsOK(res1
)) {
14167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14169 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= SWIG_From_long(static_cast< long >(result
));
14183 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14186 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14187 return SWIG_Py_Void();
14190 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14191 return SWIG_Python_InitShadowInstance(args
);
14194 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14195 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14200 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14201 PyObject
*pyobj
= 0;
14205 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14207 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14214 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14215 PyObject
*resultobj
= 0;
14216 wxWindow
*arg1
= (wxWindow
*) 0 ;
14217 int arg2
= (int) -1 ;
14218 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14219 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14220 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14221 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14222 long arg5
= (long) wxSB_HORIZONTAL
;
14223 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14224 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14225 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14226 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14227 wxScrollBar
*result
= 0 ;
14238 bool temp7
= false ;
14239 PyObject
* obj0
= 0 ;
14240 PyObject
* obj1
= 0 ;
14241 PyObject
* obj2
= 0 ;
14242 PyObject
* obj3
= 0 ;
14243 PyObject
* obj4
= 0 ;
14244 PyObject
* obj5
= 0 ;
14245 PyObject
* obj6
= 0 ;
14246 char * kwnames
[] = {
14247 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14252 if (!SWIG_IsOK(res1
)) {
14253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14255 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14258 if (!SWIG_IsOK(ecode2
)) {
14259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14261 arg2
= static_cast< int >(val2
);
14266 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14272 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14276 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14277 if (!SWIG_IsOK(ecode5
)) {
14278 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14280 arg5
= static_cast< long >(val5
);
14283 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14284 if (!SWIG_IsOK(res6
)) {
14285 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14290 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14294 arg7
= wxString_in_helper(obj6
);
14295 if (arg7
== NULL
) SWIG_fail
;
14300 if (!wxPyCheckForApp()) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14321 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14322 PyObject
*resultobj
= 0;
14323 wxScrollBar
*result
= 0 ;
14325 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14327 if (!wxPyCheckForApp()) SWIG_fail
;
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 result
= (wxScrollBar
*)new wxScrollBar();
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14340 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
= 0;
14342 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14343 wxWindow
*arg2
= (wxWindow
*) 0 ;
14344 int arg3
= (int) -1 ;
14345 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14346 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14347 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14348 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14349 long arg6
= (long) wxSB_HORIZONTAL
;
14350 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14351 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14352 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14353 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14367 bool temp8
= false ;
14368 PyObject
* obj0
= 0 ;
14369 PyObject
* obj1
= 0 ;
14370 PyObject
* obj2
= 0 ;
14371 PyObject
* obj3
= 0 ;
14372 PyObject
* obj4
= 0 ;
14373 PyObject
* obj5
= 0 ;
14374 PyObject
* obj6
= 0 ;
14375 PyObject
* obj7
= 0 ;
14376 char * kwnames
[] = {
14377 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14382 if (!SWIG_IsOK(res1
)) {
14383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14385 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14387 if (!SWIG_IsOK(res2
)) {
14388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14390 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14393 if (!SWIG_IsOK(ecode3
)) {
14394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14396 arg3
= static_cast< int >(val3
);
14401 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14407 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14411 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14412 if (!SWIG_IsOK(ecode6
)) {
14413 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14415 arg6
= static_cast< long >(val6
);
14418 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14419 if (!SWIG_IsOK(res7
)) {
14420 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14425 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14429 arg8
= wxString_in_helper(obj7
);
14430 if (arg8
== NULL
) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14457 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14458 PyObject
*resultobj
= 0;
14459 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14463 PyObject
*swig_obj
[1] ;
14465 if (!args
) SWIG_fail
;
14466 swig_obj
[0] = args
;
14467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14468 if (!SWIG_IsOK(res1
)) {
14469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14471 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14478 resultobj
= SWIG_From_int(static_cast< int >(result
));
14485 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14486 PyObject
*resultobj
= 0;
14487 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14491 PyObject
*swig_obj
[1] ;
14493 if (!args
) SWIG_fail
;
14494 swig_obj
[0] = args
;
14495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14496 if (!SWIG_IsOK(res1
)) {
14497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14499 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= SWIG_From_int(static_cast< int >(result
));
14513 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14514 PyObject
*resultobj
= 0;
14515 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14519 PyObject
*swig_obj
[1] ;
14521 if (!args
) SWIG_fail
;
14522 swig_obj
[0] = args
;
14523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14524 if (!SWIG_IsOK(res1
)) {
14525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14527 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14534 resultobj
= SWIG_From_int(static_cast< int >(result
));
14541 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14542 PyObject
*resultobj
= 0;
14543 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14547 PyObject
*swig_obj
[1] ;
14549 if (!args
) SWIG_fail
;
14550 swig_obj
[0] = args
;
14551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14552 if (!SWIG_IsOK(res1
)) {
14553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14555 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 resultobj
= SWIG_From_int(static_cast< int >(result
));
14569 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14570 PyObject
*resultobj
= 0;
14571 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14575 PyObject
*swig_obj
[1] ;
14577 if (!args
) SWIG_fail
;
14578 swig_obj
[0] = args
;
14579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14580 if (!SWIG_IsOK(res1
)) {
14581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14583 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14599 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
= 0;
14601 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14607 PyObject
* obj0
= 0 ;
14608 PyObject
* obj1
= 0 ;
14609 char * kwnames
[] = {
14610 (char *) "self",(char *) "viewStart", NULL
14613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14615 if (!SWIG_IsOK(res1
)) {
14616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14618 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14620 if (!SWIG_IsOK(ecode2
)) {
14621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14623 arg2
= static_cast< int >(val2
);
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 (arg1
)->SetThumbPosition(arg2
);
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= SWIG_Py_Void();
14637 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
= 0;
14639 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14640 SwigValueWrapper
<wxVisualAttributes
> result
;
14643 PyObject
* obj0
= 0 ;
14644 char * kwnames
[] = {
14645 (char *) "variant", NULL
14648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14650 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14651 if (!SWIG_IsOK(ecode1
)) {
14652 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14654 arg1
= static_cast< wxWindowVariant
>(val1
);
14657 if (!wxPyCheckForApp()) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14670 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14672 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14673 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14674 return SWIG_Py_Void();
14677 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14678 return SWIG_Python_InitShadowInstance(args
);
14681 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14682 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14687 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14688 PyObject
*pyobj
= 0;
14692 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14694 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14701 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14702 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14707 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14708 PyObject
*pyobj
= 0;
14712 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14714 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14721 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
= 0;
14723 wxWindow
*arg1
= (wxWindow
*) 0 ;
14724 int arg2
= (int) -1 ;
14725 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14726 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14727 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14728 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14729 long arg5
= (long) wxSP_HORIZONTAL
;
14730 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14731 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14732 wxSpinButton
*result
= 0 ;
14741 bool temp6
= false ;
14742 PyObject
* obj0
= 0 ;
14743 PyObject
* obj1
= 0 ;
14744 PyObject
* obj2
= 0 ;
14745 PyObject
* obj3
= 0 ;
14746 PyObject
* obj4
= 0 ;
14747 PyObject
* obj5
= 0 ;
14748 char * kwnames
[] = {
14749 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14754 if (!SWIG_IsOK(res1
)) {
14755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14757 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14760 if (!SWIG_IsOK(ecode2
)) {
14761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14763 arg2
= static_cast< int >(val2
);
14768 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14774 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14778 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14779 if (!SWIG_IsOK(ecode5
)) {
14780 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14782 arg5
= static_cast< long >(val5
);
14786 arg6
= wxString_in_helper(obj5
);
14787 if (arg6
== NULL
) SWIG_fail
;
14792 if (!wxPyCheckForApp()) SWIG_fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14813 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14814 PyObject
*resultobj
= 0;
14815 wxSpinButton
*result
= 0 ;
14817 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14819 if (!wxPyCheckForApp()) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (wxSpinButton
*)new wxSpinButton();
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14832 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14833 PyObject
*resultobj
= 0;
14834 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14835 wxWindow
*arg2
= (wxWindow
*) 0 ;
14836 int arg3
= (int) -1 ;
14837 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14838 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14839 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14840 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14841 long arg6
= (long) wxSP_HORIZONTAL
;
14842 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14843 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14855 bool temp7
= false ;
14856 PyObject
* obj0
= 0 ;
14857 PyObject
* obj1
= 0 ;
14858 PyObject
* obj2
= 0 ;
14859 PyObject
* obj3
= 0 ;
14860 PyObject
* obj4
= 0 ;
14861 PyObject
* obj5
= 0 ;
14862 PyObject
* obj6
= 0 ;
14863 char * kwnames
[] = {
14864 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14869 if (!SWIG_IsOK(res1
)) {
14870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14872 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14873 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14874 if (!SWIG_IsOK(res2
)) {
14875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14877 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14879 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14880 if (!SWIG_IsOK(ecode3
)) {
14881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14883 arg3
= static_cast< int >(val3
);
14888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14894 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14898 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14899 if (!SWIG_IsOK(ecode6
)) {
14900 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14902 arg6
= static_cast< long >(val6
);
14906 arg7
= wxString_in_helper(obj6
);
14907 if (arg7
== NULL
) SWIG_fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14934 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14935 PyObject
*resultobj
= 0;
14936 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14940 PyObject
*swig_obj
[1] ;
14942 if (!args
) SWIG_fail
;
14943 swig_obj
[0] = args
;
14944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14945 if (!SWIG_IsOK(res1
)) {
14946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14948 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= SWIG_From_int(static_cast< int >(result
));
14962 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14963 PyObject
*resultobj
= 0;
14964 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14968 PyObject
*swig_obj
[1] ;
14970 if (!args
) SWIG_fail
;
14971 swig_obj
[0] = args
;
14972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14973 if (!SWIG_IsOK(res1
)) {
14974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14976 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= SWIG_From_int(static_cast< int >(result
));
14990 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14991 PyObject
*resultobj
= 0;
14992 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14996 PyObject
*swig_obj
[1] ;
14998 if (!args
) SWIG_fail
;
14999 swig_obj
[0] = args
;
15000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15001 if (!SWIG_IsOK(res1
)) {
15002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15004 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15007 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 resultobj
= SWIG_From_int(static_cast< int >(result
));
15018 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
= 0;
15020 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 char * kwnames
[] = {
15029 (char *) "self",(char *) "val", NULL
15032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15034 if (!SWIG_IsOK(res1
)) {
15035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15037 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15039 if (!SWIG_IsOK(ecode2
)) {
15040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15042 arg2
= static_cast< int >(val2
);
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 (arg1
)->SetValue(arg2
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= SWIG_Py_Void();
15056 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
= 0;
15058 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 PyObject
* obj1
= 0 ;
15066 char * kwnames
[] = {
15067 (char *) "self",(char *) "minVal", NULL
15070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15072 if (!SWIG_IsOK(res1
)) {
15073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15075 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15077 if (!SWIG_IsOK(ecode2
)) {
15078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15080 arg2
= static_cast< int >(val2
);
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 (arg1
)->SetMin(arg2
);
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= SWIG_Py_Void();
15094 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
= 0;
15096 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 PyObject
* obj1
= 0 ;
15104 char * kwnames
[] = {
15105 (char *) "self",(char *) "maxVal", NULL
15108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15110 if (!SWIG_IsOK(res1
)) {
15111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15113 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15115 if (!SWIG_IsOK(ecode2
)) {
15116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15118 arg2
= static_cast< int >(val2
);
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 (arg1
)->SetMax(arg2
);
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15125 resultobj
= SWIG_Py_Void();
15132 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15133 PyObject
*resultobj
= 0;
15134 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15143 PyObject
* obj0
= 0 ;
15144 PyObject
* obj1
= 0 ;
15145 PyObject
* obj2
= 0 ;
15146 char * kwnames
[] = {
15147 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15152 if (!SWIG_IsOK(res1
)) {
15153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15155 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15157 if (!SWIG_IsOK(ecode2
)) {
15158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15160 arg2
= static_cast< int >(val2
);
15161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15162 if (!SWIG_IsOK(ecode3
)) {
15163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15165 arg3
= static_cast< int >(val3
);
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 (arg1
)->SetRange(arg2
,arg3
);
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15172 resultobj
= SWIG_Py_Void();
15179 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15180 PyObject
*resultobj
= 0;
15181 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15185 PyObject
*swig_obj
[1] ;
15187 if (!args
) SWIG_fail
;
15188 swig_obj
[0] = args
;
15189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15190 if (!SWIG_IsOK(res1
)) {
15191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15193 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15209 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
= 0;
15211 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15212 SwigValueWrapper
<wxVisualAttributes
> result
;
15215 PyObject
* obj0
= 0 ;
15216 char * kwnames
[] = {
15217 (char *) "variant", NULL
15220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15222 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15223 if (!SWIG_IsOK(ecode1
)) {
15224 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15226 arg1
= static_cast< wxWindowVariant
>(val1
);
15229 if (!wxPyCheckForApp()) SWIG_fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15242 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15245 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15246 return SWIG_Py_Void();
15249 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15250 return SWIG_Python_InitShadowInstance(args
);
15253 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
= 0;
15255 wxWindow
*arg1
= (wxWindow
*) 0 ;
15256 int arg2
= (int) -1 ;
15257 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15258 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15259 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15260 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15261 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15262 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15263 long arg6
= (long) wxSP_ARROW_KEYS
;
15264 int arg7
= (int) 0 ;
15265 int arg8
= (int) 100 ;
15266 int arg9
= (int) 0 ;
15267 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15268 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15269 wxSpinCtrl
*result
= 0 ;
15274 bool temp3
= false ;
15285 bool temp10
= false ;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 PyObject
* obj2
= 0 ;
15289 PyObject
* obj3
= 0 ;
15290 PyObject
* obj4
= 0 ;
15291 PyObject
* obj5
= 0 ;
15292 PyObject
* obj6
= 0 ;
15293 PyObject
* obj7
= 0 ;
15294 PyObject
* obj8
= 0 ;
15295 PyObject
* obj9
= 0 ;
15296 char * kwnames
[] = {
15297 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15302 if (!SWIG_IsOK(res1
)) {
15303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15305 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15308 if (!SWIG_IsOK(ecode2
)) {
15309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15311 arg2
= static_cast< int >(val2
);
15315 arg3
= wxString_in_helper(obj2
);
15316 if (arg3
== NULL
) SWIG_fail
;
15323 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15329 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15333 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15334 if (!SWIG_IsOK(ecode6
)) {
15335 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15337 arg6
= static_cast< long >(val6
);
15340 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15341 if (!SWIG_IsOK(ecode7
)) {
15342 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15344 arg7
= static_cast< int >(val7
);
15347 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15348 if (!SWIG_IsOK(ecode8
)) {
15349 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15351 arg8
= static_cast< int >(val8
);
15354 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15355 if (!SWIG_IsOK(ecode9
)) {
15356 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15358 arg9
= static_cast< int >(val9
);
15362 arg10
= wxString_in_helper(obj9
);
15363 if (arg10
== NULL
) SWIG_fail
;
15368 if (!wxPyCheckForApp()) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15397 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15398 PyObject
*resultobj
= 0;
15399 wxSpinCtrl
*result
= 0 ;
15401 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15403 if (!wxPyCheckForApp()) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15416 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
= 0;
15418 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15419 wxWindow
*arg2
= (wxWindow
*) 0 ;
15420 int arg3
= (int) -1 ;
15421 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15422 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15423 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15424 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15425 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15426 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15427 long arg7
= (long) wxSP_ARROW_KEYS
;
15428 int arg8
= (int) 0 ;
15429 int arg9
= (int) 100 ;
15430 int arg10
= (int) 0 ;
15431 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15432 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15440 bool temp4
= false ;
15451 bool temp11
= false ;
15452 PyObject
* obj0
= 0 ;
15453 PyObject
* obj1
= 0 ;
15454 PyObject
* obj2
= 0 ;
15455 PyObject
* obj3
= 0 ;
15456 PyObject
* obj4
= 0 ;
15457 PyObject
* obj5
= 0 ;
15458 PyObject
* obj6
= 0 ;
15459 PyObject
* obj7
= 0 ;
15460 PyObject
* obj8
= 0 ;
15461 PyObject
* obj9
= 0 ;
15462 PyObject
* obj10
= 0 ;
15463 char * kwnames
[] = {
15464 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15469 if (!SWIG_IsOK(res1
)) {
15470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15472 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15474 if (!SWIG_IsOK(res2
)) {
15475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15477 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15480 if (!SWIG_IsOK(ecode3
)) {
15481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15483 arg3
= static_cast< int >(val3
);
15487 arg4
= wxString_in_helper(obj3
);
15488 if (arg4
== NULL
) SWIG_fail
;
15495 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15501 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15505 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15506 if (!SWIG_IsOK(ecode7
)) {
15507 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15509 arg7
= static_cast< long >(val7
);
15512 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15513 if (!SWIG_IsOK(ecode8
)) {
15514 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15516 arg8
= static_cast< int >(val8
);
15519 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15520 if (!SWIG_IsOK(ecode9
)) {
15521 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15523 arg9
= static_cast< int >(val9
);
15526 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15527 if (!SWIG_IsOK(ecode10
)) {
15528 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15530 arg10
= static_cast< int >(val10
);
15534 arg11
= wxString_in_helper(obj10
);
15535 if (arg11
== NULL
) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15570 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15571 PyObject
*resultobj
= 0;
15572 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15576 PyObject
*swig_obj
[1] ;
15578 if (!args
) SWIG_fail
;
15579 swig_obj
[0] = args
;
15580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15581 if (!SWIG_IsOK(res1
)) {
15582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15584 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= SWIG_From_int(static_cast< int >(result
));
15598 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
= 0;
15600 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 char * kwnames
[] = {
15609 (char *) "self",(char *) "value", NULL
15612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15614 if (!SWIG_IsOK(res1
)) {
15615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15617 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15619 if (!SWIG_IsOK(ecode2
)) {
15620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15622 arg2
= static_cast< int >(val2
);
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 (arg1
)->SetValue(arg2
);
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= SWIG_Py_Void();
15636 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
= 0;
15638 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15639 wxString
*arg2
= 0 ;
15642 bool temp2
= false ;
15643 PyObject
* obj0
= 0 ;
15644 PyObject
* obj1
= 0 ;
15645 char * kwnames
[] = {
15646 (char *) "self",(char *) "text", NULL
15649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15651 if (!SWIG_IsOK(res1
)) {
15652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15654 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15656 arg2
= wxString_in_helper(obj1
);
15657 if (arg2
== NULL
) SWIG_fail
;
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 (arg1
)->SetValue((wxString
const &)*arg2
);
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15666 resultobj
= SWIG_Py_Void();
15681 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
= 0;
15683 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15692 PyObject
* obj0
= 0 ;
15693 PyObject
* obj1
= 0 ;
15694 PyObject
* obj2
= 0 ;
15695 char * kwnames
[] = {
15696 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15701 if (!SWIG_IsOK(res1
)) {
15702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15704 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15706 if (!SWIG_IsOK(ecode2
)) {
15707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15709 arg2
= static_cast< int >(val2
);
15710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15711 if (!SWIG_IsOK(ecode3
)) {
15712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15714 arg3
= static_cast< int >(val3
);
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 (arg1
)->SetRange(arg2
,arg3
);
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 resultobj
= SWIG_Py_Void();
15728 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15729 PyObject
*resultobj
= 0;
15730 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15734 PyObject
*swig_obj
[1] ;
15736 if (!args
) SWIG_fail
;
15737 swig_obj
[0] = args
;
15738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15739 if (!SWIG_IsOK(res1
)) {
15740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15742 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= SWIG_From_int(static_cast< int >(result
));
15756 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15757 PyObject
*resultobj
= 0;
15758 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15762 PyObject
*swig_obj
[1] ;
15764 if (!args
) SWIG_fail
;
15765 swig_obj
[0] = args
;
15766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15767 if (!SWIG_IsOK(res1
)) {
15768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15770 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= SWIG_From_int(static_cast< int >(result
));
15784 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
= 0;
15786 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15795 PyObject
* obj0
= 0 ;
15796 PyObject
* obj1
= 0 ;
15797 PyObject
* obj2
= 0 ;
15798 char * kwnames
[] = {
15799 (char *) "self",(char *) "from",(char *) "to", NULL
15802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15804 if (!SWIG_IsOK(res1
)) {
15805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15807 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15808 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15809 if (!SWIG_IsOK(ecode2
)) {
15810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15812 arg2
= static_cast< long >(val2
);
15813 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15814 if (!SWIG_IsOK(ecode3
)) {
15815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15817 arg3
= static_cast< long >(val3
);
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 (arg1
)->SetSelection(arg2
,arg3
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_Py_Void();
15831 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
= 0;
15833 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15834 SwigValueWrapper
<wxVisualAttributes
> result
;
15837 PyObject
* obj0
= 0 ;
15838 char * kwnames
[] = {
15839 (char *) "variant", NULL
15842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15844 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15845 if (!SWIG_IsOK(ecode1
)) {
15846 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15848 arg1
= static_cast< wxWindowVariant
>(val1
);
15851 if (!wxPyCheckForApp()) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15864 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15867 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15868 return SWIG_Py_Void();
15871 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15872 return SWIG_Python_InitShadowInstance(args
);
15875 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
= 0;
15877 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15878 int arg2
= (int) 0 ;
15879 wxSpinEvent
*result
= 0 ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 char * kwnames
[] = {
15887 (char *) "commandType",(char *) "winid", NULL
15890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15892 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15893 if (!SWIG_IsOK(ecode1
)) {
15894 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15896 arg1
= static_cast< wxEventType
>(val1
);
15899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15900 if (!SWIG_IsOK(ecode2
)) {
15901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15903 arg2
= static_cast< int >(val2
);
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15918 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15919 PyObject
*resultobj
= 0;
15920 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15924 PyObject
*swig_obj
[1] ;
15926 if (!args
) SWIG_fail
;
15927 swig_obj
[0] = args
;
15928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15929 if (!SWIG_IsOK(res1
)) {
15930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15932 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= SWIG_From_int(static_cast< int >(result
));
15946 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15947 PyObject
*resultobj
= 0;
15948 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15954 PyObject
* obj0
= 0 ;
15955 PyObject
* obj1
= 0 ;
15956 char * kwnames
[] = {
15957 (char *) "self",(char *) "pos", NULL
15960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15962 if (!SWIG_IsOK(res1
)) {
15963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15965 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15967 if (!SWIG_IsOK(ecode2
)) {
15968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15970 arg2
= static_cast< int >(val2
);
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15973 (arg1
)->SetPosition(arg2
);
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= SWIG_Py_Void();
15984 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15987 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15988 return SWIG_Py_Void();
15991 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15992 return SWIG_Python_InitShadowInstance(args
);
15995 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15996 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16001 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16002 PyObject
*pyobj
= 0;
16006 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16008 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16015 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16016 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16021 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16022 PyObject
*pyobj
= 0;
16026 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16028 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16035 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
= 0;
16037 wxWindow
*arg1
= (wxWindow
*) 0 ;
16038 int arg2
= (int) -1 ;
16039 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16040 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16041 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16042 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16043 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16044 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16045 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16046 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16047 int arg7
= (int) 0 ;
16048 long arg8
= (long) wxRA_HORIZONTAL
;
16049 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16050 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16051 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16052 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16053 wxRadioBox
*result
= 0 ;
16058 bool temp3
= false ;
16061 bool temp6
= false ;
16068 bool temp10
= false ;
16069 PyObject
* obj0
= 0 ;
16070 PyObject
* obj1
= 0 ;
16071 PyObject
* obj2
= 0 ;
16072 PyObject
* obj3
= 0 ;
16073 PyObject
* obj4
= 0 ;
16074 PyObject
* obj5
= 0 ;
16075 PyObject
* obj6
= 0 ;
16076 PyObject
* obj7
= 0 ;
16077 PyObject
* obj8
= 0 ;
16078 PyObject
* obj9
= 0 ;
16079 char * kwnames
[] = {
16080 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16085 if (!SWIG_IsOK(res1
)) {
16086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16088 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16091 if (!SWIG_IsOK(ecode2
)) {
16092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16094 arg2
= static_cast< int >(val2
);
16098 arg3
= wxString_in_helper(obj2
);
16099 if (arg3
== NULL
) SWIG_fail
;
16106 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16112 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16117 if (! PySequence_Check(obj5
)) {
16118 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16121 arg6
= new wxArrayString
;
16123 int i
, len
=PySequence_Length(obj5
);
16124 for (i
=0; i
<len
; i
++) {
16125 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16126 wxString
* s
= wxString_in_helper(item
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16135 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16136 if (!SWIG_IsOK(ecode7
)) {
16137 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16139 arg7
= static_cast< int >(val7
);
16142 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16143 if (!SWIG_IsOK(ecode8
)) {
16144 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16146 arg8
= static_cast< long >(val8
);
16149 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16150 if (!SWIG_IsOK(res9
)) {
16151 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16156 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16160 arg10
= wxString_in_helper(obj9
);
16161 if (arg10
== NULL
) SWIG_fail
;
16166 if (!wxPyCheckForApp()) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= (wxRadioBox
*)new wxRadioBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
16169 wxPyEndAllowThreads(__tstate
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16178 if (temp6
) delete arg6
;
16191 if (temp6
) delete arg6
;
16201 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16202 PyObject
*resultobj
= 0;
16203 wxRadioBox
*result
= 0 ;
16205 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16207 if (!wxPyCheckForApp()) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (wxRadioBox
*)new wxRadioBox();
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16220 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
= 0;
16222 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16223 wxWindow
*arg2
= (wxWindow
*) 0 ;
16224 int arg3
= (int) -1 ;
16225 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16226 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16227 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16228 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16229 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16230 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16231 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16232 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16233 int arg8
= (int) 0 ;
16234 long arg9
= (long) wxRA_HORIZONTAL
;
16235 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16236 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16237 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16238 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16246 bool temp4
= false ;
16249 bool temp7
= false ;
16256 bool temp11
= false ;
16257 PyObject
* obj0
= 0 ;
16258 PyObject
* obj1
= 0 ;
16259 PyObject
* obj2
= 0 ;
16260 PyObject
* obj3
= 0 ;
16261 PyObject
* obj4
= 0 ;
16262 PyObject
* obj5
= 0 ;
16263 PyObject
* obj6
= 0 ;
16264 PyObject
* obj7
= 0 ;
16265 PyObject
* obj8
= 0 ;
16266 PyObject
* obj9
= 0 ;
16267 PyObject
* obj10
= 0 ;
16268 char * kwnames
[] = {
16269 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16274 if (!SWIG_IsOK(res1
)) {
16275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16277 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16278 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16279 if (!SWIG_IsOK(res2
)) {
16280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16282 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16285 if (!SWIG_IsOK(ecode3
)) {
16286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16288 arg3
= static_cast< int >(val3
);
16292 arg4
= wxString_in_helper(obj3
);
16293 if (arg4
== NULL
) SWIG_fail
;
16300 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16306 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16311 if (! PySequence_Check(obj6
)) {
16312 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16315 arg7
= new wxArrayString
;
16317 int i
, len
=PySequence_Length(obj6
);
16318 for (i
=0; i
<len
; i
++) {
16319 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16320 wxString
* s
= wxString_in_helper(item
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16329 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16330 if (!SWIG_IsOK(ecode8
)) {
16331 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16333 arg8
= static_cast< int >(val8
);
16336 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16337 if (!SWIG_IsOK(ecode9
)) {
16338 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16340 arg9
= static_cast< long >(val9
);
16343 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16344 if (!SWIG_IsOK(res10
)) {
16345 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16350 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16354 arg11
= wxString_in_helper(obj10
);
16355 if (arg11
== NULL
) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16373 if (temp7
) delete arg7
;
16386 if (temp7
) delete arg7
;
16396 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
= 0;
16398 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16404 PyObject
* obj0
= 0 ;
16405 PyObject
* obj1
= 0 ;
16406 char * kwnames
[] = {
16407 (char *) "self",(char *) "n", NULL
16410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16412 if (!SWIG_IsOK(res1
)) {
16413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16415 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16417 if (!SWIG_IsOK(ecode2
)) {
16418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16420 arg2
= static_cast< int >(val2
);
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 (arg1
)->SetSelection(arg2
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= SWIG_Py_Void();
16434 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16435 PyObject
*resultobj
= 0;
16436 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16440 PyObject
*swig_obj
[1] ;
16442 if (!args
) SWIG_fail
;
16443 swig_obj
[0] = args
;
16444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16445 if (!SWIG_IsOK(res1
)) {
16446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16448 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 resultobj
= SWIG_From_int(static_cast< int >(result
));
16462 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16463 PyObject
*resultobj
= 0;
16464 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16468 PyObject
*swig_obj
[1] ;
16470 if (!args
) SWIG_fail
;
16471 swig_obj
[0] = args
;
16472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16473 if (!SWIG_IsOK(res1
)) {
16474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16476 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16496 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
= 0;
16498 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16499 wxString
*arg2
= 0 ;
16503 bool temp2
= false ;
16504 PyObject
* obj0
= 0 ;
16505 PyObject
* obj1
= 0 ;
16506 char * kwnames
[] = {
16507 (char *) "self",(char *) "s", NULL
16510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16512 if (!SWIG_IsOK(res1
)) {
16513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16515 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16517 arg2
= wxString_in_helper(obj1
);
16518 if (arg2
== NULL
) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16544 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16545 PyObject
*resultobj
= 0;
16546 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16550 PyObject
*swig_obj
[1] ;
16552 if (!args
) SWIG_fail
;
16553 swig_obj
[0] = args
;
16554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16555 if (!SWIG_IsOK(res1
)) {
16556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16558 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16565 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16572 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
= 0;
16574 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16575 wxString
*arg2
= 0 ;
16579 bool temp2
= false ;
16580 PyObject
* obj0
= 0 ;
16581 PyObject
* obj1
= 0 ;
16582 char * kwnames
[] = {
16583 (char *) "self",(char *) "s", NULL
16586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16588 if (!SWIG_IsOK(res1
)) {
16589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16591 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16593 arg2
= wxString_in_helper(obj1
);
16594 if (arg2
== NULL
) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= SWIG_From_int(static_cast< int >(result
));
16618 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
= 0;
16620 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16627 PyObject
* obj0
= 0 ;
16628 PyObject
* obj1
= 0 ;
16629 char * kwnames
[] = {
16630 (char *) "self",(char *) "n", NULL
16633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16635 if (!SWIG_IsOK(res1
)) {
16636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16638 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16640 if (!SWIG_IsOK(ecode2
)) {
16641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16643 arg2
= static_cast< int >(val2
);
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16663 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16664 PyObject
*resultobj
= 0;
16665 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16667 wxString
*arg3
= 0 ;
16672 bool temp3
= false ;
16673 PyObject
* obj0
= 0 ;
16674 PyObject
* obj1
= 0 ;
16675 PyObject
* obj2
= 0 ;
16676 char * kwnames
[] = {
16677 (char *) "self",(char *) "n",(char *) "label", NULL
16680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16682 if (!SWIG_IsOK(res1
)) {
16683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16685 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16687 if (!SWIG_IsOK(ecode2
)) {
16688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16690 arg2
= static_cast< int >(val2
);
16692 arg3
= wxString_in_helper(obj2
);
16693 if (arg3
== NULL
) SWIG_fail
;
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= SWIG_Py_Void();
16717 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
= 0;
16719 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16720 unsigned int arg2
;
16721 bool arg3
= (bool) true ;
16724 unsigned int val2
;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 PyObject
* obj2
= 0 ;
16731 char * kwnames
[] = {
16732 (char *) "self",(char *) "n",(char *) "enable", NULL
16735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16737 if (!SWIG_IsOK(res1
)) {
16738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16740 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16741 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16742 if (!SWIG_IsOK(ecode2
)) {
16743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16745 arg2
= static_cast< unsigned int >(val2
);
16747 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16748 if (!SWIG_IsOK(ecode3
)) {
16749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16751 arg3
= static_cast< bool >(val3
);
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 (arg1
)->Enable(arg2
,arg3
);
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16759 resultobj
= SWIG_Py_Void();
16766 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
= 0;
16768 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16769 unsigned int arg2
;
16770 bool arg3
= (bool) true ;
16773 unsigned int val2
;
16777 PyObject
* obj0
= 0 ;
16778 PyObject
* obj1
= 0 ;
16779 PyObject
* obj2
= 0 ;
16780 char * kwnames
[] = {
16781 (char *) "self",(char *) "n",(char *) "show", NULL
16784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16786 if (!SWIG_IsOK(res1
)) {
16787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16789 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16790 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16791 if (!SWIG_IsOK(ecode2
)) {
16792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16794 arg2
= static_cast< unsigned int >(val2
);
16796 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16797 if (!SWIG_IsOK(ecode3
)) {
16798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16800 arg3
= static_cast< bool >(val3
);
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 (arg1
)->Show(arg2
,arg3
);
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= SWIG_Py_Void();
16815 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
= 0;
16817 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16818 unsigned int arg2
;
16822 unsigned int val2
;
16824 PyObject
* obj0
= 0 ;
16825 PyObject
* obj1
= 0 ;
16826 char * kwnames
[] = {
16827 (char *) "self",(char *) "n", NULL
16830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16832 if (!SWIG_IsOK(res1
)) {
16833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16835 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16836 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16837 if (!SWIG_IsOK(ecode2
)) {
16838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16840 arg2
= static_cast< unsigned int >(val2
);
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16844 wxPyEndAllowThreads(__tstate
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16856 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
= 0;
16858 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16859 unsigned int arg2
;
16863 unsigned int val2
;
16865 PyObject
* obj0
= 0 ;
16866 PyObject
* obj1
= 0 ;
16867 char * kwnames
[] = {
16868 (char *) "self",(char *) "n", NULL
16871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16873 if (!SWIG_IsOK(res1
)) {
16874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16876 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16877 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16878 if (!SWIG_IsOK(ecode2
)) {
16879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16881 arg2
= static_cast< unsigned int >(val2
);
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16897 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16898 PyObject
*resultobj
= 0;
16899 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16900 unsigned int result
;
16903 PyObject
*swig_obj
[1] ;
16905 if (!args
) SWIG_fail
;
16906 swig_obj
[0] = args
;
16907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16908 if (!SWIG_IsOK(res1
)) {
16909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16911 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16918 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16925 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16926 PyObject
*resultobj
= 0;
16927 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16928 unsigned int result
;
16931 PyObject
*swig_obj
[1] ;
16933 if (!args
) SWIG_fail
;
16934 swig_obj
[0] = args
;
16935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16936 if (!SWIG_IsOK(res1
)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16939 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16953 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
= 0;
16955 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 PyObject
* obj2
= 0 ;
16971 PyObject
* obj3
= 0 ;
16972 char * kwnames
[] = {
16973 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16978 if (!SWIG_IsOK(res1
)) {
16979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16981 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16983 if (!SWIG_IsOK(ecode2
)) {
16984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16986 arg2
= static_cast< int >(val2
);
16987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16988 if (!SWIG_IsOK(ecode3
)) {
16989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16991 arg3
= static_cast< wxDirection
>(val3
);
16992 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16993 if (!SWIG_IsOK(ecode4
)) {
16994 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16996 arg4
= static_cast< long >(val4
);
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17003 resultobj
= SWIG_From_int(static_cast< int >(result
));
17010 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
= 0;
17012 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17013 unsigned int arg2
;
17014 wxString
*arg3
= 0 ;
17017 unsigned int val2
;
17019 bool temp3
= false ;
17020 PyObject
* obj0
= 0 ;
17021 PyObject
* obj1
= 0 ;
17022 PyObject
* obj2
= 0 ;
17023 char * kwnames
[] = {
17024 (char *) "self",(char *) "item",(char *) "text", NULL
17027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17029 if (!SWIG_IsOK(res1
)) {
17030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17032 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17033 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17034 if (!SWIG_IsOK(ecode2
)) {
17035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17037 arg2
= static_cast< unsigned int >(val2
);
17039 arg3
= wxString_in_helper(obj2
);
17040 if (arg3
== NULL
) SWIG_fail
;
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17049 resultobj
= SWIG_Py_Void();
17064 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
= 0;
17066 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17067 unsigned int arg2
;
17068 wxToolTip
*result
= 0 ;
17071 unsigned int val2
;
17073 PyObject
* obj0
= 0 ;
17074 PyObject
* obj1
= 0 ;
17075 char * kwnames
[] = {
17076 (char *) "self",(char *) "item", NULL
17079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17081 if (!SWIG_IsOK(res1
)) {
17082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17084 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17085 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17086 if (!SWIG_IsOK(ecode2
)) {
17087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17089 arg2
= static_cast< unsigned int >(val2
);
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17097 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17105 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
= 0;
17107 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17108 unsigned int arg2
;
17109 wxString
*arg3
= 0 ;
17112 unsigned int val2
;
17114 bool temp3
= false ;
17115 PyObject
* obj0
= 0 ;
17116 PyObject
* obj1
= 0 ;
17117 PyObject
* obj2
= 0 ;
17118 char * kwnames
[] = {
17119 (char *) "self",(char *) "n",(char *) "helpText", NULL
17122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17124 if (!SWIG_IsOK(res1
)) {
17125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17127 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17128 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17129 if (!SWIG_IsOK(ecode2
)) {
17130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17132 arg2
= static_cast< unsigned int >(val2
);
17134 arg3
= wxString_in_helper(obj2
);
17135 if (arg3
== NULL
) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17144 resultobj
= SWIG_Py_Void();
17159 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
= 0;
17161 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17162 unsigned int arg2
;
17166 unsigned int val2
;
17168 PyObject
* obj0
= 0 ;
17169 PyObject
* obj1
= 0 ;
17170 char * kwnames
[] = {
17171 (char *) "self",(char *) "n", NULL
17174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17176 if (!SWIG_IsOK(res1
)) {
17177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17179 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17180 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17181 if (!SWIG_IsOK(ecode2
)) {
17182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17184 arg2
= static_cast< unsigned int >(val2
);
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17204 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17205 PyObject
*resultobj
= 0;
17206 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17207 SwigValueWrapper
<wxVisualAttributes
> result
;
17210 PyObject
* obj0
= 0 ;
17211 char * kwnames
[] = {
17212 (char *) "variant", NULL
17215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17217 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17218 if (!SWIG_IsOK(ecode1
)) {
17219 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17221 arg1
= static_cast< wxWindowVariant
>(val1
);
17224 if (!wxPyCheckForApp()) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17237 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17240 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17241 return SWIG_Py_Void();
17244 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17245 return SWIG_Python_InitShadowInstance(args
);
17248 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
= 0;
17250 wxWindow
*arg1
= (wxWindow
*) 0 ;
17251 int arg2
= (int) -1 ;
17252 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17253 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17258 long arg6
= (long) 0 ;
17259 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17260 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17261 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17262 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17263 wxRadioButton
*result
= 0 ;
17268 bool temp3
= false ;
17275 bool temp8
= false ;
17276 PyObject
* obj0
= 0 ;
17277 PyObject
* obj1
= 0 ;
17278 PyObject
* obj2
= 0 ;
17279 PyObject
* obj3
= 0 ;
17280 PyObject
* obj4
= 0 ;
17281 PyObject
* obj5
= 0 ;
17282 PyObject
* obj6
= 0 ;
17283 PyObject
* obj7
= 0 ;
17284 char * kwnames
[] = {
17285 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17290 if (!SWIG_IsOK(res1
)) {
17291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17293 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17296 if (!SWIG_IsOK(ecode2
)) {
17297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17299 arg2
= static_cast< int >(val2
);
17303 arg3
= wxString_in_helper(obj2
);
17304 if (arg3
== NULL
) SWIG_fail
;
17311 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17317 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17321 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17322 if (!SWIG_IsOK(ecode6
)) {
17323 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17325 arg6
= static_cast< long >(val6
);
17328 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17329 if (!SWIG_IsOK(res7
)) {
17330 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17335 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17339 arg8
= wxString_in_helper(obj7
);
17340 if (arg8
== NULL
) SWIG_fail
;
17345 if (!wxPyCheckForApp()) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17374 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17375 PyObject
*resultobj
= 0;
17376 wxRadioButton
*result
= 0 ;
17378 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17380 if (!wxPyCheckForApp()) SWIG_fail
;
17381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17382 result
= (wxRadioButton
*)new wxRadioButton();
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17393 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
= 0;
17395 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17396 wxWindow
*arg2
= (wxWindow
*) 0 ;
17397 int arg3
= (int) -1 ;
17398 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17399 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17400 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17401 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17402 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17403 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17404 long arg7
= (long) 0 ;
17405 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17406 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17407 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17408 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17416 bool temp4
= false ;
17423 bool temp9
= false ;
17424 PyObject
* obj0
= 0 ;
17425 PyObject
* obj1
= 0 ;
17426 PyObject
* obj2
= 0 ;
17427 PyObject
* obj3
= 0 ;
17428 PyObject
* obj4
= 0 ;
17429 PyObject
* obj5
= 0 ;
17430 PyObject
* obj6
= 0 ;
17431 PyObject
* obj7
= 0 ;
17432 PyObject
* obj8
= 0 ;
17433 char * kwnames
[] = {
17434 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17439 if (!SWIG_IsOK(res1
)) {
17440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17442 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17443 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17444 if (!SWIG_IsOK(res2
)) {
17445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17447 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17450 if (!SWIG_IsOK(ecode3
)) {
17451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17453 arg3
= static_cast< int >(val3
);
17457 arg4
= wxString_in_helper(obj3
);
17458 if (arg4
== NULL
) SWIG_fail
;
17465 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17471 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17475 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17476 if (!SWIG_IsOK(ecode7
)) {
17477 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17479 arg7
= static_cast< long >(val7
);
17482 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17483 if (!SWIG_IsOK(res8
)) {
17484 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17489 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17493 arg9
= wxString_in_helper(obj8
);
17494 if (arg9
== NULL
) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17529 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17530 PyObject
*resultobj
= 0;
17531 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17535 PyObject
*swig_obj
[1] ;
17537 if (!args
) SWIG_fail
;
17538 swig_obj
[0] = args
;
17539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17540 if (!SWIG_IsOK(res1
)) {
17541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17543 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 result
= (bool)(arg1
)->GetValue();
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17559 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
= 0;
17561 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17567 PyObject
* obj0
= 0 ;
17568 PyObject
* obj1
= 0 ;
17569 char * kwnames
[] = {
17570 (char *) "self",(char *) "value", NULL
17573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17575 if (!SWIG_IsOK(res1
)) {
17576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17578 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17579 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17580 if (!SWIG_IsOK(ecode2
)) {
17581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17583 arg2
= static_cast< bool >(val2
);
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 (arg1
)->SetValue(arg2
);
17587 wxPyEndAllowThreads(__tstate
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17590 resultobj
= SWIG_Py_Void();
17597 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
= 0;
17599 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17600 SwigValueWrapper
<wxVisualAttributes
> result
;
17603 PyObject
* obj0
= 0 ;
17604 char * kwnames
[] = {
17605 (char *) "variant", NULL
17608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17610 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17611 if (!SWIG_IsOK(ecode1
)) {
17612 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17614 arg1
= static_cast< wxWindowVariant
>(val1
);
17617 if (!wxPyCheckForApp()) SWIG_fail
;
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17623 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17630 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17633 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17634 return SWIG_Py_Void();
17637 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17638 return SWIG_Python_InitShadowInstance(args
);
17641 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17642 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17647 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17648 PyObject
*pyobj
= 0;
17652 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17654 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17661 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
= 0;
17663 wxWindow
*arg1
= (wxWindow
*) 0 ;
17664 int arg2
= (int) -1 ;
17665 int arg3
= (int) 0 ;
17666 int arg4
= (int) 0 ;
17667 int arg5
= (int) 100 ;
17668 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17669 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17670 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17671 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17672 long arg8
= (long) wxSL_HORIZONTAL
;
17673 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17674 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17675 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17676 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17677 wxSlider
*result
= 0 ;
17694 bool temp10
= false ;
17695 PyObject
* obj0
= 0 ;
17696 PyObject
* obj1
= 0 ;
17697 PyObject
* obj2
= 0 ;
17698 PyObject
* obj3
= 0 ;
17699 PyObject
* obj4
= 0 ;
17700 PyObject
* obj5
= 0 ;
17701 PyObject
* obj6
= 0 ;
17702 PyObject
* obj7
= 0 ;
17703 PyObject
* obj8
= 0 ;
17704 PyObject
* obj9
= 0 ;
17705 char * kwnames
[] = {
17706 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17711 if (!SWIG_IsOK(res1
)) {
17712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17714 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17717 if (!SWIG_IsOK(ecode2
)) {
17718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17720 arg2
= static_cast< int >(val2
);
17723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17724 if (!SWIG_IsOK(ecode3
)) {
17725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17727 arg3
= static_cast< int >(val3
);
17730 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17731 if (!SWIG_IsOK(ecode4
)) {
17732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17734 arg4
= static_cast< int >(val4
);
17737 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17738 if (!SWIG_IsOK(ecode5
)) {
17739 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17741 arg5
= static_cast< int >(val5
);
17746 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17752 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17756 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17757 if (!SWIG_IsOK(ecode8
)) {
17758 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17760 arg8
= static_cast< long >(val8
);
17763 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17764 if (!SWIG_IsOK(res9
)) {
17765 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17770 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17774 arg10
= wxString_in_helper(obj9
);
17775 if (arg10
== NULL
) SWIG_fail
;
17780 if (!wxPyCheckForApp()) SWIG_fail
;
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17801 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17802 PyObject
*resultobj
= 0;
17803 wxSlider
*result
= 0 ;
17805 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17807 if (!wxPyCheckForApp()) SWIG_fail
;
17808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 result
= (wxSlider
*)new wxSlider();
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17820 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
= 0;
17822 wxSlider
*arg1
= (wxSlider
*) 0 ;
17823 wxWindow
*arg2
= (wxWindow
*) 0 ;
17824 int arg3
= (int) -1 ;
17825 int arg4
= (int) 0 ;
17826 int arg5
= (int) 0 ;
17827 int arg6
= (int) 100 ;
17828 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17829 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17830 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17831 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17832 long arg9
= (long) wxSL_HORIZONTAL
;
17833 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17834 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17835 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17836 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17856 bool temp11
= false ;
17857 PyObject
* obj0
= 0 ;
17858 PyObject
* obj1
= 0 ;
17859 PyObject
* obj2
= 0 ;
17860 PyObject
* obj3
= 0 ;
17861 PyObject
* obj4
= 0 ;
17862 PyObject
* obj5
= 0 ;
17863 PyObject
* obj6
= 0 ;
17864 PyObject
* obj7
= 0 ;
17865 PyObject
* obj8
= 0 ;
17866 PyObject
* obj9
= 0 ;
17867 PyObject
* obj10
= 0 ;
17868 char * kwnames
[] = {
17869 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17874 if (!SWIG_IsOK(res1
)) {
17875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17877 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17879 if (!SWIG_IsOK(res2
)) {
17880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17882 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17885 if (!SWIG_IsOK(ecode3
)) {
17886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17888 arg3
= static_cast< int >(val3
);
17891 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17892 if (!SWIG_IsOK(ecode4
)) {
17893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17895 arg4
= static_cast< int >(val4
);
17898 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17899 if (!SWIG_IsOK(ecode5
)) {
17900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17902 arg5
= static_cast< int >(val5
);
17905 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17906 if (!SWIG_IsOK(ecode6
)) {
17907 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17909 arg6
= static_cast< int >(val6
);
17914 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17920 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17924 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17925 if (!SWIG_IsOK(ecode9
)) {
17926 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17928 arg9
= static_cast< long >(val9
);
17931 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17932 if (!SWIG_IsOK(res10
)) {
17933 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17938 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17942 arg11
= wxString_in_helper(obj10
);
17943 if (arg11
== NULL
) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17950 wxPyEndAllowThreads(__tstate
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17970 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17971 PyObject
*resultobj
= 0;
17972 wxSlider
*arg1
= (wxSlider
*) 0 ;
17976 PyObject
*swig_obj
[1] ;
17978 if (!args
) SWIG_fail
;
17979 swig_obj
[0] = args
;
17980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17981 if (!SWIG_IsOK(res1
)) {
17982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17984 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 resultobj
= SWIG_From_int(static_cast< int >(result
));
17998 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
= 0;
18000 wxSlider
*arg1
= (wxSlider
*) 0 ;
18006 PyObject
* obj0
= 0 ;
18007 PyObject
* obj1
= 0 ;
18008 char * kwnames
[] = {
18009 (char *) "self",(char *) "value", NULL
18012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18014 if (!SWIG_IsOK(res1
)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18017 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18019 if (!SWIG_IsOK(ecode2
)) {
18020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18022 arg2
= static_cast< int >(val2
);
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 (arg1
)->SetValue(arg2
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= SWIG_Py_Void();
18036 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
= 0;
18038 wxSlider
*arg1
= (wxSlider
*) 0 ;
18047 PyObject
* obj0
= 0 ;
18048 PyObject
* obj1
= 0 ;
18049 PyObject
* obj2
= 0 ;
18050 char * kwnames
[] = {
18051 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18056 if (!SWIG_IsOK(res1
)) {
18057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18059 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18061 if (!SWIG_IsOK(ecode2
)) {
18062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18064 arg2
= static_cast< int >(val2
);
18065 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18066 if (!SWIG_IsOK(ecode3
)) {
18067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18069 arg3
= static_cast< int >(val3
);
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 (arg1
)->SetRange(arg2
,arg3
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= SWIG_Py_Void();
18083 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18084 PyObject
*resultobj
= 0;
18085 wxSlider
*arg1
= (wxSlider
*) 0 ;
18089 PyObject
*swig_obj
[1] ;
18091 if (!args
) SWIG_fail
;
18092 swig_obj
[0] = args
;
18093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18094 if (!SWIG_IsOK(res1
)) {
18095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18097 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= SWIG_From_int(static_cast< int >(result
));
18111 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18112 PyObject
*resultobj
= 0;
18113 wxSlider
*arg1
= (wxSlider
*) 0 ;
18117 PyObject
*swig_obj
[1] ;
18119 if (!args
) SWIG_fail
;
18120 swig_obj
[0] = args
;
18121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18122 if (!SWIG_IsOK(res1
)) {
18123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18125 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18129 wxPyEndAllowThreads(__tstate
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 resultobj
= SWIG_From_int(static_cast< int >(result
));
18139 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
= 0;
18141 wxSlider
*arg1
= (wxSlider
*) 0 ;
18147 PyObject
* obj0
= 0 ;
18148 PyObject
* obj1
= 0 ;
18149 char * kwnames
[] = {
18150 (char *) "self",(char *) "minValue", NULL
18153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18155 if (!SWIG_IsOK(res1
)) {
18156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18158 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18160 if (!SWIG_IsOK(ecode2
)) {
18161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18163 arg2
= static_cast< int >(val2
);
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 (arg1
)->SetMin(arg2
);
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18170 resultobj
= SWIG_Py_Void();
18177 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
= 0;
18179 wxSlider
*arg1
= (wxSlider
*) 0 ;
18185 PyObject
* obj0
= 0 ;
18186 PyObject
* obj1
= 0 ;
18187 char * kwnames
[] = {
18188 (char *) "self",(char *) "maxValue", NULL
18191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18193 if (!SWIG_IsOK(res1
)) {
18194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18196 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18198 if (!SWIG_IsOK(ecode2
)) {
18199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18201 arg2
= static_cast< int >(val2
);
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 (arg1
)->SetMax(arg2
);
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 resultobj
= SWIG_Py_Void();
18215 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
= 0;
18217 wxSlider
*arg1
= (wxSlider
*) 0 ;
18223 PyObject
* obj0
= 0 ;
18224 PyObject
* obj1
= 0 ;
18225 char * kwnames
[] = {
18226 (char *) "self",(char *) "lineSize", NULL
18229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18231 if (!SWIG_IsOK(res1
)) {
18232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18234 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18236 if (!SWIG_IsOK(ecode2
)) {
18237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18239 arg2
= static_cast< int >(val2
);
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 (arg1
)->SetLineSize(arg2
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= SWIG_Py_Void();
18253 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
= 0;
18255 wxSlider
*arg1
= (wxSlider
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 PyObject
* obj1
= 0 ;
18263 char * kwnames
[] = {
18264 (char *) "self",(char *) "pageSize", NULL
18267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18269 if (!SWIG_IsOK(res1
)) {
18270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18272 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18274 if (!SWIG_IsOK(ecode2
)) {
18275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18277 arg2
= static_cast< int >(val2
);
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 (arg1
)->SetPageSize(arg2
);
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 resultobj
= SWIG_Py_Void();
18291 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18292 PyObject
*resultobj
= 0;
18293 wxSlider
*arg1
= (wxSlider
*) 0 ;
18297 PyObject
*swig_obj
[1] ;
18299 if (!args
) SWIG_fail
;
18300 swig_obj
[0] = args
;
18301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18302 if (!SWIG_IsOK(res1
)) {
18303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18305 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 resultobj
= SWIG_From_int(static_cast< int >(result
));
18319 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18320 PyObject
*resultobj
= 0;
18321 wxSlider
*arg1
= (wxSlider
*) 0 ;
18325 PyObject
*swig_obj
[1] ;
18327 if (!args
) SWIG_fail
;
18328 swig_obj
[0] = args
;
18329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18330 if (!SWIG_IsOK(res1
)) {
18331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18333 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 resultobj
= SWIG_From_int(static_cast< int >(result
));
18347 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
= 0;
18349 wxSlider
*arg1
= (wxSlider
*) 0 ;
18355 PyObject
* obj0
= 0 ;
18356 PyObject
* obj1
= 0 ;
18357 char * kwnames
[] = {
18358 (char *) "self",(char *) "lenPixels", NULL
18361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18363 if (!SWIG_IsOK(res1
)) {
18364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18366 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18368 if (!SWIG_IsOK(ecode2
)) {
18369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18371 arg2
= static_cast< int >(val2
);
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 (arg1
)->SetThumbLength(arg2
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 resultobj
= SWIG_Py_Void();
18385 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18386 PyObject
*resultobj
= 0;
18387 wxSlider
*arg1
= (wxSlider
*) 0 ;
18391 PyObject
*swig_obj
[1] ;
18393 if (!args
) SWIG_fail
;
18394 swig_obj
[0] = args
;
18395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18396 if (!SWIG_IsOK(res1
)) {
18397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18399 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18403 wxPyEndAllowThreads(__tstate
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18406 resultobj
= SWIG_From_int(static_cast< int >(result
));
18413 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18414 PyObject
*resultobj
= 0;
18415 wxSlider
*arg1
= (wxSlider
*) 0 ;
18417 int arg3
= (int) 1 ;
18424 PyObject
* obj0
= 0 ;
18425 PyObject
* obj1
= 0 ;
18426 PyObject
* obj2
= 0 ;
18427 char * kwnames
[] = {
18428 (char *) "self",(char *) "n",(char *) "pos", NULL
18431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18433 if (!SWIG_IsOK(res1
)) {
18434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18436 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18438 if (!SWIG_IsOK(ecode2
)) {
18439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18441 arg2
= static_cast< int >(val2
);
18443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18444 if (!SWIG_IsOK(ecode3
)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18447 arg3
= static_cast< int >(val3
);
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 (arg1
)->SetTickFreq(arg2
,arg3
);
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 resultobj
= SWIG_Py_Void();
18462 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18463 PyObject
*resultobj
= 0;
18464 wxSlider
*arg1
= (wxSlider
*) 0 ;
18468 PyObject
*swig_obj
[1] ;
18470 if (!args
) SWIG_fail
;
18471 swig_obj
[0] = args
;
18472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18473 if (!SWIG_IsOK(res1
)) {
18474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18476 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= SWIG_From_int(static_cast< int >(result
));
18490 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18491 PyObject
*resultobj
= 0;
18492 wxSlider
*arg1
= (wxSlider
*) 0 ;
18495 PyObject
*swig_obj
[1] ;
18497 if (!args
) SWIG_fail
;
18498 swig_obj
[0] = args
;
18499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18500 if (!SWIG_IsOK(res1
)) {
18501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18503 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 (arg1
)->ClearTicks();
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 resultobj
= SWIG_Py_Void();
18517 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
= 0;
18519 wxSlider
*arg1
= (wxSlider
*) 0 ;
18525 PyObject
* obj0
= 0 ;
18526 PyObject
* obj1
= 0 ;
18527 char * kwnames
[] = {
18528 (char *) "self",(char *) "tickPos", NULL
18531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18533 if (!SWIG_IsOK(res1
)) {
18534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18536 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18538 if (!SWIG_IsOK(ecode2
)) {
18539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18541 arg2
= static_cast< int >(val2
);
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 (arg1
)->SetTick(arg2
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 resultobj
= SWIG_Py_Void();
18555 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18556 PyObject
*resultobj
= 0;
18557 wxSlider
*arg1
= (wxSlider
*) 0 ;
18560 PyObject
*swig_obj
[1] ;
18562 if (!args
) SWIG_fail
;
18563 swig_obj
[0] = args
;
18564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18565 if (!SWIG_IsOK(res1
)) {
18566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18568 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 (arg1
)->ClearSel();
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= SWIG_Py_Void();
18582 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18583 PyObject
*resultobj
= 0;
18584 wxSlider
*arg1
= (wxSlider
*) 0 ;
18588 PyObject
*swig_obj
[1] ;
18590 if (!args
) SWIG_fail
;
18591 swig_obj
[0] = args
;
18592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18593 if (!SWIG_IsOK(res1
)) {
18594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18596 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18603 resultobj
= SWIG_From_int(static_cast< int >(result
));
18610 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18611 PyObject
*resultobj
= 0;
18612 wxSlider
*arg1
= (wxSlider
*) 0 ;
18616 PyObject
*swig_obj
[1] ;
18618 if (!args
) SWIG_fail
;
18619 swig_obj
[0] = args
;
18620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18621 if (!SWIG_IsOK(res1
)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18624 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18628 wxPyEndAllowThreads(__tstate
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 resultobj
= SWIG_From_int(static_cast< int >(result
));
18638 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
= 0;
18640 wxSlider
*arg1
= (wxSlider
*) 0 ;
18649 PyObject
* obj0
= 0 ;
18650 PyObject
* obj1
= 0 ;
18651 PyObject
* obj2
= 0 ;
18652 char * kwnames
[] = {
18653 (char *) "self",(char *) "min",(char *) "max", NULL
18656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18658 if (!SWIG_IsOK(res1
)) {
18659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18661 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18663 if (!SWIG_IsOK(ecode2
)) {
18664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18666 arg2
= static_cast< int >(val2
);
18667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18668 if (!SWIG_IsOK(ecode3
)) {
18669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18671 arg3
= static_cast< int >(val3
);
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 (arg1
)->SetSelection(arg2
,arg3
);
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= SWIG_Py_Void();
18685 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18686 PyObject
*resultobj
= 0;
18687 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18688 SwigValueWrapper
<wxVisualAttributes
> result
;
18691 PyObject
* obj0
= 0 ;
18692 char * kwnames
[] = {
18693 (char *) "variant", NULL
18696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18698 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18699 if (!SWIG_IsOK(ecode1
)) {
18700 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18702 arg1
= static_cast< wxWindowVariant
>(val1
);
18705 if (!wxPyCheckForApp()) SWIG_fail
;
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18718 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18721 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18722 return SWIG_Py_Void();
18725 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18726 return SWIG_Python_InitShadowInstance(args
);
18729 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18730 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18735 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18736 PyObject
*pyobj
= 0;
18740 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18742 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18749 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18750 PyObject
*resultobj
= 0;
18751 wxWindow
*arg1
= (wxWindow
*) 0 ;
18752 int arg2
= (int) -1 ;
18753 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18754 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18755 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18756 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18757 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18758 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18759 long arg6
= (long) 0 ;
18760 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18761 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18762 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18763 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18764 wxToggleButton
*result
= 0 ;
18769 bool temp3
= false ;
18776 bool temp8
= false ;
18777 PyObject
* obj0
= 0 ;
18778 PyObject
* obj1
= 0 ;
18779 PyObject
* obj2
= 0 ;
18780 PyObject
* obj3
= 0 ;
18781 PyObject
* obj4
= 0 ;
18782 PyObject
* obj5
= 0 ;
18783 PyObject
* obj6
= 0 ;
18784 PyObject
* obj7
= 0 ;
18785 char * kwnames
[] = {
18786 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18791 if (!SWIG_IsOK(res1
)) {
18792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18797 if (!SWIG_IsOK(ecode2
)) {
18798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18800 arg2
= static_cast< int >(val2
);
18804 arg3
= wxString_in_helper(obj2
);
18805 if (arg3
== NULL
) SWIG_fail
;
18812 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18818 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18822 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18823 if (!SWIG_IsOK(ecode6
)) {
18824 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18826 arg6
= static_cast< long >(val6
);
18829 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18830 if (!SWIG_IsOK(res7
)) {
18831 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18836 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18840 arg8
= wxString_in_helper(obj7
);
18841 if (arg8
== NULL
) SWIG_fail
;
18846 if (!wxPyCheckForApp()) SWIG_fail
;
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18875 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18876 PyObject
*resultobj
= 0;
18877 wxToggleButton
*result
= 0 ;
18879 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18881 if (!wxPyCheckForApp()) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 result
= (wxToggleButton
*)new wxToggleButton();
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18894 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
= 0;
18896 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18897 wxWindow
*arg2
= (wxWindow
*) 0 ;
18898 int arg3
= (int) -1 ;
18899 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18900 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18901 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18902 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18903 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18904 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18905 long arg7
= (long) 0 ;
18906 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18907 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18908 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18909 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18917 bool temp4
= false ;
18924 bool temp9
= false ;
18925 PyObject
* obj0
= 0 ;
18926 PyObject
* obj1
= 0 ;
18927 PyObject
* obj2
= 0 ;
18928 PyObject
* obj3
= 0 ;
18929 PyObject
* obj4
= 0 ;
18930 PyObject
* obj5
= 0 ;
18931 PyObject
* obj6
= 0 ;
18932 PyObject
* obj7
= 0 ;
18933 PyObject
* obj8
= 0 ;
18934 char * kwnames
[] = {
18935 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18940 if (!SWIG_IsOK(res1
)) {
18941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18943 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18945 if (!SWIG_IsOK(res2
)) {
18946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18948 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18951 if (!SWIG_IsOK(ecode3
)) {
18952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18954 arg3
= static_cast< int >(val3
);
18958 arg4
= wxString_in_helper(obj3
);
18959 if (arg4
== NULL
) SWIG_fail
;
18966 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18972 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18976 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18977 if (!SWIG_IsOK(ecode7
)) {
18978 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18980 arg7
= static_cast< long >(val7
);
18983 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18984 if (!SWIG_IsOK(res8
)) {
18985 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18990 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18994 arg9
= wxString_in_helper(obj8
);
18995 if (arg9
== NULL
) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19030 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
= 0;
19032 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19038 PyObject
* obj0
= 0 ;
19039 PyObject
* obj1
= 0 ;
19040 char * kwnames
[] = {
19041 (char *) "self",(char *) "value", NULL
19044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19046 if (!SWIG_IsOK(res1
)) {
19047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19049 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19050 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19051 if (!SWIG_IsOK(ecode2
)) {
19052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19054 arg2
= static_cast< bool >(val2
);
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 (arg1
)->SetValue(arg2
);
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 resultobj
= SWIG_Py_Void();
19068 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19069 PyObject
*resultobj
= 0;
19070 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19074 PyObject
*swig_obj
[1] ;
19076 if (!args
) SWIG_fail
;
19077 swig_obj
[0] = args
;
19078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19079 if (!SWIG_IsOK(res1
)) {
19080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19082 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19098 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
= 0;
19100 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19101 SwigValueWrapper
<wxVisualAttributes
> result
;
19104 PyObject
* obj0
= 0 ;
19105 char * kwnames
[] = {
19106 (char *) "variant", NULL
19109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19111 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19112 if (!SWIG_IsOK(ecode1
)) {
19113 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19115 arg1
= static_cast< wxWindowVariant
>(val1
);
19118 if (!wxPyCheckForApp()) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19131 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19134 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19135 return SWIG_Py_Void();
19138 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19139 return SWIG_Python_InitShadowInstance(args
);
19142 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19143 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19148 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19149 PyObject
*pyobj
= 0;
19153 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19155 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19162 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19163 PyObject
*resultobj
= 0;
19164 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19168 PyObject
*swig_obj
[1] ;
19170 if (!args
) SWIG_fail
;
19171 swig_obj
[0] = args
;
19172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19173 if (!SWIG_IsOK(res1
)) {
19174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19176 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19190 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
= 0;
19192 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19194 wxWindow
*result
= 0 ;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 char * kwnames
[] = {
19202 (char *) "self",(char *) "n", NULL
19205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19207 if (!SWIG_IsOK(res1
)) {
19208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19210 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19211 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19212 if (!SWIG_IsOK(ecode2
)) {
19213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19215 arg2
= static_cast< size_t >(val2
);
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19223 resultobj
= wxPyMake_wxObject(result
, 0);
19231 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19232 PyObject
*resultobj
= 0;
19233 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19234 wxWindow
*result
= 0 ;
19237 PyObject
*swig_obj
[1] ;
19239 if (!args
) SWIG_fail
;
19240 swig_obj
[0] = args
;
19241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19242 if (!SWIG_IsOK(res1
)) {
19243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19245 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19253 resultobj
= wxPyMake_wxObject(result
, 0);
19261 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19262 PyObject
*resultobj
= 0;
19263 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19267 PyObject
*swig_obj
[1] ;
19269 if (!args
) SWIG_fail
;
19270 swig_obj
[0] = args
;
19271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19272 if (!SWIG_IsOK(res1
)) {
19273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19275 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19282 resultobj
= SWIG_From_int(static_cast< int >(result
));
19289 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
= 0;
19291 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19293 wxString
*arg3
= 0 ;
19299 bool temp3
= false ;
19300 PyObject
* obj0
= 0 ;
19301 PyObject
* obj1
= 0 ;
19302 PyObject
* obj2
= 0 ;
19303 char * kwnames
[] = {
19304 (char *) "self",(char *) "n",(char *) "strText", NULL
19307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19309 if (!SWIG_IsOK(res1
)) {
19310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19312 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19313 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19314 if (!SWIG_IsOK(ecode2
)) {
19315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19317 arg2
= static_cast< size_t >(val2
);
19319 arg3
= wxString_in_helper(obj2
);
19320 if (arg3
== NULL
) SWIG_fail
;
19324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19346 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19347 PyObject
*resultobj
= 0;
19348 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19355 PyObject
* obj0
= 0 ;
19356 PyObject
* obj1
= 0 ;
19357 char * kwnames
[] = {
19358 (char *) "self",(char *) "n", NULL
19361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19363 if (!SWIG_IsOK(res1
)) {
19364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19366 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19367 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19368 if (!SWIG_IsOK(ecode2
)) {
19369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19371 arg2
= static_cast< size_t >(val2
);
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19391 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
= 0;
19393 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19394 wxImageList
*arg2
= (wxImageList
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char * kwnames
[] = {
19402 (char *) "self",(char *) "imageList", NULL
19405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19407 if (!SWIG_IsOK(res1
)) {
19408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19410 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19411 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19412 if (!SWIG_IsOK(res2
)) {
19413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19415 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 (arg1
)->SetImageList(arg2
);
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= SWIG_Py_Void();
19429 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
= 0;
19431 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19432 wxImageList
*arg2
= (wxImageList
*) 0 ;
19436 PyObject
* obj0
= 0 ;
19437 PyObject
* obj1
= 0 ;
19438 char * kwnames
[] = {
19439 (char *) "self",(char *) "imageList", NULL
19442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19444 if (!SWIG_IsOK(res1
)) {
19445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19447 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19448 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19449 if (!SWIG_IsOK(res2
)) {
19450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 (arg1
)->AssignImageList(arg2
);
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19458 resultobj
= SWIG_Py_Void();
19465 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19466 PyObject
*resultobj
= 0;
19467 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19468 wxImageList
*result
= 0 ;
19471 PyObject
*swig_obj
[1] ;
19473 if (!args
) SWIG_fail
;
19474 swig_obj
[0] = args
;
19475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19476 if (!SWIG_IsOK(res1
)) {
19477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19479 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19487 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19495 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
= 0;
19497 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19504 PyObject
* obj0
= 0 ;
19505 PyObject
* obj1
= 0 ;
19506 char * kwnames
[] = {
19507 (char *) "self",(char *) "n", NULL
19510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19512 if (!SWIG_IsOK(res1
)) {
19513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19515 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19516 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19517 if (!SWIG_IsOK(ecode2
)) {
19518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19520 arg2
= static_cast< size_t >(val2
);
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19527 resultobj
= SWIG_From_int(static_cast< int >(result
));
19534 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19535 PyObject
*resultobj
= 0;
19536 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19546 PyObject
* obj0
= 0 ;
19547 PyObject
* obj1
= 0 ;
19548 PyObject
* obj2
= 0 ;
19549 char * kwnames
[] = {
19550 (char *) "self",(char *) "n",(char *) "imageId", NULL
19553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19555 if (!SWIG_IsOK(res1
)) {
19556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19558 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19559 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19560 if (!SWIG_IsOK(ecode2
)) {
19561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19563 arg2
= static_cast< size_t >(val2
);
19564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19565 if (!SWIG_IsOK(ecode3
)) {
19566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19568 arg3
= static_cast< int >(val3
);
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19584 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
= 0;
19586 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19591 PyObject
* obj0
= 0 ;
19592 PyObject
* obj1
= 0 ;
19593 char * kwnames
[] = {
19594 (char *) "self",(char *) "size", NULL
19597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19599 if (!SWIG_IsOK(res1
)) {
19600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19602 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19605 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19609 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 resultobj
= SWIG_Py_Void();
19620 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
= 0;
19622 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19628 PyObject
* obj0
= 0 ;
19629 PyObject
* obj1
= 0 ;
19630 char * kwnames
[] = {
19631 (char *) "self",(char *) "sizePage", NULL
19634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19636 if (!SWIG_IsOK(res1
)) {
19637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19639 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19642 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19650 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19657 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19658 PyObject
*resultobj
= 0;
19659 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19660 unsigned int result
;
19663 PyObject
*swig_obj
[1] ;
19665 if (!args
) SWIG_fail
;
19666 swig_obj
[0] = args
;
19667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19668 if (!SWIG_IsOK(res1
)) {
19669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19671 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19678 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19685 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
= 0;
19687 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19688 unsigned int arg2
;
19691 unsigned int val2
;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 char * kwnames
[] = {
19696 (char *) "self",(char *) "internalBorder", NULL
19699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19701 if (!SWIG_IsOK(res1
)) {
19702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19704 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19705 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19706 if (!SWIG_IsOK(ecode2
)) {
19707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19709 arg2
= static_cast< unsigned int >(val2
);
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 (arg1
)->SetInternalBorder(arg2
);
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= SWIG_Py_Void();
19723 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19724 PyObject
*resultobj
= 0;
19725 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19729 PyObject
*swig_obj
[1] ;
19731 if (!args
) SWIG_fail
;
19732 swig_obj
[0] = args
;
19733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19734 if (!SWIG_IsOK(res1
)) {
19735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19737 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19753 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
= 0;
19755 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19761 PyObject
* obj0
= 0 ;
19762 PyObject
* obj1
= 0 ;
19763 char * kwnames
[] = {
19764 (char *) "self",(char *) "margin", NULL
19767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19769 if (!SWIG_IsOK(res1
)) {
19770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19772 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19774 if (!SWIG_IsOK(ecode2
)) {
19775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19777 arg2
= static_cast< int >(val2
);
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 (arg1
)->SetControlMargin(arg2
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= SWIG_Py_Void();
19791 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19792 PyObject
*resultobj
= 0;
19793 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19797 PyObject
*swig_obj
[1] ;
19799 if (!args
) SWIG_fail
;
19800 swig_obj
[0] = args
;
19801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19802 if (!SWIG_IsOK(res1
)) {
19803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19805 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19812 resultobj
= SWIG_From_int(static_cast< int >(result
));
19819 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
= 0;
19821 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19827 PyObject
* obj0
= 0 ;
19828 PyObject
* obj1
= 0 ;
19829 char * kwnames
[] = {
19830 (char *) "self",(char *) "fit", NULL
19833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19835 if (!SWIG_IsOK(res1
)) {
19836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19838 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19839 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19840 if (!SWIG_IsOK(ecode2
)) {
19841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19843 arg2
= static_cast< bool >(val2
);
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 (arg1
)->SetFitToCurrentPage(arg2
);
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19850 resultobj
= SWIG_Py_Void();
19857 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19858 PyObject
*resultobj
= 0;
19859 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19863 PyObject
*swig_obj
[1] ;
19865 if (!args
) SWIG_fail
;
19866 swig_obj
[0] = args
;
19867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19868 if (!SWIG_IsOK(res1
)) {
19869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19871 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19887 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19888 PyObject
*resultobj
= 0;
19889 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19890 wxSizer
*result
= 0 ;
19893 PyObject
*swig_obj
[1] ;
19895 if (!args
) SWIG_fail
;
19896 swig_obj
[0] = args
;
19897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19898 if (!SWIG_IsOK(res1
)) {
19899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19901 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19917 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
= 0;
19919 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19926 PyObject
* obj0
= 0 ;
19927 PyObject
* obj1
= 0 ;
19928 char * kwnames
[] = {
19929 (char *) "self",(char *) "n", NULL
19932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19934 if (!SWIG_IsOK(res1
)) {
19935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19937 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19938 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19939 if (!SWIG_IsOK(ecode2
)) {
19940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19942 arg2
= static_cast< size_t >(val2
);
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 result
= (bool)(arg1
)->DeletePage(arg2
);
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19958 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
= 0;
19960 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19967 PyObject
* obj0
= 0 ;
19968 PyObject
* obj1
= 0 ;
19969 char * kwnames
[] = {
19970 (char *) "self",(char *) "n", NULL
19973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19975 if (!SWIG_IsOK(res1
)) {
19976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19978 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19979 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19980 if (!SWIG_IsOK(ecode2
)) {
19981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19983 arg2
= static_cast< size_t >(val2
);
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 result
= (bool)(arg1
)->RemovePage(arg2
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19999 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20000 PyObject
*resultobj
= 0;
20001 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20005 PyObject
*swig_obj
[1] ;
20007 if (!args
) SWIG_fail
;
20008 swig_obj
[0] = args
;
20009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20010 if (!SWIG_IsOK(res1
)) {
20011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20013 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 result
= (bool)(arg1
)->DeleteAllPages();
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20029 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
= 0;
20031 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20032 wxWindow
*arg2
= (wxWindow
*) 0 ;
20033 wxString
*arg3
= 0 ;
20034 bool arg4
= (bool) false ;
20035 int arg5
= (int) -1 ;
20041 bool temp3
= false ;
20046 PyObject
* obj0
= 0 ;
20047 PyObject
* obj1
= 0 ;
20048 PyObject
* obj2
= 0 ;
20049 PyObject
* obj3
= 0 ;
20050 PyObject
* obj4
= 0 ;
20051 char * kwnames
[] = {
20052 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20057 if (!SWIG_IsOK(res1
)) {
20058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20060 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20062 if (!SWIG_IsOK(res2
)) {
20063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20065 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20067 arg3
= wxString_in_helper(obj2
);
20068 if (arg3
== NULL
) SWIG_fail
;
20072 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20073 if (!SWIG_IsOK(ecode4
)) {
20074 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20076 arg4
= static_cast< bool >(val4
);
20079 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20080 if (!SWIG_IsOK(ecode5
)) {
20081 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20083 arg5
= static_cast< int >(val5
);
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20108 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
= 0;
20110 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20112 wxWindow
*arg3
= (wxWindow
*) 0 ;
20113 wxString
*arg4
= 0 ;
20114 bool arg5
= (bool) false ;
20115 int arg6
= (int) -1 ;
20123 bool temp4
= false ;
20128 PyObject
* obj0
= 0 ;
20129 PyObject
* obj1
= 0 ;
20130 PyObject
* obj2
= 0 ;
20131 PyObject
* obj3
= 0 ;
20132 PyObject
* obj4
= 0 ;
20133 PyObject
* obj5
= 0 ;
20134 char * kwnames
[] = {
20135 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20140 if (!SWIG_IsOK(res1
)) {
20141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20143 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20144 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20145 if (!SWIG_IsOK(ecode2
)) {
20146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20148 arg2
= static_cast< size_t >(val2
);
20149 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20150 if (!SWIG_IsOK(res3
)) {
20151 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20153 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20155 arg4
= wxString_in_helper(obj3
);
20156 if (arg4
== NULL
) SWIG_fail
;
20160 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20161 if (!SWIG_IsOK(ecode5
)) {
20162 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20164 arg5
= static_cast< bool >(val5
);
20167 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20168 if (!SWIG_IsOK(ecode6
)) {
20169 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20171 arg6
= static_cast< int >(val6
);
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20196 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
= 0;
20198 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20205 PyObject
* obj0
= 0 ;
20206 PyObject
* obj1
= 0 ;
20207 char * kwnames
[] = {
20208 (char *) "self",(char *) "n", NULL
20211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20213 if (!SWIG_IsOK(res1
)) {
20214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20216 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20217 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20218 if (!SWIG_IsOK(ecode2
)) {
20219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20221 arg2
= static_cast< size_t >(val2
);
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 result
= (int)(arg1
)->SetSelection(arg2
);
20225 wxPyEndAllowThreads(__tstate
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20228 resultobj
= SWIG_From_int(static_cast< int >(result
));
20235 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
= 0;
20237 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20244 PyObject
* obj0
= 0 ;
20245 PyObject
* obj1
= 0 ;
20246 char * kwnames
[] = {
20247 (char *) "self",(char *) "n", NULL
20250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20252 if (!SWIG_IsOK(res1
)) {
20253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20255 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20256 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20257 if (!SWIG_IsOK(ecode2
)) {
20258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20260 arg2
= static_cast< size_t >(val2
);
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 result
= (int)(arg1
)->ChangeSelection(arg2
);
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 resultobj
= SWIG_From_int(static_cast< int >(result
));
20274 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
= 0;
20276 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20277 bool arg2
= (bool) true ;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 char * kwnames
[] = {
20285 (char *) "self",(char *) "forward", NULL
20288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20290 if (!SWIG_IsOK(res1
)) {
20291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20293 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20295 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20296 if (!SWIG_IsOK(ecode2
)) {
20297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20299 arg2
= static_cast< bool >(val2
);
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 (arg1
)->AdvanceSelection(arg2
);
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= SWIG_Py_Void();
20314 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
= 0;
20316 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20317 wxPoint
*arg2
= 0 ;
20318 long *arg3
= (long *) 0 ;
20324 int res3
= SWIG_TMPOBJ
;
20325 PyObject
* obj0
= 0 ;
20326 PyObject
* obj1
= 0 ;
20327 char * kwnames
[] = {
20328 (char *) "self",(char *) "pt", NULL
20332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20334 if (!SWIG_IsOK(res1
)) {
20335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20337 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20340 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= SWIG_From_int(static_cast< int >(result
));
20349 if (SWIG_IsTmpObj(res3
)) {
20350 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20352 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20361 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
= 0;
20363 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20364 SwigValueWrapper
<wxVisualAttributes
> result
;
20367 PyObject
* obj0
= 0 ;
20368 char * kwnames
[] = {
20369 (char *) "variant", NULL
20372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20374 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20375 if (!SWIG_IsOK(ecode1
)) {
20376 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20378 arg1
= static_cast< wxWindowVariant
>(val1
);
20381 if (!wxPyCheckForApp()) SWIG_fail
;
20382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20383 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20394 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20397 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20398 return SWIG_Py_Void();
20401 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
= 0;
20403 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20404 int arg2
= (int) 0 ;
20405 int arg3
= (int) -1 ;
20406 int arg4
= (int) -1 ;
20407 wxBookCtrlBaseEvent
*result
= 0 ;
20416 PyObject
* obj0
= 0 ;
20417 PyObject
* obj1
= 0 ;
20418 PyObject
* obj2
= 0 ;
20419 PyObject
* obj3
= 0 ;
20420 char * kwnames
[] = {
20421 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20426 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20427 if (!SWIG_IsOK(ecode1
)) {
20428 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20430 arg1
= static_cast< wxEventType
>(val1
);
20433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20434 if (!SWIG_IsOK(ecode2
)) {
20435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20437 arg2
= static_cast< int >(val2
);
20440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20441 if (!SWIG_IsOK(ecode3
)) {
20442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20444 arg3
= static_cast< int >(val3
);
20447 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20448 if (!SWIG_IsOK(ecode4
)) {
20449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20451 arg4
= static_cast< int >(val4
);
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20466 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20467 PyObject
*resultobj
= 0;
20468 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20472 PyObject
*swig_obj
[1] ;
20474 if (!args
) SWIG_fail
;
20475 swig_obj
[0] = args
;
20476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20477 if (!SWIG_IsOK(res1
)) {
20478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20480 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= SWIG_From_int(static_cast< int >(result
));
20494 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
= 0;
20496 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20502 PyObject
* obj0
= 0 ;
20503 PyObject
* obj1
= 0 ;
20504 char * kwnames
[] = {
20505 (char *) "self",(char *) "nSel", NULL
20508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20510 if (!SWIG_IsOK(res1
)) {
20511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20513 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20515 if (!SWIG_IsOK(ecode2
)) {
20516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20518 arg2
= static_cast< int >(val2
);
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 (arg1
)->SetSelection(arg2
);
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20525 resultobj
= SWIG_Py_Void();
20532 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20533 PyObject
*resultobj
= 0;
20534 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20538 PyObject
*swig_obj
[1] ;
20540 if (!args
) SWIG_fail
;
20541 swig_obj
[0] = args
;
20542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20543 if (!SWIG_IsOK(res1
)) {
20544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20546 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_From_int(static_cast< int >(result
));
20560 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
= 0;
20562 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20568 PyObject
* obj0
= 0 ;
20569 PyObject
* obj1
= 0 ;
20570 char * kwnames
[] = {
20571 (char *) "self",(char *) "nOldSel", NULL
20574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20576 if (!SWIG_IsOK(res1
)) {
20577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20579 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20581 if (!SWIG_IsOK(ecode2
)) {
20582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20584 arg2
= static_cast< int >(val2
);
20586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 (arg1
)->SetOldSelection(arg2
);
20588 wxPyEndAllowThreads(__tstate
);
20589 if (PyErr_Occurred()) SWIG_fail
;
20591 resultobj
= SWIG_Py_Void();
20598 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20600 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20601 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20602 return SWIG_Py_Void();
20605 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20606 return SWIG_Python_InitShadowInstance(args
);
20609 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
= 0;
20611 wxWindow
*arg1
= (wxWindow
*) 0 ;
20612 int arg2
= (int) -1 ;
20613 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20614 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20615 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20616 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20617 long arg5
= (long) 0 ;
20618 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20619 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20620 wxNotebook
*result
= 0 ;
20629 bool temp6
= false ;
20630 PyObject
* obj0
= 0 ;
20631 PyObject
* obj1
= 0 ;
20632 PyObject
* obj2
= 0 ;
20633 PyObject
* obj3
= 0 ;
20634 PyObject
* obj4
= 0 ;
20635 PyObject
* obj5
= 0 ;
20636 char * kwnames
[] = {
20637 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20642 if (!SWIG_IsOK(res1
)) {
20643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20645 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20648 if (!SWIG_IsOK(ecode2
)) {
20649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20651 arg2
= static_cast< int >(val2
);
20656 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20662 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20666 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20667 if (!SWIG_IsOK(ecode5
)) {
20668 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20670 arg5
= static_cast< long >(val5
);
20674 arg6
= wxString_in_helper(obj5
);
20675 if (arg6
== NULL
) SWIG_fail
;
20680 if (!wxPyCheckForApp()) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20701 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20702 PyObject
*resultobj
= 0;
20703 wxNotebook
*result
= 0 ;
20705 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20707 if (!wxPyCheckForApp()) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 result
= (wxNotebook
*)new wxNotebook();
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20720 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
= 0;
20722 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20723 wxWindow
*arg2
= (wxWindow
*) 0 ;
20724 int arg3
= (int) -1 ;
20725 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20726 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20727 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20728 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20729 long arg6
= (long) 0 ;
20730 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20731 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20743 bool temp7
= false ;
20744 PyObject
* obj0
= 0 ;
20745 PyObject
* obj1
= 0 ;
20746 PyObject
* obj2
= 0 ;
20747 PyObject
* obj3
= 0 ;
20748 PyObject
* obj4
= 0 ;
20749 PyObject
* obj5
= 0 ;
20750 PyObject
* obj6
= 0 ;
20751 char * kwnames
[] = {
20752 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20757 if (!SWIG_IsOK(res1
)) {
20758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20760 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20761 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20762 if (!SWIG_IsOK(res2
)) {
20763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20765 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20768 if (!SWIG_IsOK(ecode3
)) {
20769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20771 arg3
= static_cast< int >(val3
);
20776 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20782 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20786 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20787 if (!SWIG_IsOK(ecode6
)) {
20788 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20790 arg6
= static_cast< long >(val6
);
20794 arg7
= wxString_in_helper(obj6
);
20795 if (arg7
== NULL
) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20822 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20823 PyObject
*resultobj
= 0;
20824 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20828 PyObject
*swig_obj
[1] ;
20830 if (!args
) SWIG_fail
;
20831 swig_obj
[0] = args
;
20832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20833 if (!SWIG_IsOK(res1
)) {
20834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20836 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20843 resultobj
= SWIG_From_int(static_cast< int >(result
));
20850 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
= 0;
20852 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20857 PyObject
* obj0
= 0 ;
20858 PyObject
* obj1
= 0 ;
20859 char * kwnames
[] = {
20860 (char *) "self",(char *) "padding", NULL
20863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20865 if (!SWIG_IsOK(res1
)) {
20866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20868 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20871 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= SWIG_Py_Void();
20886 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
= 0;
20888 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20893 PyObject
* obj0
= 0 ;
20894 PyObject
* obj1
= 0 ;
20895 char * kwnames
[] = {
20896 (char *) "self",(char *) "sz", NULL
20899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20901 if (!SWIG_IsOK(res1
)) {
20902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20904 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20907 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 resultobj
= SWIG_Py_Void();
20922 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20923 PyObject
*resultobj
= 0;
20924 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20928 PyObject
*swig_obj
[1] ;
20930 if (!args
) SWIG_fail
;
20931 swig_obj
[0] = args
;
20932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20933 if (!SWIG_IsOK(res1
)) {
20934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20936 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20943 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20950 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
= 0;
20952 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20953 SwigValueWrapper
<wxVisualAttributes
> result
;
20956 PyObject
* obj0
= 0 ;
20957 char * kwnames
[] = {
20958 (char *) "variant", NULL
20961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20963 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20964 if (!SWIG_IsOK(ecode1
)) {
20965 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20967 arg1
= static_cast< wxWindowVariant
>(val1
);
20970 if (!wxPyCheckForApp()) SWIG_fail
;
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20983 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
= 0;
20985 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20992 PyObject
* obj0
= 0 ;
20993 PyObject
* obj1
= 0 ;
20994 char * kwnames
[] = {
20995 (char *) "self",(char *) "nPage", NULL
20998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21000 if (!SWIG_IsOK(res1
)) {
21001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21003 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21005 if (!SWIG_IsOK(ecode2
)) {
21006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21008 arg2
= static_cast< int >(val2
);
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21024 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
= 0;
21026 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21028 int arg3
= (int) -1 ;
21035 PyObject
* obj0
= 0 ;
21036 PyObject
* obj1
= 0 ;
21037 PyObject
* obj2
= 0 ;
21038 char * kwnames
[] = {
21039 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21044 if (!SWIG_IsOK(res1
)) {
21045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21047 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21049 if (!SWIG_IsOK(ecode2
)) {
21050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21052 arg2
= static_cast< int >(val2
);
21054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21055 if (!SWIG_IsOK(ecode3
)) {
21056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21058 arg3
= static_cast< int >(val3
);
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21066 resultobj
= SWIG_Py_Void();
21073 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21076 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21077 return SWIG_Py_Void();
21080 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21081 return SWIG_Python_InitShadowInstance(args
);
21084 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
= 0;
21086 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21087 int arg2
= (int) 0 ;
21088 int arg3
= (int) -1 ;
21089 int arg4
= (int) -1 ;
21090 wxNotebookEvent
*result
= 0 ;
21099 PyObject
* obj0
= 0 ;
21100 PyObject
* obj1
= 0 ;
21101 PyObject
* obj2
= 0 ;
21102 PyObject
* obj3
= 0 ;
21103 char * kwnames
[] = {
21104 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21109 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21110 if (!SWIG_IsOK(ecode1
)) {
21111 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21113 arg1
= static_cast< wxEventType
>(val1
);
21116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21117 if (!SWIG_IsOK(ecode2
)) {
21118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21120 arg2
= static_cast< int >(val2
);
21123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21124 if (!SWIG_IsOK(ecode3
)) {
21125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21127 arg3
= static_cast< int >(val3
);
21130 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21131 if (!SWIG_IsOK(ecode4
)) {
21132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21134 arg4
= static_cast< int >(val4
);
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21149 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21151 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21152 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21153 return SWIG_Py_Void();
21156 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21157 return SWIG_Python_InitShadowInstance(args
);
21160 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
= 0;
21162 wxWindow
*arg1
= (wxWindow
*) 0 ;
21163 int arg2
= (int) -1 ;
21164 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21165 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21166 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21167 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21168 long arg5
= (long) 0 ;
21169 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21170 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21171 wxListbook
*result
= 0 ;
21180 bool temp6
= false ;
21181 PyObject
* obj0
= 0 ;
21182 PyObject
* obj1
= 0 ;
21183 PyObject
* obj2
= 0 ;
21184 PyObject
* obj3
= 0 ;
21185 PyObject
* obj4
= 0 ;
21186 PyObject
* obj5
= 0 ;
21187 char * kwnames
[] = {
21188 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21193 if (!SWIG_IsOK(res1
)) {
21194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21196 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21199 if (!SWIG_IsOK(ecode2
)) {
21200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21202 arg2
= static_cast< int >(val2
);
21207 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21213 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21217 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21218 if (!SWIG_IsOK(ecode5
)) {
21219 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21221 arg5
= static_cast< long >(val5
);
21225 arg6
= wxString_in_helper(obj5
);
21226 if (arg6
== NULL
) SWIG_fail
;
21231 if (!wxPyCheckForApp()) SWIG_fail
;
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21252 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21253 PyObject
*resultobj
= 0;
21254 wxListbook
*result
= 0 ;
21256 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21258 if (!wxPyCheckForApp()) SWIG_fail
;
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 result
= (wxListbook
*)new wxListbook();
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21271 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
= 0;
21273 wxListbook
*arg1
= (wxListbook
*) 0 ;
21274 wxWindow
*arg2
= (wxWindow
*) 0 ;
21275 int arg3
= (int) -1 ;
21276 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21277 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21278 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21279 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21280 long arg6
= (long) 0 ;
21281 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21282 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21294 bool temp7
= false ;
21295 PyObject
* obj0
= 0 ;
21296 PyObject
* obj1
= 0 ;
21297 PyObject
* obj2
= 0 ;
21298 PyObject
* obj3
= 0 ;
21299 PyObject
* obj4
= 0 ;
21300 PyObject
* obj5
= 0 ;
21301 PyObject
* obj6
= 0 ;
21302 char * kwnames
[] = {
21303 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21308 if (!SWIG_IsOK(res1
)) {
21309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21311 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21312 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21313 if (!SWIG_IsOK(res2
)) {
21314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21316 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21319 if (!SWIG_IsOK(ecode3
)) {
21320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21322 arg3
= static_cast< int >(val3
);
21327 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21333 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21337 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21338 if (!SWIG_IsOK(ecode6
)) {
21339 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21341 arg6
= static_cast< long >(val6
);
21345 arg7
= wxString_in_helper(obj6
);
21346 if (arg7
== NULL
) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21373 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21374 PyObject
*resultobj
= 0;
21375 wxListbook
*arg1
= (wxListbook
*) 0 ;
21376 wxListView
*result
= 0 ;
21379 PyObject
*swig_obj
[1] ;
21381 if (!args
) SWIG_fail
;
21382 swig_obj
[0] = args
;
21383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21384 if (!SWIG_IsOK(res1
)) {
21385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21387 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (wxListView
*)(arg1
)->GetListView();
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21401 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21404 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21405 return SWIG_Py_Void();
21408 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21409 return SWIG_Python_InitShadowInstance(args
);
21412 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21413 PyObject
*resultobj
= 0;
21414 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21415 int arg2
= (int) 0 ;
21416 int arg3
= (int) -1 ;
21417 int arg4
= (int) -1 ;
21418 wxListbookEvent
*result
= 0 ;
21427 PyObject
* obj0
= 0 ;
21428 PyObject
* obj1
= 0 ;
21429 PyObject
* obj2
= 0 ;
21430 PyObject
* obj3
= 0 ;
21431 char * kwnames
[] = {
21432 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21437 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21438 if (!SWIG_IsOK(ecode1
)) {
21439 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21441 arg1
= static_cast< wxEventType
>(val1
);
21444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21445 if (!SWIG_IsOK(ecode2
)) {
21446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21448 arg2
= static_cast< int >(val2
);
21451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21452 if (!SWIG_IsOK(ecode3
)) {
21453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21455 arg3
= static_cast< int >(val3
);
21458 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21459 if (!SWIG_IsOK(ecode4
)) {
21460 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21462 arg4
= static_cast< int >(val4
);
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21477 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21480 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21481 return SWIG_Py_Void();
21484 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21485 return SWIG_Python_InitShadowInstance(args
);
21488 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
= 0;
21490 wxWindow
*arg1
= (wxWindow
*) 0 ;
21492 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21493 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21494 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21495 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21496 long arg5
= (long) 0 ;
21497 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21498 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21499 wxChoicebook
*result
= 0 ;
21508 bool temp6
= false ;
21509 PyObject
* obj0
= 0 ;
21510 PyObject
* obj1
= 0 ;
21511 PyObject
* obj2
= 0 ;
21512 PyObject
* obj3
= 0 ;
21513 PyObject
* obj4
= 0 ;
21514 PyObject
* obj5
= 0 ;
21515 char * kwnames
[] = {
21516 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21521 if (!SWIG_IsOK(res1
)) {
21522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21524 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21526 if (!SWIG_IsOK(ecode2
)) {
21527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21529 arg2
= static_cast< int >(val2
);
21533 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21539 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21543 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21544 if (!SWIG_IsOK(ecode5
)) {
21545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21547 arg5
= static_cast< long >(val5
);
21551 arg6
= wxString_in_helper(obj5
);
21552 if (arg6
== NULL
) SWIG_fail
;
21557 if (!wxPyCheckForApp()) SWIG_fail
;
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21559 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21578 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21579 PyObject
*resultobj
= 0;
21580 wxChoicebook
*result
= 0 ;
21582 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21584 if (!wxPyCheckForApp()) SWIG_fail
;
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 result
= (wxChoicebook
*)new wxChoicebook();
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21597 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
= 0;
21599 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21600 wxWindow
*arg2
= (wxWindow
*) 0 ;
21602 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21603 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21604 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21605 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21606 long arg6
= (long) 0 ;
21607 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21608 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21620 bool temp7
= false ;
21621 PyObject
* obj0
= 0 ;
21622 PyObject
* obj1
= 0 ;
21623 PyObject
* obj2
= 0 ;
21624 PyObject
* obj3
= 0 ;
21625 PyObject
* obj4
= 0 ;
21626 PyObject
* obj5
= 0 ;
21627 PyObject
* obj6
= 0 ;
21628 char * kwnames
[] = {
21629 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21634 if (!SWIG_IsOK(res1
)) {
21635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21637 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21638 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21639 if (!SWIG_IsOK(res2
)) {
21640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21642 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21644 if (!SWIG_IsOK(ecode3
)) {
21645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21647 arg3
= static_cast< int >(val3
);
21651 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21657 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21661 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21662 if (!SWIG_IsOK(ecode6
)) {
21663 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21665 arg6
= static_cast< long >(val6
);
21669 arg7
= wxString_in_helper(obj6
);
21670 if (arg7
== NULL
) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21697 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21698 PyObject
*resultobj
= 0;
21699 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21700 wxChoice
*result
= 0 ;
21703 PyObject
*swig_obj
[1] ;
21705 if (!args
) SWIG_fail
;
21706 swig_obj
[0] = args
;
21707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21708 if (!SWIG_IsOK(res1
)) {
21709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21711 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21725 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21728 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21729 return SWIG_Py_Void();
21732 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21733 return SWIG_Python_InitShadowInstance(args
);
21736 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
= 0;
21738 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21739 int arg2
= (int) 0 ;
21740 int arg3
= (int) -1 ;
21741 int arg4
= (int) -1 ;
21742 wxChoicebookEvent
*result
= 0 ;
21751 PyObject
* obj0
= 0 ;
21752 PyObject
* obj1
= 0 ;
21753 PyObject
* obj2
= 0 ;
21754 PyObject
* obj3
= 0 ;
21755 char * kwnames
[] = {
21756 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21761 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21762 if (!SWIG_IsOK(ecode1
)) {
21763 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21765 arg1
= static_cast< wxEventType
>(val1
);
21768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21769 if (!SWIG_IsOK(ecode2
)) {
21770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21772 arg2
= static_cast< int >(val2
);
21775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21776 if (!SWIG_IsOK(ecode3
)) {
21777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21779 arg3
= static_cast< int >(val3
);
21782 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21783 if (!SWIG_IsOK(ecode4
)) {
21784 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21786 arg4
= static_cast< int >(val4
);
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21801 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21803 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21804 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21805 return SWIG_Py_Void();
21808 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21809 return SWIG_Python_InitShadowInstance(args
);
21812 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
= 0;
21814 wxWindow
*arg1
= (wxWindow
*) 0 ;
21816 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21817 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21818 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21819 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21820 long arg5
= (long) wxBK_DEFAULT
;
21821 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21822 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21823 wxTreebook
*result
= 0 ;
21832 bool temp6
= false ;
21833 PyObject
* obj0
= 0 ;
21834 PyObject
* obj1
= 0 ;
21835 PyObject
* obj2
= 0 ;
21836 PyObject
* obj3
= 0 ;
21837 PyObject
* obj4
= 0 ;
21838 PyObject
* obj5
= 0 ;
21839 char * kwnames
[] = {
21840 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21845 if (!SWIG_IsOK(res1
)) {
21846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21848 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21850 if (!SWIG_IsOK(ecode2
)) {
21851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21853 arg2
= static_cast< int >(val2
);
21857 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21863 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21867 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21868 if (!SWIG_IsOK(ecode5
)) {
21869 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21871 arg5
= static_cast< long >(val5
);
21875 arg6
= wxString_in_helper(obj5
);
21876 if (arg6
== NULL
) SWIG_fail
;
21881 if (!wxPyCheckForApp()) SWIG_fail
;
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21902 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21903 PyObject
*resultobj
= 0;
21904 wxTreebook
*result
= 0 ;
21906 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21908 if (!wxPyCheckForApp()) SWIG_fail
;
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 result
= (wxTreebook
*)new wxTreebook();
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21921 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
= 0;
21923 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21924 wxWindow
*arg2
= (wxWindow
*) 0 ;
21926 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21927 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21928 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21929 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21930 long arg6
= (long) wxBK_DEFAULT
;
21931 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21932 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21944 bool temp7
= false ;
21945 PyObject
* obj0
= 0 ;
21946 PyObject
* obj1
= 0 ;
21947 PyObject
* obj2
= 0 ;
21948 PyObject
* obj3
= 0 ;
21949 PyObject
* obj4
= 0 ;
21950 PyObject
* obj5
= 0 ;
21951 PyObject
* obj6
= 0 ;
21952 char * kwnames
[] = {
21953 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21958 if (!SWIG_IsOK(res1
)) {
21959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21961 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21962 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21963 if (!SWIG_IsOK(res2
)) {
21964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21966 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21967 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21968 if (!SWIG_IsOK(ecode3
)) {
21969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21971 arg3
= static_cast< int >(val3
);
21975 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21981 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21985 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21986 if (!SWIG_IsOK(ecode6
)) {
21987 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21989 arg6
= static_cast< long >(val6
);
21993 arg7
= wxString_in_helper(obj6
);
21994 if (arg7
== NULL
) SWIG_fail
;
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22021 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
= 0;
22023 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22025 wxWindow
*arg3
= (wxWindow
*) 0 ;
22026 wxString
*arg4
= 0 ;
22027 bool arg5
= (bool) false ;
22028 int arg6
= (int) wxNOT_FOUND
;
22036 bool temp4
= false ;
22041 PyObject
* obj0
= 0 ;
22042 PyObject
* obj1
= 0 ;
22043 PyObject
* obj2
= 0 ;
22044 PyObject
* obj3
= 0 ;
22045 PyObject
* obj4
= 0 ;
22046 PyObject
* obj5
= 0 ;
22047 char * kwnames
[] = {
22048 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22053 if (!SWIG_IsOK(res1
)) {
22054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22056 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22057 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22058 if (!SWIG_IsOK(ecode2
)) {
22059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22061 arg2
= static_cast< size_t >(val2
);
22062 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22063 if (!SWIG_IsOK(res3
)) {
22064 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22066 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22068 arg4
= wxString_in_helper(obj3
);
22069 if (arg4
== NULL
) SWIG_fail
;
22073 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22074 if (!SWIG_IsOK(ecode5
)) {
22075 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22077 arg5
= static_cast< bool >(val5
);
22080 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22081 if (!SWIG_IsOK(ecode6
)) {
22082 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22084 arg6
= static_cast< int >(val6
);
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22109 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
= 0;
22111 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22112 wxWindow
*arg2
= (wxWindow
*) 0 ;
22113 wxString
*arg3
= 0 ;
22114 bool arg4
= (bool) false ;
22115 int arg5
= (int) wxNOT_FOUND
;
22121 bool temp3
= false ;
22126 PyObject
* obj0
= 0 ;
22127 PyObject
* obj1
= 0 ;
22128 PyObject
* obj2
= 0 ;
22129 PyObject
* obj3
= 0 ;
22130 PyObject
* obj4
= 0 ;
22131 char * kwnames
[] = {
22132 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22137 if (!SWIG_IsOK(res1
)) {
22138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22140 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22142 if (!SWIG_IsOK(res2
)) {
22143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22147 arg3
= wxString_in_helper(obj2
);
22148 if (arg3
== NULL
) SWIG_fail
;
22152 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22153 if (!SWIG_IsOK(ecode4
)) {
22154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22156 arg4
= static_cast< bool >(val4
);
22159 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22160 if (!SWIG_IsOK(ecode5
)) {
22161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22163 arg5
= static_cast< int >(val5
);
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22188 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
= 0;
22190 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22197 PyObject
* obj0
= 0 ;
22198 PyObject
* obj1
= 0 ;
22199 char * kwnames
[] = {
22200 (char *) "self",(char *) "pos", NULL
22203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22205 if (!SWIG_IsOK(res1
)) {
22206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22208 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22209 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22210 if (!SWIG_IsOK(ecode2
)) {
22211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22213 arg2
= static_cast< size_t >(val2
);
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22229 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
= 0;
22231 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22233 bool arg3
= (bool) true ;
22241 PyObject
* obj0
= 0 ;
22242 PyObject
* obj1
= 0 ;
22243 PyObject
* obj2
= 0 ;
22244 char * kwnames
[] = {
22245 (char *) "self",(char *) "pos",(char *) "expand", NULL
22248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22250 if (!SWIG_IsOK(res1
)) {
22251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22253 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22254 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22255 if (!SWIG_IsOK(ecode2
)) {
22256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22258 arg2
= static_cast< size_t >(val2
);
22260 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22261 if (!SWIG_IsOK(ecode3
)) {
22262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22264 arg3
= static_cast< bool >(val3
);
22267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22268 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22281 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
= 0;
22283 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22290 PyObject
* obj0
= 0 ;
22291 PyObject
* obj1
= 0 ;
22292 char * kwnames
[] = {
22293 (char *) "self",(char *) "pos", NULL
22296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22298 if (!SWIG_IsOK(res1
)) {
22299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22301 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22302 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22303 if (!SWIG_IsOK(ecode2
)) {
22304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22306 arg2
= static_cast< size_t >(val2
);
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (bool)(arg1
)->CollapseNode(arg2
);
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22322 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
= 0;
22324 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22331 PyObject
* obj0
= 0 ;
22332 PyObject
* obj1
= 0 ;
22333 char * kwnames
[] = {
22334 (char *) "self",(char *) "pos", NULL
22337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22339 if (!SWIG_IsOK(res1
)) {
22340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22342 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22343 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22344 if (!SWIG_IsOK(ecode2
)) {
22345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22347 arg2
= static_cast< size_t >(val2
);
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22354 resultobj
= SWIG_From_int(static_cast< int >(result
));
22361 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22362 PyObject
*resultobj
= 0;
22363 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22364 wxPyTreeCtrl
*result
= 0 ;
22367 PyObject
*swig_obj
[1] ;
22369 if (!args
) SWIG_fail
;
22370 swig_obj
[0] = args
;
22371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22372 if (!SWIG_IsOK(res1
)) {
22373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22375 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22383 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22391 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22394 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22395 return SWIG_Py_Void();
22398 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22399 return SWIG_Python_InitShadowInstance(args
);
22402 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
= 0;
22404 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22405 int arg2
= (int) 0 ;
22406 int arg3
= (int) wxNOT_FOUND
;
22407 int arg4
= (int) wxNOT_FOUND
;
22408 wxTreebookEvent
*result
= 0 ;
22417 PyObject
* obj0
= 0 ;
22418 PyObject
* obj1
= 0 ;
22419 PyObject
* obj2
= 0 ;
22420 PyObject
* obj3
= 0 ;
22421 char * kwnames
[] = {
22422 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22428 if (!SWIG_IsOK(ecode1
)) {
22429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22431 arg1
= static_cast< wxEventType
>(val1
);
22434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22435 if (!SWIG_IsOK(ecode2
)) {
22436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22438 arg2
= static_cast< int >(val2
);
22441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22442 if (!SWIG_IsOK(ecode3
)) {
22443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22445 arg3
= static_cast< int >(val3
);
22448 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22449 if (!SWIG_IsOK(ecode4
)) {
22450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22452 arg4
= static_cast< int >(val4
);
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22457 wxPyEndAllowThreads(__tstate
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22467 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22470 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22471 return SWIG_Py_Void();
22474 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22475 return SWIG_Python_InitShadowInstance(args
);
22478 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22479 PyObject
*resultobj
= 0;
22480 wxWindow
*arg1
= (wxWindow
*) 0 ;
22482 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22483 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22484 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22485 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22486 long arg5
= (long) wxBK_DEFAULT
;
22487 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22488 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22489 wxToolbook
*result
= 0 ;
22498 bool temp6
= false ;
22499 PyObject
* obj0
= 0 ;
22500 PyObject
* obj1
= 0 ;
22501 PyObject
* obj2
= 0 ;
22502 PyObject
* obj3
= 0 ;
22503 PyObject
* obj4
= 0 ;
22504 PyObject
* obj5
= 0 ;
22505 char * kwnames
[] = {
22506 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22511 if (!SWIG_IsOK(res1
)) {
22512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22514 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22516 if (!SWIG_IsOK(ecode2
)) {
22517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22519 arg2
= static_cast< int >(val2
);
22523 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22529 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22533 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22534 if (!SWIG_IsOK(ecode5
)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22537 arg5
= static_cast< long >(val5
);
22541 arg6
= wxString_in_helper(obj5
);
22542 if (arg6
== NULL
) SWIG_fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22567 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22568 PyObject
*resultobj
= 0;
22569 wxToolbook
*result
= 0 ;
22571 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22574 result
= (wxToolbook
*)new wxToolbook();
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22585 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
= 0;
22587 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22588 wxWindow
*arg2
= (wxWindow
*) 0 ;
22590 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22591 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22592 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22593 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22594 long arg6
= (long) 0 ;
22595 wxString
const &arg7_defvalue
= wxEmptyString
;
22596 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22608 bool temp7
= false ;
22609 PyObject
* obj0
= 0 ;
22610 PyObject
* obj1
= 0 ;
22611 PyObject
* obj2
= 0 ;
22612 PyObject
* obj3
= 0 ;
22613 PyObject
* obj4
= 0 ;
22614 PyObject
* obj5
= 0 ;
22615 PyObject
* obj6
= 0 ;
22616 char * kwnames
[] = {
22617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22622 if (!SWIG_IsOK(res1
)) {
22623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22625 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22627 if (!SWIG_IsOK(res2
)) {
22628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22630 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22631 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22632 if (!SWIG_IsOK(ecode3
)) {
22633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22635 arg3
= static_cast< int >(val3
);
22639 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22645 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22649 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22650 if (!SWIG_IsOK(ecode6
)) {
22651 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22653 arg6
= static_cast< long >(val6
);
22657 arg7
= wxString_in_helper(obj6
);
22658 if (arg7
== NULL
) SWIG_fail
;
22663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22685 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22686 PyObject
*resultobj
= 0;
22687 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22688 wxToolBarBase
*result
= 0 ;
22691 PyObject
*swig_obj
[1] ;
22693 if (!args
) SWIG_fail
;
22694 swig_obj
[0] = args
;
22695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22696 if (!SWIG_IsOK(res1
)) {
22697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22699 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22715 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22716 PyObject
*resultobj
= 0;
22717 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22720 PyObject
*swig_obj
[1] ;
22722 if (!args
) SWIG_fail
;
22723 swig_obj
[0] = args
;
22724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22725 if (!SWIG_IsOK(res1
)) {
22726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22728 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 wxPyEndAllowThreads(__tstate
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22735 resultobj
= SWIG_Py_Void();
22742 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22745 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22746 return SWIG_Py_Void();
22749 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22750 return SWIG_Python_InitShadowInstance(args
);
22753 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
= 0;
22755 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22756 int arg2
= (int) 0 ;
22757 int arg3
= (int) wxNOT_FOUND
;
22758 int arg4
= (int) wxNOT_FOUND
;
22759 wxToolbookEvent
*result
= 0 ;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 PyObject
* obj2
= 0 ;
22771 PyObject
* obj3
= 0 ;
22772 char * kwnames
[] = {
22773 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22778 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22779 if (!SWIG_IsOK(ecode1
)) {
22780 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22782 arg1
= static_cast< wxEventType
>(val1
);
22785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22786 if (!SWIG_IsOK(ecode2
)) {
22787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22789 arg2
= static_cast< int >(val2
);
22792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22793 if (!SWIG_IsOK(ecode3
)) {
22794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22796 arg3
= static_cast< int >(val3
);
22799 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22800 if (!SWIG_IsOK(ecode4
)) {
22801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22803 arg4
= static_cast< int >(val4
);
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22818 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22821 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22822 return SWIG_Py_Void();
22825 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22826 return SWIG_Python_InitShadowInstance(args
);
22829 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22830 PyObject
*resultobj
= 0;
22831 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22835 PyObject
*swig_obj
[1] ;
22837 if (!args
) SWIG_fail
;
22838 swig_obj
[0] = args
;
22839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22840 if (!SWIG_IsOK(res1
)) {
22841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22843 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 result
= (int)(arg1
)->GetId();
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22850 resultobj
= SWIG_From_int(static_cast< int >(result
));
22857 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22858 PyObject
*resultobj
= 0;
22859 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22860 wxControl
*result
= 0 ;
22863 PyObject
*swig_obj
[1] ;
22865 if (!args
) SWIG_fail
;
22866 swig_obj
[0] = args
;
22867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22868 if (!SWIG_IsOK(res1
)) {
22869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22871 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 result
= (wxControl
*)(arg1
)->GetControl();
22875 wxPyEndAllowThreads(__tstate
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22879 resultobj
= wxPyMake_wxObject(result
, 0);
22887 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22888 PyObject
*resultobj
= 0;
22889 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22890 wxToolBarBase
*result
= 0 ;
22893 PyObject
*swig_obj
[1] ;
22895 if (!args
) SWIG_fail
;
22896 swig_obj
[0] = args
;
22897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22898 if (!SWIG_IsOK(res1
)) {
22899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22901 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22905 wxPyEndAllowThreads(__tstate
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22917 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22918 PyObject
*resultobj
= 0;
22919 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22923 PyObject
*swig_obj
[1] ;
22925 if (!args
) SWIG_fail
;
22926 swig_obj
[0] = args
;
22927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22928 if (!SWIG_IsOK(res1
)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22931 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 result
= (int)(arg1
)->IsButton();
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 resultobj
= SWIG_From_int(static_cast< int >(result
));
22945 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22946 PyObject
*resultobj
= 0;
22947 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22951 PyObject
*swig_obj
[1] ;
22953 if (!args
) SWIG_fail
;
22954 swig_obj
[0] = args
;
22955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22956 if (!SWIG_IsOK(res1
)) {
22957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22959 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 result
= (int)(arg1
)->IsControl();
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= SWIG_From_int(static_cast< int >(result
));
22973 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22974 PyObject
*resultobj
= 0;
22975 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22979 PyObject
*swig_obj
[1] ;
22981 if (!args
) SWIG_fail
;
22982 swig_obj
[0] = args
;
22983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22984 if (!SWIG_IsOK(res1
)) {
22985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22987 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 result
= (int)(arg1
)->IsSeparator();
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= SWIG_From_int(static_cast< int >(result
));
23001 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23002 PyObject
*resultobj
= 0;
23003 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23007 PyObject
*swig_obj
[1] ;
23009 if (!args
) SWIG_fail
;
23010 swig_obj
[0] = args
;
23011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23012 if (!SWIG_IsOK(res1
)) {
23013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23015 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= (int)(arg1
)->GetStyle();
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= SWIG_From_int(static_cast< int >(result
));
23029 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23030 PyObject
*resultobj
= 0;
23031 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23035 PyObject
*swig_obj
[1] ;
23037 if (!args
) SWIG_fail
;
23038 swig_obj
[0] = args
;
23039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23040 if (!SWIG_IsOK(res1
)) {
23041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23043 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 result
= (wxItemKind
)(arg1
)->GetKind();
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= SWIG_From_int(static_cast< int >(result
));
23057 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23058 PyObject
*resultobj
= 0;
23059 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23063 PyObject
*swig_obj
[1] ;
23065 if (!args
) SWIG_fail
;
23066 swig_obj
[0] = args
;
23067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23068 if (!SWIG_IsOK(res1
)) {
23069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23071 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 result
= (bool)(arg1
)->IsEnabled();
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23087 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23088 PyObject
*resultobj
= 0;
23089 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23093 PyObject
*swig_obj
[1] ;
23095 if (!args
) SWIG_fail
;
23096 swig_obj
[0] = args
;
23097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23098 if (!SWIG_IsOK(res1
)) {
23099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23101 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 result
= (bool)(arg1
)->IsToggled();
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23117 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23118 PyObject
*resultobj
= 0;
23119 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23123 PyObject
*swig_obj
[1] ;
23125 if (!args
) SWIG_fail
;
23126 swig_obj
[0] = args
;
23127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23128 if (!SWIG_IsOK(res1
)) {
23129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23131 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (bool)(arg1
)->CanBeToggled();
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23147 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23148 PyObject
*resultobj
= 0;
23149 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23150 wxBitmap
*result
= 0 ;
23153 PyObject
*swig_obj
[1] ;
23155 if (!args
) SWIG_fail
;
23156 swig_obj
[0] = args
;
23157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23158 if (!SWIG_IsOK(res1
)) {
23159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23161 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23166 result
= (wxBitmap
*) &_result_ref
;
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23172 wxBitmap
* resultptr
= new wxBitmap(*result
);
23173 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23181 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23182 PyObject
*resultobj
= 0;
23183 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23184 wxBitmap
*result
= 0 ;
23187 PyObject
*swig_obj
[1] ;
23189 if (!args
) SWIG_fail
;
23190 swig_obj
[0] = args
;
23191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23192 if (!SWIG_IsOK(res1
)) {
23193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23195 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23200 result
= (wxBitmap
*) &_result_ref
;
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23206 wxBitmap
* resultptr
= new wxBitmap(*result
);
23207 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23215 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23216 PyObject
*resultobj
= 0;
23217 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23221 PyObject
*swig_obj
[1] ;
23223 if (!args
) SWIG_fail
;
23224 swig_obj
[0] = args
;
23225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23226 if (!SWIG_IsOK(res1
)) {
23227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23229 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 result
= (arg1
)->GetBitmap();
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23243 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23244 PyObject
*resultobj
= 0;
23245 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23249 PyObject
*swig_obj
[1] ;
23251 if (!args
) SWIG_fail
;
23252 swig_obj
[0] = args
;
23253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23254 if (!SWIG_IsOK(res1
)) {
23255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23257 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= (arg1
)->GetLabel();
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23277 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23278 PyObject
*resultobj
= 0;
23279 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23283 PyObject
*swig_obj
[1] ;
23285 if (!args
) SWIG_fail
;
23286 swig_obj
[0] = args
;
23287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23288 if (!SWIG_IsOK(res1
)) {
23289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23291 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23294 result
= (arg1
)->GetShortHelp();
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23311 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23312 PyObject
*resultobj
= 0;
23313 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23317 PyObject
*swig_obj
[1] ;
23319 if (!args
) SWIG_fail
;
23320 swig_obj
[0] = args
;
23321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23322 if (!SWIG_IsOK(res1
)) {
23323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23325 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 result
= (arg1
)->GetLongHelp();
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23345 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
= 0;
23347 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23354 PyObject
* obj0
= 0 ;
23355 PyObject
* obj1
= 0 ;
23356 char * kwnames
[] = {
23357 (char *) "self",(char *) "enable", NULL
23360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23362 if (!SWIG_IsOK(res1
)) {
23363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23365 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23366 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23367 if (!SWIG_IsOK(ecode2
)) {
23368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23370 arg2
= static_cast< bool >(val2
);
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 result
= (bool)(arg1
)->Enable(arg2
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23386 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23387 PyObject
*resultobj
= 0;
23388 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23391 PyObject
*swig_obj
[1] ;
23393 if (!args
) SWIG_fail
;
23394 swig_obj
[0] = args
;
23395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23396 if (!SWIG_IsOK(res1
)) {
23397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23399 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23406 resultobj
= SWIG_Py_Void();
23413 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
= 0;
23415 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23422 PyObject
* obj0
= 0 ;
23423 PyObject
* obj1
= 0 ;
23424 char * kwnames
[] = {
23425 (char *) "self",(char *) "toggle", NULL
23428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23430 if (!SWIG_IsOK(res1
)) {
23431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23433 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23434 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23435 if (!SWIG_IsOK(ecode2
)) {
23436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23438 arg2
= static_cast< bool >(val2
);
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 result
= (bool)(arg1
)->SetToggle(arg2
);
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23454 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
= 0;
23456 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23457 wxString
*arg2
= 0 ;
23461 bool temp2
= false ;
23462 PyObject
* obj0
= 0 ;
23463 PyObject
* obj1
= 0 ;
23464 char * kwnames
[] = {
23465 (char *) "self",(char *) "help", NULL
23468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23470 if (!SWIG_IsOK(res1
)) {
23471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23473 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23475 arg2
= wxString_in_helper(obj1
);
23476 if (arg2
== NULL
) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23502 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
= 0;
23504 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23505 wxString
*arg2
= 0 ;
23509 bool temp2
= false ;
23510 PyObject
* obj0
= 0 ;
23511 PyObject
* obj1
= 0 ;
23512 char * kwnames
[] = {
23513 (char *) "self",(char *) "help", NULL
23516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23518 if (!SWIG_IsOK(res1
)) {
23519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23521 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23523 arg2
= wxString_in_helper(obj1
);
23524 if (arg2
== NULL
) SWIG_fail
;
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23550 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
= 0;
23552 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23553 wxBitmap
*arg2
= 0 ;
23558 PyObject
* obj0
= 0 ;
23559 PyObject
* obj1
= 0 ;
23560 char * kwnames
[] = {
23561 (char *) "self",(char *) "bmp", NULL
23564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23566 if (!SWIG_IsOK(res1
)) {
23567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23569 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23570 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23571 if (!SWIG_IsOK(res2
)) {
23572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23577 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 resultobj
= SWIG_Py_Void();
23591 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
= 0;
23593 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23594 wxBitmap
*arg2
= 0 ;
23599 PyObject
* obj0
= 0 ;
23600 PyObject
* obj1
= 0 ;
23601 char * kwnames
[] = {
23602 (char *) "self",(char *) "bmp", NULL
23605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23607 if (!SWIG_IsOK(res1
)) {
23608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23610 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23612 if (!SWIG_IsOK(res2
)) {
23613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23618 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= SWIG_Py_Void();
23632 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23633 PyObject
*resultobj
= 0;
23634 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23635 wxString
*arg2
= 0 ;
23638 bool temp2
= false ;
23639 PyObject
* obj0
= 0 ;
23640 PyObject
* obj1
= 0 ;
23641 char * kwnames
[] = {
23642 (char *) "self",(char *) "label", NULL
23645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23647 if (!SWIG_IsOK(res1
)) {
23648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23650 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23652 arg2
= wxString_in_helper(obj1
);
23653 if (arg2
== NULL
) SWIG_fail
;
23657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23658 (arg1
)->SetLabel((wxString
const &)*arg2
);
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 resultobj
= SWIG_Py_Void();
23677 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23678 PyObject
*resultobj
= 0;
23679 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23682 PyObject
*swig_obj
[1] ;
23684 if (!args
) SWIG_fail
;
23685 swig_obj
[0] = args
;
23686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23687 if (!SWIG_IsOK(res1
)) {
23688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23690 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_Py_Void();
23704 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
= 0;
23706 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23707 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23712 PyObject
* obj0
= 0 ;
23713 PyObject
* obj1
= 0 ;
23714 char * kwnames
[] = {
23715 (char *) "self",(char *) "tbar", NULL
23718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23720 if (!SWIG_IsOK(res1
)) {
23721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23723 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23725 if (!SWIG_IsOK(res2
)) {
23726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23728 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 (arg1
)->Attach(arg2
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= SWIG_Py_Void();
23742 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23743 PyObject
*resultobj
= 0;
23744 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23745 PyObject
*result
= 0 ;
23748 PyObject
*swig_obj
[1] ;
23750 if (!args
) SWIG_fail
;
23751 swig_obj
[0] = args
;
23752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23753 if (!SWIG_IsOK(res1
)) {
23754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23756 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23763 resultobj
= result
;
23770 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23771 PyObject
*resultobj
= 0;
23772 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23773 PyObject
*arg2
= (PyObject
*) 0 ;
23776 PyObject
* obj0
= 0 ;
23777 PyObject
* obj1
= 0 ;
23778 char * kwnames
[] = {
23779 (char *) "self",(char *) "clientData", NULL
23782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23784 if (!SWIG_IsOK(res1
)) {
23785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23787 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23795 resultobj
= SWIG_Py_Void();
23802 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23805 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23806 return SWIG_Py_Void();
23809 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
= 0;
23811 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23813 wxString
*arg3
= 0 ;
23814 wxBitmap
*arg4
= 0 ;
23815 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23816 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23817 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23818 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23819 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23820 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23821 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23822 PyObject
*arg9
= (PyObject
*) NULL
;
23823 wxToolBarToolBase
*result
= 0 ;
23828 bool temp3
= false ;
23835 bool temp7
= false ;
23836 bool temp8
= false ;
23837 PyObject
* obj0
= 0 ;
23838 PyObject
* obj1
= 0 ;
23839 PyObject
* obj2
= 0 ;
23840 PyObject
* obj3
= 0 ;
23841 PyObject
* obj4
= 0 ;
23842 PyObject
* obj5
= 0 ;
23843 PyObject
* obj6
= 0 ;
23844 PyObject
* obj7
= 0 ;
23845 PyObject
* obj8
= 0 ;
23846 char * kwnames
[] = {
23847 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23852 if (!SWIG_IsOK(res1
)) {
23853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23855 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23857 if (!SWIG_IsOK(ecode2
)) {
23858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23860 arg2
= static_cast< int >(val2
);
23862 arg3
= wxString_in_helper(obj2
);
23863 if (arg3
== NULL
) SWIG_fail
;
23866 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23867 if (!SWIG_IsOK(res4
)) {
23868 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23873 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23875 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23876 if (!SWIG_IsOK(res5
)) {
23877 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23882 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23885 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23886 if (!SWIG_IsOK(ecode6
)) {
23887 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23889 arg6
= static_cast< wxItemKind
>(val6
);
23893 arg7
= wxString_in_helper(obj6
);
23894 if (arg7
== NULL
) SWIG_fail
;
23900 arg8
= wxString_in_helper(obj7
);
23901 if (arg8
== NULL
) SWIG_fail
;
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23947 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
= 0;
23949 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23952 wxString
*arg4
= 0 ;
23953 wxBitmap
*arg5
= 0 ;
23954 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23955 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23956 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23957 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23958 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23959 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23960 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23961 PyObject
*arg10
= (PyObject
*) NULL
;
23962 wxToolBarToolBase
*result
= 0 ;
23969 bool temp4
= false ;
23976 bool temp8
= false ;
23977 bool temp9
= false ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 PyObject
* obj2
= 0 ;
23981 PyObject
* obj3
= 0 ;
23982 PyObject
* obj4
= 0 ;
23983 PyObject
* obj5
= 0 ;
23984 PyObject
* obj6
= 0 ;
23985 PyObject
* obj7
= 0 ;
23986 PyObject
* obj8
= 0 ;
23987 PyObject
* obj9
= 0 ;
23988 char * kwnames
[] = {
23989 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23994 if (!SWIG_IsOK(res1
)) {
23995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23997 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23998 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23999 if (!SWIG_IsOK(ecode2
)) {
24000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24002 arg2
= static_cast< size_t >(val2
);
24003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24004 if (!SWIG_IsOK(ecode3
)) {
24005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24007 arg3
= static_cast< int >(val3
);
24009 arg4
= wxString_in_helper(obj3
);
24010 if (arg4
== NULL
) SWIG_fail
;
24013 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24014 if (!SWIG_IsOK(res5
)) {
24015 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24020 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24022 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24023 if (!SWIG_IsOK(res6
)) {
24024 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24029 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24032 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24033 if (!SWIG_IsOK(ecode7
)) {
24034 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24036 arg7
= static_cast< wxItemKind
>(val7
);
24040 arg8
= wxString_in_helper(obj7
);
24041 if (arg8
== NULL
) SWIG_fail
;
24047 arg9
= wxString_in_helper(obj8
);
24048 if (arg9
== NULL
) SWIG_fail
;
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24057 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24094 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
= 0;
24096 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24097 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24098 wxToolBarToolBase
*result
= 0 ;
24103 PyObject
* obj0
= 0 ;
24104 PyObject
* obj1
= 0 ;
24105 char * kwnames
[] = {
24106 (char *) "self",(char *) "tool", NULL
24109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24111 if (!SWIG_IsOK(res1
)) {
24112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24114 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24115 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24116 if (!SWIG_IsOK(res2
)) {
24117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24119 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24135 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24136 PyObject
*resultobj
= 0;
24137 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24139 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24140 wxToolBarToolBase
*result
= 0 ;
24147 PyObject
* obj0
= 0 ;
24148 PyObject
* obj1
= 0 ;
24149 PyObject
* obj2
= 0 ;
24150 char * kwnames
[] = {
24151 (char *) "self",(char *) "pos",(char *) "tool", NULL
24154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24156 if (!SWIG_IsOK(res1
)) {
24157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24159 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24160 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24161 if (!SWIG_IsOK(ecode2
)) {
24162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24164 arg2
= static_cast< size_t >(val2
);
24165 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24166 if (!SWIG_IsOK(res3
)) {
24167 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24169 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24185 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
= 0;
24187 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24188 wxControl
*arg2
= (wxControl
*) 0 ;
24189 wxToolBarToolBase
*result
= 0 ;
24194 PyObject
* obj0
= 0 ;
24195 PyObject
* obj1
= 0 ;
24196 char * kwnames
[] = {
24197 (char *) "self",(char *) "control", NULL
24200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24202 if (!SWIG_IsOK(res1
)) {
24203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24205 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24207 if (!SWIG_IsOK(res2
)) {
24208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24210 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24218 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24226 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24227 PyObject
*resultobj
= 0;
24228 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24230 wxControl
*arg3
= (wxControl
*) 0 ;
24231 wxToolBarToolBase
*result
= 0 ;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24240 PyObject
* obj2
= 0 ;
24241 char * kwnames
[] = {
24242 (char *) "self",(char *) "pos",(char *) "control", NULL
24245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24247 if (!SWIG_IsOK(res1
)) {
24248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24250 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24251 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24252 if (!SWIG_IsOK(ecode2
)) {
24253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24255 arg2
= static_cast< size_t >(val2
);
24256 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24257 if (!SWIG_IsOK(res3
)) {
24258 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24260 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24276 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
= 0;
24278 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24280 wxControl
*result
= 0 ;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 char * kwnames
[] = {
24288 (char *) "self",(char *) "id", NULL
24291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24293 if (!SWIG_IsOK(res1
)) {
24294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24296 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24298 if (!SWIG_IsOK(ecode2
)) {
24299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24301 arg2
= static_cast< int >(val2
);
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= wxPyMake_wxObject(result
, 0);
24317 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24318 PyObject
*resultobj
= 0;
24319 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24320 wxToolBarToolBase
*result
= 0 ;
24323 PyObject
*swig_obj
[1] ;
24325 if (!args
) SWIG_fail
;
24326 swig_obj
[0] = args
;
24327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24328 if (!SWIG_IsOK(res1
)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24331 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24335 wxPyEndAllowThreads(__tstate
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24339 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24347 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24348 PyObject
*resultobj
= 0;
24349 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24351 wxToolBarToolBase
*result
= 0 ;
24356 PyObject
* obj0
= 0 ;
24357 PyObject
* obj1
= 0 ;
24358 char * kwnames
[] = {
24359 (char *) "self",(char *) "pos", NULL
24362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24364 if (!SWIG_IsOK(res1
)) {
24365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24367 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24368 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24369 if (!SWIG_IsOK(ecode2
)) {
24370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24372 arg2
= static_cast< size_t >(val2
);
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24388 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
= 0;
24390 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24392 wxToolBarToolBase
*result
= 0 ;
24397 PyObject
* obj0
= 0 ;
24398 PyObject
* obj1
= 0 ;
24399 char * kwnames
[] = {
24400 (char *) "self",(char *) "id", NULL
24403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24405 if (!SWIG_IsOK(res1
)) {
24406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24408 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24410 if (!SWIG_IsOK(ecode2
)) {
24411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24413 arg2
= static_cast< int >(val2
);
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24429 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
= 0;
24431 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24438 PyObject
* obj0
= 0 ;
24439 PyObject
* obj1
= 0 ;
24440 char * kwnames
[] = {
24441 (char *) "self",(char *) "pos", NULL
24444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24446 if (!SWIG_IsOK(res1
)) {
24447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24449 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24450 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24451 if (!SWIG_IsOK(ecode2
)) {
24452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24454 arg2
= static_cast< size_t >(val2
);
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24470 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
= 0;
24472 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24479 PyObject
* obj0
= 0 ;
24480 PyObject
* obj1
= 0 ;
24481 char * kwnames
[] = {
24482 (char *) "self",(char *) "id", NULL
24485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24487 if (!SWIG_IsOK(res1
)) {
24488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24490 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24492 if (!SWIG_IsOK(ecode2
)) {
24493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24495 arg2
= static_cast< int >(val2
);
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 result
= (bool)(arg1
)->DeleteTool(arg2
);
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24511 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24512 PyObject
*resultobj
= 0;
24513 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24516 PyObject
*swig_obj
[1] ;
24518 if (!args
) SWIG_fail
;
24519 swig_obj
[0] = args
;
24520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24521 if (!SWIG_IsOK(res1
)) {
24522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24524 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 (arg1
)->ClearTools();
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24531 resultobj
= SWIG_Py_Void();
24538 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24539 PyObject
*resultobj
= 0;
24540 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24544 PyObject
*swig_obj
[1] ;
24546 if (!args
) SWIG_fail
;
24547 swig_obj
[0] = args
;
24548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24549 if (!SWIG_IsOK(res1
)) {
24550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24552 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 result
= (bool)(arg1
)->Realize();
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24568 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24569 PyObject
*resultobj
= 0;
24570 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 PyObject
* obj2
= 0 ;
24582 char * kwnames
[] = {
24583 (char *) "self",(char *) "id",(char *) "enable", NULL
24586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24588 if (!SWIG_IsOK(res1
)) {
24589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24591 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24593 if (!SWIG_IsOK(ecode2
)) {
24594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24596 arg2
= static_cast< int >(val2
);
24597 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24598 if (!SWIG_IsOK(ecode3
)) {
24599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24601 arg3
= static_cast< bool >(val3
);
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 (arg1
)->EnableTool(arg2
,arg3
);
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= SWIG_Py_Void();
24615 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
= 0;
24617 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24626 PyObject
* obj0
= 0 ;
24627 PyObject
* obj1
= 0 ;
24628 PyObject
* obj2
= 0 ;
24629 char * kwnames
[] = {
24630 (char *) "self",(char *) "id",(char *) "toggle", NULL
24633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24635 if (!SWIG_IsOK(res1
)) {
24636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24638 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24640 if (!SWIG_IsOK(ecode2
)) {
24641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24643 arg2
= static_cast< int >(val2
);
24644 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24645 if (!SWIG_IsOK(ecode3
)) {
24646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24648 arg3
= static_cast< bool >(val3
);
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 (arg1
)->ToggleTool(arg2
,arg3
);
24652 wxPyEndAllowThreads(__tstate
);
24653 if (PyErr_Occurred()) SWIG_fail
;
24655 resultobj
= SWIG_Py_Void();
24662 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
= 0;
24664 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24673 PyObject
* obj0
= 0 ;
24674 PyObject
* obj1
= 0 ;
24675 PyObject
* obj2
= 0 ;
24676 char * kwnames
[] = {
24677 (char *) "self",(char *) "id",(char *) "toggle", NULL
24680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24682 if (!SWIG_IsOK(res1
)) {
24683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24685 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24687 if (!SWIG_IsOK(ecode2
)) {
24688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24690 arg2
= static_cast< int >(val2
);
24691 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24692 if (!SWIG_IsOK(ecode3
)) {
24693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24695 arg3
= static_cast< bool >(val3
);
24697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24698 (arg1
)->SetToggle(arg2
,arg3
);
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24702 resultobj
= SWIG_Py_Void();
24709 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
= 0;
24711 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24713 PyObject
*result
= 0 ;
24718 PyObject
* obj0
= 0 ;
24719 PyObject
* obj1
= 0 ;
24720 char * kwnames
[] = {
24721 (char *) "self",(char *) "id", NULL
24724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24726 if (!SWIG_IsOK(res1
)) {
24727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24729 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24731 if (!SWIG_IsOK(ecode2
)) {
24732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24734 arg2
= static_cast< int >(val2
);
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24741 resultobj
= result
;
24748 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24749 PyObject
*resultobj
= 0;
24750 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24752 PyObject
*arg3
= (PyObject
*) 0 ;
24757 PyObject
* obj0
= 0 ;
24758 PyObject
* obj1
= 0 ;
24759 PyObject
* obj2
= 0 ;
24760 char * kwnames
[] = {
24761 (char *) "self",(char *) "id",(char *) "clientData", NULL
24764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24766 if (!SWIG_IsOK(res1
)) {
24767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24769 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24771 if (!SWIG_IsOK(ecode2
)) {
24772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24774 arg2
= static_cast< int >(val2
);
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24782 resultobj
= SWIG_Py_Void();
24789 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24790 PyObject
*resultobj
= 0;
24791 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24798 PyObject
* obj0
= 0 ;
24799 PyObject
* obj1
= 0 ;
24800 char * kwnames
[] = {
24801 (char *) "self",(char *) "id", NULL
24804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24806 if (!SWIG_IsOK(res1
)) {
24807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24809 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24811 if (!SWIG_IsOK(ecode2
)) {
24812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24814 arg2
= static_cast< int >(val2
);
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= SWIG_From_int(static_cast< int >(result
));
24828 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24829 PyObject
*resultobj
= 0;
24830 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 PyObject
* obj1
= 0 ;
24839 char * kwnames
[] = {
24840 (char *) "self",(char *) "id", NULL
24843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24845 if (!SWIG_IsOK(res1
)) {
24846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24848 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24850 if (!SWIG_IsOK(ecode2
)) {
24851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24853 arg2
= static_cast< int >(val2
);
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 result
= (bool)(arg1
)->GetToolState(arg2
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24869 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24870 PyObject
*resultobj
= 0;
24871 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24878 PyObject
* obj0
= 0 ;
24879 PyObject
* obj1
= 0 ;
24880 char * kwnames
[] = {
24881 (char *) "self",(char *) "id", NULL
24884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24886 if (!SWIG_IsOK(res1
)) {
24887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24889 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24891 if (!SWIG_IsOK(ecode2
)) {
24892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24894 arg2
= static_cast< int >(val2
);
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24898 wxPyEndAllowThreads(__tstate
);
24899 if (PyErr_Occurred()) SWIG_fail
;
24902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24910 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24911 PyObject
*resultobj
= 0;
24912 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24914 wxString
*arg3
= 0 ;
24919 bool temp3
= false ;
24920 PyObject
* obj0
= 0 ;
24921 PyObject
* obj1
= 0 ;
24922 PyObject
* obj2
= 0 ;
24923 char * kwnames
[] = {
24924 (char *) "self",(char *) "id",(char *) "helpString", NULL
24927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24929 if (!SWIG_IsOK(res1
)) {
24930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24932 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24934 if (!SWIG_IsOK(ecode2
)) {
24935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24937 arg2
= static_cast< int >(val2
);
24939 arg3
= wxString_in_helper(obj2
);
24940 if (arg3
== NULL
) SWIG_fail
;
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= SWIG_Py_Void();
24964 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
= 0;
24966 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24973 PyObject
* obj0
= 0 ;
24974 PyObject
* obj1
= 0 ;
24975 char * kwnames
[] = {
24976 (char *) "self",(char *) "id", NULL
24979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24981 if (!SWIG_IsOK(res1
)) {
24982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24984 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24986 if (!SWIG_IsOK(ecode2
)) {
24987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24989 arg2
= static_cast< int >(val2
);
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 result
= (arg1
)->GetToolShortHelp(arg2
);
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25009 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
= 0;
25011 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25013 wxString
*arg3
= 0 ;
25018 bool temp3
= false ;
25019 PyObject
* obj0
= 0 ;
25020 PyObject
* obj1
= 0 ;
25021 PyObject
* obj2
= 0 ;
25022 char * kwnames
[] = {
25023 (char *) "self",(char *) "id",(char *) "helpString", NULL
25026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25028 if (!SWIG_IsOK(res1
)) {
25029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25031 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25033 if (!SWIG_IsOK(ecode2
)) {
25034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25036 arg2
= static_cast< int >(val2
);
25038 arg3
= wxString_in_helper(obj2
);
25039 if (arg3
== NULL
) SWIG_fail
;
25043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25044 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= SWIG_Py_Void();
25063 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
= 0;
25065 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25072 PyObject
* obj0
= 0 ;
25073 PyObject
* obj1
= 0 ;
25074 char * kwnames
[] = {
25075 (char *) "self",(char *) "id", NULL
25078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25080 if (!SWIG_IsOK(res1
)) {
25081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25083 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25085 if (!SWIG_IsOK(ecode2
)) {
25086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25088 arg2
= static_cast< int >(val2
);
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 result
= (arg1
)->GetToolLongHelp(arg2
);
25092 wxPyEndAllowThreads(__tstate
);
25093 if (PyErr_Occurred()) SWIG_fail
;
25097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25108 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25109 PyObject
*resultobj
= 0;
25110 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25119 PyObject
* obj0
= 0 ;
25120 PyObject
* obj1
= 0 ;
25121 PyObject
* obj2
= 0 ;
25122 char * kwnames
[] = {
25123 (char *) "self",(char *) "x",(char *) "y", NULL
25126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25128 if (!SWIG_IsOK(res1
)) {
25129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25131 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25133 if (!SWIG_IsOK(ecode2
)) {
25134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25136 arg2
= static_cast< int >(val2
);
25137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25138 if (!SWIG_IsOK(ecode3
)) {
25139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25141 arg3
= static_cast< int >(val3
);
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 (arg1
)->SetMargins(arg2
,arg3
);
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25148 resultobj
= SWIG_Py_Void();
25155 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
= 0;
25157 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25162 PyObject
* obj0
= 0 ;
25163 PyObject
* obj1
= 0 ;
25164 char * kwnames
[] = {
25165 (char *) "self",(char *) "size", NULL
25168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25170 if (!SWIG_IsOK(res1
)) {
25171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25173 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25176 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25184 resultobj
= SWIG_Py_Void();
25191 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
= 0;
25193 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25199 PyObject
* obj0
= 0 ;
25200 PyObject
* obj1
= 0 ;
25201 char * kwnames
[] = {
25202 (char *) "self",(char *) "packing", NULL
25205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25207 if (!SWIG_IsOK(res1
)) {
25208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25210 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25212 if (!SWIG_IsOK(ecode2
)) {
25213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25215 arg2
= static_cast< int >(val2
);
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 (arg1
)->SetToolPacking(arg2
);
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25222 resultobj
= SWIG_Py_Void();
25229 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
= 0;
25231 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25237 PyObject
* obj0
= 0 ;
25238 PyObject
* obj1
= 0 ;
25239 char * kwnames
[] = {
25240 (char *) "self",(char *) "separation", NULL
25243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25245 if (!SWIG_IsOK(res1
)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25248 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25250 if (!SWIG_IsOK(ecode2
)) {
25251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25253 arg2
= static_cast< int >(val2
);
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 (arg1
)->SetToolSeparation(arg2
);
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25260 resultobj
= SWIG_Py_Void();
25267 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25268 PyObject
*resultobj
= 0;
25269 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25273 PyObject
*swig_obj
[1] ;
25275 if (!args
) SWIG_fail
;
25276 swig_obj
[0] = args
;
25277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25278 if (!SWIG_IsOK(res1
)) {
25279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25281 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 result
= (arg1
)->GetToolMargins();
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25288 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25295 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25296 PyObject
*resultobj
= 0;
25297 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25301 PyObject
*swig_obj
[1] ;
25303 if (!args
) SWIG_fail
;
25304 swig_obj
[0] = args
;
25305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25306 if (!SWIG_IsOK(res1
)) {
25307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25309 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25312 result
= (arg1
)->GetMargins();
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25323 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25324 PyObject
*resultobj
= 0;
25325 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25329 PyObject
*swig_obj
[1] ;
25331 if (!args
) SWIG_fail
;
25332 swig_obj
[0] = args
;
25333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25334 if (!SWIG_IsOK(res1
)) {
25335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25337 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25340 result
= (int)(arg1
)->GetToolPacking();
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25344 resultobj
= SWIG_From_int(static_cast< int >(result
));
25351 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25352 PyObject
*resultobj
= 0;
25353 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25357 PyObject
*swig_obj
[1] ;
25359 if (!args
) SWIG_fail
;
25360 swig_obj
[0] = args
;
25361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25362 if (!SWIG_IsOK(res1
)) {
25363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25365 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 result
= (int)(arg1
)->GetToolSeparation();
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25372 resultobj
= SWIG_From_int(static_cast< int >(result
));
25379 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
= 0;
25381 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25387 PyObject
* obj0
= 0 ;
25388 PyObject
* obj1
= 0 ;
25389 char * kwnames
[] = {
25390 (char *) "self",(char *) "nRows", NULL
25393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25395 if (!SWIG_IsOK(res1
)) {
25396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25398 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25400 if (!SWIG_IsOK(ecode2
)) {
25401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25403 arg2
= static_cast< int >(val2
);
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 (arg1
)->SetRows(arg2
);
25407 wxPyEndAllowThreads(__tstate
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= SWIG_Py_Void();
25417 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
= 0;
25419 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25428 PyObject
* obj0
= 0 ;
25429 PyObject
* obj1
= 0 ;
25430 PyObject
* obj2
= 0 ;
25431 char * kwnames
[] = {
25432 (char *) "self",(char *) "rows",(char *) "cols", NULL
25435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25437 if (!SWIG_IsOK(res1
)) {
25438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25440 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25442 if (!SWIG_IsOK(ecode2
)) {
25443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25445 arg2
= static_cast< int >(val2
);
25446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25447 if (!SWIG_IsOK(ecode3
)) {
25448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25450 arg3
= static_cast< int >(val3
);
25452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 resultobj
= SWIG_Py_Void();
25464 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25465 PyObject
*resultobj
= 0;
25466 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25470 PyObject
*swig_obj
[1] ;
25472 if (!args
) SWIG_fail
;
25473 swig_obj
[0] = args
;
25474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25475 if (!SWIG_IsOK(res1
)) {
25476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25478 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 result
= (int)(arg1
)->GetMaxRows();
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= SWIG_From_int(static_cast< int >(result
));
25492 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25493 PyObject
*resultobj
= 0;
25494 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25498 PyObject
*swig_obj
[1] ;
25500 if (!args
) SWIG_fail
;
25501 swig_obj
[0] = args
;
25502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25503 if (!SWIG_IsOK(res1
)) {
25504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25506 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 result
= (int)(arg1
)->GetMaxCols();
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= SWIG_From_int(static_cast< int >(result
));
25520 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
= 0;
25522 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25527 PyObject
* obj0
= 0 ;
25528 PyObject
* obj1
= 0 ;
25529 char * kwnames
[] = {
25530 (char *) "self",(char *) "size", NULL
25533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25535 if (!SWIG_IsOK(res1
)) {
25536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25538 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25541 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 resultobj
= SWIG_Py_Void();
25556 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25557 PyObject
*resultobj
= 0;
25558 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25562 PyObject
*swig_obj
[1] ;
25564 if (!args
) SWIG_fail
;
25565 swig_obj
[0] = args
;
25566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25567 if (!SWIG_IsOK(res1
)) {
25568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25570 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25573 result
= (arg1
)->GetToolBitmapSize();
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25584 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25585 PyObject
*resultobj
= 0;
25586 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25590 PyObject
*swig_obj
[1] ;
25592 if (!args
) SWIG_fail
;
25593 swig_obj
[0] = args
;
25594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25595 if (!SWIG_IsOK(res1
)) {
25596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25598 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25601 result
= (arg1
)->GetToolSize();
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25612 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
= 0;
25614 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25617 wxToolBarToolBase
*result
= 0 ;
25624 PyObject
* obj0
= 0 ;
25625 PyObject
* obj1
= 0 ;
25626 PyObject
* obj2
= 0 ;
25627 char * kwnames
[] = {
25628 (char *) "self",(char *) "x",(char *) "y", NULL
25631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25633 if (!SWIG_IsOK(res1
)) {
25634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25636 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25638 if (!SWIG_IsOK(ecode2
)) {
25639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25641 arg2
= static_cast< int >(val2
);
25642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25643 if (!SWIG_IsOK(ecode3
)) {
25644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25646 arg3
= static_cast< int >(val3
);
25648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25649 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25654 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25662 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
= 0;
25664 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25666 wxToolBarToolBase
*result
= 0 ;
25671 PyObject
* obj0
= 0 ;
25672 PyObject
* obj1
= 0 ;
25673 char * kwnames
[] = {
25674 (char *) "self",(char *) "toolid", NULL
25677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25679 if (!SWIG_IsOK(res1
)) {
25680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25682 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25684 if (!SWIG_IsOK(ecode2
)) {
25685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25687 arg2
= static_cast< int >(val2
);
25689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25695 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25703 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25704 PyObject
*resultobj
= 0;
25705 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25709 PyObject
*swig_obj
[1] ;
25711 if (!args
) SWIG_fail
;
25712 swig_obj
[0] = args
;
25713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25714 if (!SWIG_IsOK(res1
)) {
25715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25717 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 result
= (bool)(arg1
)->IsVertical();
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25733 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25734 PyObject
*resultobj
= 0;
25735 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25739 PyObject
*swig_obj
[1] ;
25741 if (!args
) SWIG_fail
;
25742 swig_obj
[0] = args
;
25743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25744 if (!SWIG_IsOK(res1
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25747 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25761 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25764 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25765 return SWIG_Py_Void();
25768 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
= 0;
25770 wxWindow
*arg1
= (wxWindow
*) 0 ;
25771 int arg2
= (int) -1 ;
25772 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25773 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25774 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25775 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25776 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25777 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25778 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25779 wxToolBar
*result
= 0 ;
25788 bool temp6
= false ;
25789 PyObject
* obj0
= 0 ;
25790 PyObject
* obj1
= 0 ;
25791 PyObject
* obj2
= 0 ;
25792 PyObject
* obj3
= 0 ;
25793 PyObject
* obj4
= 0 ;
25794 PyObject
* obj5
= 0 ;
25795 char * kwnames
[] = {
25796 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25801 if (!SWIG_IsOK(res1
)) {
25802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25804 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25807 if (!SWIG_IsOK(ecode2
)) {
25808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25810 arg2
= static_cast< int >(val2
);
25815 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25821 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25825 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25826 if (!SWIG_IsOK(ecode5
)) {
25827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25829 arg5
= static_cast< long >(val5
);
25833 arg6
= wxString_in_helper(obj5
);
25834 if (arg6
== NULL
) SWIG_fail
;
25839 if (!wxPyCheckForApp()) SWIG_fail
;
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25860 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25861 PyObject
*resultobj
= 0;
25862 wxToolBar
*result
= 0 ;
25864 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25866 if (!wxPyCheckForApp()) SWIG_fail
;
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 result
= (wxToolBar
*)new wxToolBar();
25869 wxPyEndAllowThreads(__tstate
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25879 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25880 PyObject
*resultobj
= 0;
25881 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25882 wxWindow
*arg2
= (wxWindow
*) 0 ;
25883 int arg3
= (int) -1 ;
25884 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25885 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25886 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25887 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25888 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25889 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25890 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25902 bool temp7
= false ;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 PyObject
* obj2
= 0 ;
25906 PyObject
* obj3
= 0 ;
25907 PyObject
* obj4
= 0 ;
25908 PyObject
* obj5
= 0 ;
25909 PyObject
* obj6
= 0 ;
25910 char * kwnames
[] = {
25911 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25916 if (!SWIG_IsOK(res1
)) {
25917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25919 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25920 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25921 if (!SWIG_IsOK(res2
)) {
25922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25924 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25927 if (!SWIG_IsOK(ecode3
)) {
25928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25930 arg3
= static_cast< int >(val3
);
25935 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25941 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25945 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25946 if (!SWIG_IsOK(ecode6
)) {
25947 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25949 arg6
= static_cast< long >(val6
);
25953 arg7
= wxString_in_helper(obj6
);
25954 if (arg7
== NULL
) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25981 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25982 PyObject
*resultobj
= 0;
25983 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25984 SwigValueWrapper
<wxVisualAttributes
> result
;
25987 PyObject
* obj0
= 0 ;
25988 char * kwnames
[] = {
25989 (char *) "variant", NULL
25992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25994 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25995 if (!SWIG_IsOK(ecode1
)) {
25996 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25998 arg1
= static_cast< wxWindowVariant
>(val1
);
26001 if (!wxPyCheckForApp()) SWIG_fail
;
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26007 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26014 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26017 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26018 return SWIG_Py_Void();
26021 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26022 return SWIG_Python_InitShadowInstance(args
);
26025 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26026 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26031 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26032 PyObject
*pyobj
= 0;
26036 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26038 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26045 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26046 PyObject
*resultobj
= 0;
26047 wxColour
const &arg1_defvalue
= wxNullColour
;
26048 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26049 wxColour
const &arg2_defvalue
= wxNullColour
;
26050 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26051 wxFont
const &arg3_defvalue
= wxNullFont
;
26052 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26053 wxListItemAttr
*result
= 0 ;
26058 PyObject
* obj0
= 0 ;
26059 PyObject
* obj1
= 0 ;
26060 PyObject
* obj2
= 0 ;
26061 char * kwnames
[] = {
26062 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26069 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26075 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26079 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26080 if (!SWIG_IsOK(res3
)) {
26081 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26086 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26091 wxPyEndAllowThreads(__tstate
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26101 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26102 PyObject
*resultobj
= 0;
26103 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26106 PyObject
*swig_obj
[1] ;
26108 if (!args
) SWIG_fail
;
26109 swig_obj
[0] = args
;
26110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26111 if (!SWIG_IsOK(res1
)) {
26112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26114 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= SWIG_Py_Void();
26129 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26130 PyObject
*resultobj
= 0;
26131 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26132 wxColour
*arg2
= 0 ;
26136 PyObject
* obj0
= 0 ;
26137 PyObject
* obj1
= 0 ;
26138 char * kwnames
[] = {
26139 (char *) "self",(char *) "colText", NULL
26142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26144 if (!SWIG_IsOK(res1
)) {
26145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26147 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26150 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26155 wxPyEndAllowThreads(__tstate
);
26156 if (PyErr_Occurred()) SWIG_fail
;
26158 resultobj
= SWIG_Py_Void();
26165 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26166 PyObject
*resultobj
= 0;
26167 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26168 wxColour
*arg2
= 0 ;
26172 PyObject
* obj0
= 0 ;
26173 PyObject
* obj1
= 0 ;
26174 char * kwnames
[] = {
26175 (char *) "self",(char *) "colBack", NULL
26178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26180 if (!SWIG_IsOK(res1
)) {
26181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26183 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26186 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26190 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26191 wxPyEndAllowThreads(__tstate
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26194 resultobj
= SWIG_Py_Void();
26201 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26202 PyObject
*resultobj
= 0;
26203 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26209 PyObject
* obj0
= 0 ;
26210 PyObject
* obj1
= 0 ;
26211 char * kwnames
[] = {
26212 (char *) "self",(char *) "font", NULL
26215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26217 if (!SWIG_IsOK(res1
)) {
26218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26220 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26221 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26222 if (!SWIG_IsOK(res2
)) {
26223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26228 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 (arg1
)->SetFont((wxFont
const &)*arg2
);
26232 wxPyEndAllowThreads(__tstate
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26235 resultobj
= SWIG_Py_Void();
26242 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26243 PyObject
*resultobj
= 0;
26244 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26248 PyObject
*swig_obj
[1] ;
26250 if (!args
) SWIG_fail
;
26251 swig_obj
[0] = args
;
26252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26253 if (!SWIG_IsOK(res1
)) {
26254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26256 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 result
= (bool)(arg1
)->HasTextColour();
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26272 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26273 PyObject
*resultobj
= 0;
26274 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26278 PyObject
*swig_obj
[1] ;
26280 if (!args
) SWIG_fail
;
26281 swig_obj
[0] = args
;
26282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26283 if (!SWIG_IsOK(res1
)) {
26284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26286 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26289 result
= (bool)(arg1
)->HasBackgroundColour();
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26302 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26303 PyObject
*resultobj
= 0;
26304 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26308 PyObject
*swig_obj
[1] ;
26310 if (!args
) SWIG_fail
;
26311 swig_obj
[0] = args
;
26312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26313 if (!SWIG_IsOK(res1
)) {
26314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26316 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26319 result
= (bool)(arg1
)->HasFont();
26320 wxPyEndAllowThreads(__tstate
);
26321 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26332 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26333 PyObject
*resultobj
= 0;
26334 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26338 PyObject
*swig_obj
[1] ;
26340 if (!args
) SWIG_fail
;
26341 swig_obj
[0] = args
;
26342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26343 if (!SWIG_IsOK(res1
)) {
26344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26346 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 result
= (arg1
)->GetTextColour();
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26360 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26361 PyObject
*resultobj
= 0;
26362 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26366 PyObject
*swig_obj
[1] ;
26368 if (!args
) SWIG_fail
;
26369 swig_obj
[0] = args
;
26370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26371 if (!SWIG_IsOK(res1
)) {
26372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26374 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 result
= (arg1
)->GetBackgroundColour();
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26388 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26389 PyObject
*resultobj
= 0;
26390 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26394 PyObject
*swig_obj
[1] ;
26396 if (!args
) SWIG_fail
;
26397 swig_obj
[0] = args
;
26398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26399 if (!SWIG_IsOK(res1
)) {
26400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26402 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 result
= (arg1
)->GetFont();
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26416 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
= 0;
26418 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26419 wxListItemAttr
*arg2
= 0 ;
26424 PyObject
* obj0
= 0 ;
26425 PyObject
* obj1
= 0 ;
26426 char * kwnames
[] = {
26427 (char *) "self",(char *) "source", NULL
26430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26432 if (!SWIG_IsOK(res1
)) {
26433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26435 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26436 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26437 if (!SWIG_IsOK(res2
)) {
26438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26443 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= SWIG_Py_Void();
26457 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26458 PyObject
*resultobj
= 0;
26459 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26462 PyObject
*swig_obj
[1] ;
26464 if (!args
) SWIG_fail
;
26465 swig_obj
[0] = args
;
26466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26467 if (!SWIG_IsOK(res1
)) {
26468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26470 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 wxListItemAttr_Destroy(arg1
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= SWIG_Py_Void();
26484 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26486 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26487 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26488 return SWIG_Py_Void();
26491 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26492 return SWIG_Python_InitShadowInstance(args
);
26495 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26496 PyObject
*resultobj
= 0;
26497 wxListItem
*result
= 0 ;
26499 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26502 result
= (wxListItem
*)new wxListItem();
26503 wxPyEndAllowThreads(__tstate
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26513 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26514 PyObject
*resultobj
= 0;
26515 wxListItem
*arg1
= (wxListItem
*) 0 ;
26518 PyObject
*swig_obj
[1] ;
26520 if (!args
) SWIG_fail
;
26521 swig_obj
[0] = args
;
26522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26523 if (!SWIG_IsOK(res1
)) {
26524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26526 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= SWIG_Py_Void();
26541 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26542 PyObject
*resultobj
= 0;
26543 wxListItem
*arg1
= (wxListItem
*) 0 ;
26546 PyObject
*swig_obj
[1] ;
26548 if (!args
) SWIG_fail
;
26549 swig_obj
[0] = args
;
26550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26551 if (!SWIG_IsOK(res1
)) {
26552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26554 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 resultobj
= SWIG_Py_Void();
26568 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26569 PyObject
*resultobj
= 0;
26570 wxListItem
*arg1
= (wxListItem
*) 0 ;
26573 PyObject
*swig_obj
[1] ;
26575 if (!args
) SWIG_fail
;
26576 swig_obj
[0] = args
;
26577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26578 if (!SWIG_IsOK(res1
)) {
26579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26581 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 (arg1
)->ClearAttributes();
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_Py_Void();
26595 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
= 0;
26597 wxListItem
*arg1
= (wxListItem
*) 0 ;
26603 PyObject
* obj0
= 0 ;
26604 PyObject
* obj1
= 0 ;
26605 char * kwnames
[] = {
26606 (char *) "self",(char *) "mask", NULL
26609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26611 if (!SWIG_IsOK(res1
)) {
26612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26614 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26615 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26616 if (!SWIG_IsOK(ecode2
)) {
26617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26619 arg2
= static_cast< long >(val2
);
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 (arg1
)->SetMask(arg2
);
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= SWIG_Py_Void();
26633 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
= 0;
26635 wxListItem
*arg1
= (wxListItem
*) 0 ;
26641 PyObject
* obj0
= 0 ;
26642 PyObject
* obj1
= 0 ;
26643 char * kwnames
[] = {
26644 (char *) "self",(char *) "id", NULL
26647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26649 if (!SWIG_IsOK(res1
)) {
26650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26652 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26653 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26654 if (!SWIG_IsOK(ecode2
)) {
26655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26657 arg2
= static_cast< long >(val2
);
26659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26660 (arg1
)->SetId(arg2
);
26661 wxPyEndAllowThreads(__tstate
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26664 resultobj
= SWIG_Py_Void();
26671 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26672 PyObject
*resultobj
= 0;
26673 wxListItem
*arg1
= (wxListItem
*) 0 ;
26679 PyObject
* obj0
= 0 ;
26680 PyObject
* obj1
= 0 ;
26681 char * kwnames
[] = {
26682 (char *) "self",(char *) "col", NULL
26685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26687 if (!SWIG_IsOK(res1
)) {
26688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26690 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26692 if (!SWIG_IsOK(ecode2
)) {
26693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26695 arg2
= static_cast< int >(val2
);
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26698 (arg1
)->SetColumn(arg2
);
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26702 resultobj
= SWIG_Py_Void();
26709 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
= 0;
26711 wxListItem
*arg1
= (wxListItem
*) 0 ;
26717 PyObject
* obj0
= 0 ;
26718 PyObject
* obj1
= 0 ;
26719 char * kwnames
[] = {
26720 (char *) "self",(char *) "state", NULL
26723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26725 if (!SWIG_IsOK(res1
)) {
26726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26728 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26729 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26730 if (!SWIG_IsOK(ecode2
)) {
26731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26733 arg2
= static_cast< long >(val2
);
26735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26736 (arg1
)->SetState(arg2
);
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26740 resultobj
= SWIG_Py_Void();
26747 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26748 PyObject
*resultobj
= 0;
26749 wxListItem
*arg1
= (wxListItem
*) 0 ;
26755 PyObject
* obj0
= 0 ;
26756 PyObject
* obj1
= 0 ;
26757 char * kwnames
[] = {
26758 (char *) "self",(char *) "stateMask", NULL
26761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26763 if (!SWIG_IsOK(res1
)) {
26764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26766 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26767 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26768 if (!SWIG_IsOK(ecode2
)) {
26769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26771 arg2
= static_cast< long >(val2
);
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 (arg1
)->SetStateMask(arg2
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= SWIG_Py_Void();
26785 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
= 0;
26787 wxListItem
*arg1
= (wxListItem
*) 0 ;
26788 wxString
*arg2
= 0 ;
26791 bool temp2
= false ;
26792 PyObject
* obj0
= 0 ;
26793 PyObject
* obj1
= 0 ;
26794 char * kwnames
[] = {
26795 (char *) "self",(char *) "text", NULL
26798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26800 if (!SWIG_IsOK(res1
)) {
26801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26803 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26805 arg2
= wxString_in_helper(obj1
);
26806 if (arg2
== NULL
) SWIG_fail
;
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 (arg1
)->SetText((wxString
const &)*arg2
);
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26815 resultobj
= SWIG_Py_Void();
26830 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26831 PyObject
*resultobj
= 0;
26832 wxListItem
*arg1
= (wxListItem
*) 0 ;
26838 PyObject
* obj0
= 0 ;
26839 PyObject
* obj1
= 0 ;
26840 char * kwnames
[] = {
26841 (char *) "self",(char *) "image", NULL
26844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26846 if (!SWIG_IsOK(res1
)) {
26847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26849 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26851 if (!SWIG_IsOK(ecode2
)) {
26852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26854 arg2
= static_cast< int >(val2
);
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 (arg1
)->SetImage(arg2
);
26858 wxPyEndAllowThreads(__tstate
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= SWIG_Py_Void();
26868 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
= 0;
26870 wxListItem
*arg1
= (wxListItem
*) 0 ;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 char * kwnames
[] = {
26879 (char *) "self",(char *) "data", NULL
26882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26884 if (!SWIG_IsOK(res1
)) {
26885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26887 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26888 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26889 if (!SWIG_IsOK(ecode2
)) {
26890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26892 arg2
= static_cast< long >(val2
);
26894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26895 (arg1
)->SetData(arg2
);
26896 wxPyEndAllowThreads(__tstate
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26899 resultobj
= SWIG_Py_Void();
26906 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26907 PyObject
*resultobj
= 0;
26908 wxListItem
*arg1
= (wxListItem
*) 0 ;
26914 PyObject
* obj0
= 0 ;
26915 PyObject
* obj1
= 0 ;
26916 char * kwnames
[] = {
26917 (char *) "self",(char *) "width", NULL
26920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26922 if (!SWIG_IsOK(res1
)) {
26923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26925 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26927 if (!SWIG_IsOK(ecode2
)) {
26928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26930 arg2
= static_cast< int >(val2
);
26932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26933 (arg1
)->SetWidth(arg2
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 resultobj
= SWIG_Py_Void();
26944 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
= 0;
26946 wxListItem
*arg1
= (wxListItem
*) 0 ;
26947 wxListColumnFormat arg2
;
26952 PyObject
* obj0
= 0 ;
26953 PyObject
* obj1
= 0 ;
26954 char * kwnames
[] = {
26955 (char *) "self",(char *) "align", NULL
26958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26960 if (!SWIG_IsOK(res1
)) {
26961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26963 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26965 if (!SWIG_IsOK(ecode2
)) {
26966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26968 arg2
= static_cast< wxListColumnFormat
>(val2
);
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 (arg1
)->SetAlign(arg2
);
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= SWIG_Py_Void();
26982 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
= 0;
26984 wxListItem
*arg1
= (wxListItem
*) 0 ;
26985 wxColour
*arg2
= 0 ;
26989 PyObject
* obj0
= 0 ;
26990 PyObject
* obj1
= 0 ;
26991 char * kwnames
[] = {
26992 (char *) "self",(char *) "colText", NULL
26995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26997 if (!SWIG_IsOK(res1
)) {
26998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27000 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27003 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27007 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27008 wxPyEndAllowThreads(__tstate
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= SWIG_Py_Void();
27018 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27019 PyObject
*resultobj
= 0;
27020 wxListItem
*arg1
= (wxListItem
*) 0 ;
27021 wxColour
*arg2
= 0 ;
27025 PyObject
* obj0
= 0 ;
27026 PyObject
* obj1
= 0 ;
27027 char * kwnames
[] = {
27028 (char *) "self",(char *) "colBack", NULL
27031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27033 if (!SWIG_IsOK(res1
)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27036 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27039 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 resultobj
= SWIG_Py_Void();
27054 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27055 PyObject
*resultobj
= 0;
27056 wxListItem
*arg1
= (wxListItem
*) 0 ;
27062 PyObject
* obj0
= 0 ;
27063 PyObject
* obj1
= 0 ;
27064 char * kwnames
[] = {
27065 (char *) "self",(char *) "font", NULL
27068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27070 if (!SWIG_IsOK(res1
)) {
27071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27073 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27074 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27075 if (!SWIG_IsOK(res2
)) {
27076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27081 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27084 (arg1
)->SetFont((wxFont
const &)*arg2
);
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27088 resultobj
= SWIG_Py_Void();
27095 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27096 PyObject
*resultobj
= 0;
27097 wxListItem
*arg1
= (wxListItem
*) 0 ;
27101 PyObject
*swig_obj
[1] ;
27103 if (!args
) SWIG_fail
;
27104 swig_obj
[0] = args
;
27105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27106 if (!SWIG_IsOK(res1
)) {
27107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27109 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27112 result
= (long)(arg1
)->GetMask();
27113 wxPyEndAllowThreads(__tstate
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27116 resultobj
= SWIG_From_long(static_cast< long >(result
));
27123 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27124 PyObject
*resultobj
= 0;
27125 wxListItem
*arg1
= (wxListItem
*) 0 ;
27129 PyObject
*swig_obj
[1] ;
27131 if (!args
) SWIG_fail
;
27132 swig_obj
[0] = args
;
27133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27134 if (!SWIG_IsOK(res1
)) {
27135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27137 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27140 result
= (long)(arg1
)->GetId();
27141 wxPyEndAllowThreads(__tstate
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27144 resultobj
= SWIG_From_long(static_cast< long >(result
));
27151 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27152 PyObject
*resultobj
= 0;
27153 wxListItem
*arg1
= (wxListItem
*) 0 ;
27157 PyObject
*swig_obj
[1] ;
27159 if (!args
) SWIG_fail
;
27160 swig_obj
[0] = args
;
27161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27162 if (!SWIG_IsOK(res1
)) {
27163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27165 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27168 result
= (int)(arg1
)->GetColumn();
27169 wxPyEndAllowThreads(__tstate
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= SWIG_From_int(static_cast< int >(result
));
27179 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27180 PyObject
*resultobj
= 0;
27181 wxListItem
*arg1
= (wxListItem
*) 0 ;
27185 PyObject
*swig_obj
[1] ;
27187 if (!args
) SWIG_fail
;
27188 swig_obj
[0] = args
;
27189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27190 if (!SWIG_IsOK(res1
)) {
27191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27193 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27196 result
= (long)(arg1
)->GetState();
27197 wxPyEndAllowThreads(__tstate
);
27198 if (PyErr_Occurred()) SWIG_fail
;
27200 resultobj
= SWIG_From_long(static_cast< long >(result
));
27207 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27208 PyObject
*resultobj
= 0;
27209 wxListItem
*arg1
= (wxListItem
*) 0 ;
27210 wxString
*result
= 0 ;
27213 PyObject
*swig_obj
[1] ;
27215 if (!args
) SWIG_fail
;
27216 swig_obj
[0] = args
;
27217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27218 if (!SWIG_IsOK(res1
)) {
27219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27221 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 wxString
const &_result_ref
= (arg1
)->GetText();
27226 result
= (wxString
*) &_result_ref
;
27228 wxPyEndAllowThreads(__tstate
);
27229 if (PyErr_Occurred()) SWIG_fail
;
27233 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27235 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27244 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27245 PyObject
*resultobj
= 0;
27246 wxListItem
*arg1
= (wxListItem
*) 0 ;
27250 PyObject
*swig_obj
[1] ;
27252 if (!args
) SWIG_fail
;
27253 swig_obj
[0] = args
;
27254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27255 if (!SWIG_IsOK(res1
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27258 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 result
= (int)(arg1
)->GetImage();
27262 wxPyEndAllowThreads(__tstate
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27265 resultobj
= SWIG_From_int(static_cast< int >(result
));
27272 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27273 PyObject
*resultobj
= 0;
27274 wxListItem
*arg1
= (wxListItem
*) 0 ;
27278 PyObject
*swig_obj
[1] ;
27280 if (!args
) SWIG_fail
;
27281 swig_obj
[0] = args
;
27282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27283 if (!SWIG_IsOK(res1
)) {
27284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27286 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 result
= (long)(arg1
)->GetData();
27290 wxPyEndAllowThreads(__tstate
);
27291 if (PyErr_Occurred()) SWIG_fail
;
27293 resultobj
= SWIG_From_long(static_cast< long >(result
));
27300 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27301 PyObject
*resultobj
= 0;
27302 wxListItem
*arg1
= (wxListItem
*) 0 ;
27306 PyObject
*swig_obj
[1] ;
27308 if (!args
) SWIG_fail
;
27309 swig_obj
[0] = args
;
27310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27311 if (!SWIG_IsOK(res1
)) {
27312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27314 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 result
= (int)(arg1
)->GetWidth();
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27321 resultobj
= SWIG_From_int(static_cast< int >(result
));
27328 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27329 PyObject
*resultobj
= 0;
27330 wxListItem
*arg1
= (wxListItem
*) 0 ;
27331 wxListColumnFormat result
;
27334 PyObject
*swig_obj
[1] ;
27336 if (!args
) SWIG_fail
;
27337 swig_obj
[0] = args
;
27338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27339 if (!SWIG_IsOK(res1
)) {
27340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27342 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 resultobj
= SWIG_From_int(static_cast< int >(result
));
27356 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27357 PyObject
*resultobj
= 0;
27358 wxListItem
*arg1
= (wxListItem
*) 0 ;
27359 wxListItemAttr
*result
= 0 ;
27362 PyObject
*swig_obj
[1] ;
27364 if (!args
) SWIG_fail
;
27365 swig_obj
[0] = args
;
27366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27367 if (!SWIG_IsOK(res1
)) {
27368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27370 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27373 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27374 wxPyEndAllowThreads(__tstate
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27384 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27385 PyObject
*resultobj
= 0;
27386 wxListItem
*arg1
= (wxListItem
*) 0 ;
27390 PyObject
*swig_obj
[1] ;
27392 if (!args
) SWIG_fail
;
27393 swig_obj
[0] = args
;
27394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27395 if (!SWIG_IsOK(res1
)) {
27396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27398 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 result
= (bool)(arg1
)->HasAttributes();
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27414 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27415 PyObject
*resultobj
= 0;
27416 wxListItem
*arg1
= (wxListItem
*) 0 ;
27420 PyObject
*swig_obj
[1] ;
27422 if (!args
) SWIG_fail
;
27423 swig_obj
[0] = args
;
27424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27425 if (!SWIG_IsOK(res1
)) {
27426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27428 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27432 wxPyEndAllowThreads(__tstate
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27435 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27442 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27443 PyObject
*resultobj
= 0;
27444 wxListItem
*arg1
= (wxListItem
*) 0 ;
27448 PyObject
*swig_obj
[1] ;
27450 if (!args
) SWIG_fail
;
27451 swig_obj
[0] = args
;
27452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27453 if (!SWIG_IsOK(res1
)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27456 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27459 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27460 wxPyEndAllowThreads(__tstate
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27470 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27471 PyObject
*resultobj
= 0;
27472 wxListItem
*arg1
= (wxListItem
*) 0 ;
27476 PyObject
*swig_obj
[1] ;
27478 if (!args
) SWIG_fail
;
27479 swig_obj
[0] = args
;
27480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27481 if (!SWIG_IsOK(res1
)) {
27482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27484 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 result
= ((wxListItem
const *)arg1
)->GetFont();
27488 wxPyEndAllowThreads(__tstate
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27491 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27498 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27499 PyObject
*resultobj
= 0;
27500 wxListItem
*arg1
= (wxListItem
*) 0 ;
27506 PyObject
*swig_obj
[2] ;
27508 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27510 if (!SWIG_IsOK(res1
)) {
27511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27513 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27514 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27515 if (!SWIG_IsOK(ecode2
)) {
27516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27518 arg2
= static_cast< long >(val2
);
27519 if (arg1
) (arg1
)->m_mask
= arg2
;
27521 resultobj
= SWIG_Py_Void();
27528 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27529 PyObject
*resultobj
= 0;
27530 wxListItem
*arg1
= (wxListItem
*) 0 ;
27534 PyObject
*swig_obj
[1] ;
27536 if (!args
) SWIG_fail
;
27537 swig_obj
[0] = args
;
27538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27539 if (!SWIG_IsOK(res1
)) {
27540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27542 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27543 result
= (long) ((arg1
)->m_mask
);
27544 resultobj
= SWIG_From_long(static_cast< long >(result
));
27551 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27552 PyObject
*resultobj
= 0;
27553 wxListItem
*arg1
= (wxListItem
*) 0 ;
27559 PyObject
*swig_obj
[2] ;
27561 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27563 if (!SWIG_IsOK(res1
)) {
27564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27566 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27567 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27568 if (!SWIG_IsOK(ecode2
)) {
27569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27571 arg2
= static_cast< long >(val2
);
27572 if (arg1
) (arg1
)->m_itemId
= arg2
;
27574 resultobj
= SWIG_Py_Void();
27581 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27582 PyObject
*resultobj
= 0;
27583 wxListItem
*arg1
= (wxListItem
*) 0 ;
27587 PyObject
*swig_obj
[1] ;
27589 if (!args
) SWIG_fail
;
27590 swig_obj
[0] = args
;
27591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27592 if (!SWIG_IsOK(res1
)) {
27593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27595 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27596 result
= (long) ((arg1
)->m_itemId
);
27597 resultobj
= SWIG_From_long(static_cast< long >(result
));
27604 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27605 PyObject
*resultobj
= 0;
27606 wxListItem
*arg1
= (wxListItem
*) 0 ;
27612 PyObject
*swig_obj
[2] ;
27614 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27616 if (!SWIG_IsOK(res1
)) {
27617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27619 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27620 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27621 if (!SWIG_IsOK(ecode2
)) {
27622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27624 arg2
= static_cast< int >(val2
);
27625 if (arg1
) (arg1
)->m_col
= arg2
;
27627 resultobj
= SWIG_Py_Void();
27634 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27635 PyObject
*resultobj
= 0;
27636 wxListItem
*arg1
= (wxListItem
*) 0 ;
27640 PyObject
*swig_obj
[1] ;
27642 if (!args
) SWIG_fail
;
27643 swig_obj
[0] = args
;
27644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27645 if (!SWIG_IsOK(res1
)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27648 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27649 result
= (int) ((arg1
)->m_col
);
27650 resultobj
= SWIG_From_int(static_cast< int >(result
));
27657 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27658 PyObject
*resultobj
= 0;
27659 wxListItem
*arg1
= (wxListItem
*) 0 ;
27665 PyObject
*swig_obj
[2] ;
27667 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27669 if (!SWIG_IsOK(res1
)) {
27670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27672 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27673 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27674 if (!SWIG_IsOK(ecode2
)) {
27675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27677 arg2
= static_cast< long >(val2
);
27678 if (arg1
) (arg1
)->m_state
= arg2
;
27680 resultobj
= SWIG_Py_Void();
27687 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27688 PyObject
*resultobj
= 0;
27689 wxListItem
*arg1
= (wxListItem
*) 0 ;
27693 PyObject
*swig_obj
[1] ;
27695 if (!args
) SWIG_fail
;
27696 swig_obj
[0] = args
;
27697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27698 if (!SWIG_IsOK(res1
)) {
27699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27701 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27702 result
= (long) ((arg1
)->m_state
);
27703 resultobj
= SWIG_From_long(static_cast< long >(result
));
27710 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27711 PyObject
*resultobj
= 0;
27712 wxListItem
*arg1
= (wxListItem
*) 0 ;
27718 PyObject
*swig_obj
[2] ;
27720 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27722 if (!SWIG_IsOK(res1
)) {
27723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27725 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27726 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27727 if (!SWIG_IsOK(ecode2
)) {
27728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27730 arg2
= static_cast< long >(val2
);
27731 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27733 resultobj
= SWIG_Py_Void();
27740 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27741 PyObject
*resultobj
= 0;
27742 wxListItem
*arg1
= (wxListItem
*) 0 ;
27746 PyObject
*swig_obj
[1] ;
27748 if (!args
) SWIG_fail
;
27749 swig_obj
[0] = args
;
27750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27751 if (!SWIG_IsOK(res1
)) {
27752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27754 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27755 result
= (long) ((arg1
)->m_stateMask
);
27756 resultobj
= SWIG_From_long(static_cast< long >(result
));
27763 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27764 PyObject
*resultobj
= 0;
27765 wxListItem
*arg1
= (wxListItem
*) 0 ;
27766 wxString
*arg2
= (wxString
*) 0 ;
27769 bool temp2
= false ;
27770 PyObject
*swig_obj
[2] ;
27772 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27774 if (!SWIG_IsOK(res1
)) {
27775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27777 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27779 arg2
= wxString_in_helper(swig_obj
[1]);
27780 if (arg2
== NULL
) SWIG_fail
;
27783 if (arg1
) (arg1
)->m_text
= *arg2
;
27785 resultobj
= SWIG_Py_Void();
27800 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27801 PyObject
*resultobj
= 0;
27802 wxListItem
*arg1
= (wxListItem
*) 0 ;
27803 wxString
*result
= 0 ;
27806 PyObject
*swig_obj
[1] ;
27808 if (!args
) SWIG_fail
;
27809 swig_obj
[0] = args
;
27810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27811 if (!SWIG_IsOK(res1
)) {
27812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27814 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27815 result
= (wxString
*)& ((arg1
)->m_text
);
27818 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27820 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27829 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27830 PyObject
*resultobj
= 0;
27831 wxListItem
*arg1
= (wxListItem
*) 0 ;
27837 PyObject
*swig_obj
[2] ;
27839 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27841 if (!SWIG_IsOK(res1
)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27844 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27845 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27846 if (!SWIG_IsOK(ecode2
)) {
27847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27849 arg2
= static_cast< int >(val2
);
27850 if (arg1
) (arg1
)->m_image
= arg2
;
27852 resultobj
= SWIG_Py_Void();
27859 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27860 PyObject
*resultobj
= 0;
27861 wxListItem
*arg1
= (wxListItem
*) 0 ;
27865 PyObject
*swig_obj
[1] ;
27867 if (!args
) SWIG_fail
;
27868 swig_obj
[0] = args
;
27869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27873 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27874 result
= (int) ((arg1
)->m_image
);
27875 resultobj
= SWIG_From_int(static_cast< int >(result
));
27882 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27883 PyObject
*resultobj
= 0;
27884 wxListItem
*arg1
= (wxListItem
*) 0 ;
27890 PyObject
*swig_obj
[2] ;
27892 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27894 if (!SWIG_IsOK(res1
)) {
27895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27897 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27898 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27899 if (!SWIG_IsOK(ecode2
)) {
27900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27902 arg2
= static_cast< long >(val2
);
27903 if (arg1
) (arg1
)->m_data
= arg2
;
27905 resultobj
= SWIG_Py_Void();
27912 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27913 PyObject
*resultobj
= 0;
27914 wxListItem
*arg1
= (wxListItem
*) 0 ;
27918 PyObject
*swig_obj
[1] ;
27920 if (!args
) SWIG_fail
;
27921 swig_obj
[0] = args
;
27922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27923 if (!SWIG_IsOK(res1
)) {
27924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27926 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27927 result
= (long) ((arg1
)->m_data
);
27928 resultobj
= SWIG_From_long(static_cast< long >(result
));
27935 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27936 PyObject
*resultobj
= 0;
27937 wxListItem
*arg1
= (wxListItem
*) 0 ;
27943 PyObject
*swig_obj
[2] ;
27945 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27947 if (!SWIG_IsOK(res1
)) {
27948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27950 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27951 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27952 if (!SWIG_IsOK(ecode2
)) {
27953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27955 arg2
= static_cast< int >(val2
);
27956 if (arg1
) (arg1
)->m_format
= arg2
;
27958 resultobj
= SWIG_Py_Void();
27965 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27966 PyObject
*resultobj
= 0;
27967 wxListItem
*arg1
= (wxListItem
*) 0 ;
27971 PyObject
*swig_obj
[1] ;
27973 if (!args
) SWIG_fail
;
27974 swig_obj
[0] = args
;
27975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27976 if (!SWIG_IsOK(res1
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27979 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27980 result
= (int) ((arg1
)->m_format
);
27981 resultobj
= SWIG_From_int(static_cast< int >(result
));
27988 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27989 PyObject
*resultobj
= 0;
27990 wxListItem
*arg1
= (wxListItem
*) 0 ;
27996 PyObject
*swig_obj
[2] ;
27998 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28000 if (!SWIG_IsOK(res1
)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28003 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28004 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28005 if (!SWIG_IsOK(ecode2
)) {
28006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28008 arg2
= static_cast< int >(val2
);
28009 if (arg1
) (arg1
)->m_width
= arg2
;
28011 resultobj
= SWIG_Py_Void();
28018 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28019 PyObject
*resultobj
= 0;
28020 wxListItem
*arg1
= (wxListItem
*) 0 ;
28024 PyObject
*swig_obj
[1] ;
28026 if (!args
) SWIG_fail
;
28027 swig_obj
[0] = args
;
28028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28029 if (!SWIG_IsOK(res1
)) {
28030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28032 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28033 result
= (int) ((arg1
)->m_width
);
28034 resultobj
= SWIG_From_int(static_cast< int >(result
));
28041 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28044 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28045 return SWIG_Py_Void();
28048 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28049 return SWIG_Python_InitShadowInstance(args
);
28052 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28053 PyObject
*resultobj
= 0;
28054 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28055 int arg2
= (int) 0 ;
28056 wxListEvent
*result
= 0 ;
28061 PyObject
* obj0
= 0 ;
28062 PyObject
* obj1
= 0 ;
28063 char * kwnames
[] = {
28064 (char *) "commandType",(char *) "id", NULL
28067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28069 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28070 if (!SWIG_IsOK(ecode1
)) {
28071 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28073 arg1
= static_cast< wxEventType
>(val1
);
28076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28077 if (!SWIG_IsOK(ecode2
)) {
28078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28080 arg2
= static_cast< int >(val2
);
28083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28084 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28085 wxPyEndAllowThreads(__tstate
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28095 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28096 PyObject
*resultobj
= 0;
28097 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28103 PyObject
*swig_obj
[2] ;
28105 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28107 if (!SWIG_IsOK(res1
)) {
28108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28110 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28111 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28112 if (!SWIG_IsOK(ecode2
)) {
28113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28115 arg2
= static_cast< int >(val2
);
28116 if (arg1
) (arg1
)->m_code
= arg2
;
28118 resultobj
= SWIG_Py_Void();
28125 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28126 PyObject
*resultobj
= 0;
28127 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28131 PyObject
*swig_obj
[1] ;
28133 if (!args
) SWIG_fail
;
28134 swig_obj
[0] = args
;
28135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28136 if (!SWIG_IsOK(res1
)) {
28137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28139 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28140 result
= (int) ((arg1
)->m_code
);
28141 resultobj
= SWIG_From_int(static_cast< int >(result
));
28148 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28149 PyObject
*resultobj
= 0;
28150 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28156 PyObject
*swig_obj
[2] ;
28158 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28160 if (!SWIG_IsOK(res1
)) {
28161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28163 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28164 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28165 if (!SWIG_IsOK(ecode2
)) {
28166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28168 arg2
= static_cast< long >(val2
);
28169 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28171 resultobj
= SWIG_Py_Void();
28178 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28179 PyObject
*resultobj
= 0;
28180 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28184 PyObject
*swig_obj
[1] ;
28186 if (!args
) SWIG_fail
;
28187 swig_obj
[0] = args
;
28188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28189 if (!SWIG_IsOK(res1
)) {
28190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28192 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28193 result
= (long) ((arg1
)->m_oldItemIndex
);
28194 resultobj
= SWIG_From_long(static_cast< long >(result
));
28201 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28202 PyObject
*resultobj
= 0;
28203 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28209 PyObject
*swig_obj
[2] ;
28211 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28213 if (!SWIG_IsOK(res1
)) {
28214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28216 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28217 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28218 if (!SWIG_IsOK(ecode2
)) {
28219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28221 arg2
= static_cast< long >(val2
);
28222 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28224 resultobj
= SWIG_Py_Void();
28231 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28232 PyObject
*resultobj
= 0;
28233 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28237 PyObject
*swig_obj
[1] ;
28239 if (!args
) SWIG_fail
;
28240 swig_obj
[0] = args
;
28241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28242 if (!SWIG_IsOK(res1
)) {
28243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28245 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28246 result
= (long) ((arg1
)->m_itemIndex
);
28247 resultobj
= SWIG_From_long(static_cast< long >(result
));
28254 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28255 PyObject
*resultobj
= 0;
28256 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28262 PyObject
*swig_obj
[2] ;
28264 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28266 if (!SWIG_IsOK(res1
)) {
28267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28269 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28270 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28271 if (!SWIG_IsOK(ecode2
)) {
28272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28274 arg2
= static_cast< int >(val2
);
28275 if (arg1
) (arg1
)->m_col
= arg2
;
28277 resultobj
= SWIG_Py_Void();
28284 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28285 PyObject
*resultobj
= 0;
28286 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28290 PyObject
*swig_obj
[1] ;
28292 if (!args
) SWIG_fail
;
28293 swig_obj
[0] = args
;
28294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28295 if (!SWIG_IsOK(res1
)) {
28296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28298 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28299 result
= (int) ((arg1
)->m_col
);
28300 resultobj
= SWIG_From_int(static_cast< int >(result
));
28307 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28308 PyObject
*resultobj
= 0;
28309 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28310 wxPoint
*arg2
= (wxPoint
*) 0 ;
28315 PyObject
*swig_obj
[2] ;
28317 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28319 if (!SWIG_IsOK(res1
)) {
28320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28322 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28323 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28324 if (!SWIG_IsOK(res2
)) {
28325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28327 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28328 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28330 resultobj
= SWIG_Py_Void();
28337 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28338 PyObject
*resultobj
= 0;
28339 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28340 wxPoint
*result
= 0 ;
28343 PyObject
*swig_obj
[1] ;
28345 if (!args
) SWIG_fail
;
28346 swig_obj
[0] = args
;
28347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28348 if (!SWIG_IsOK(res1
)) {
28349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28351 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28352 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28360 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28361 PyObject
*resultobj
= 0;
28362 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28363 wxListItem
*result
= 0 ;
28366 PyObject
*swig_obj
[1] ;
28368 if (!args
) SWIG_fail
;
28369 swig_obj
[0] = args
;
28370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28371 if (!SWIG_IsOK(res1
)) {
28372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28374 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28375 result
= (wxListItem
*)& ((arg1
)->m_item
);
28377 resultobj
= wxPyMake_wxObject(result
, 0);
28385 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28386 PyObject
*resultobj
= 0;
28387 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28391 PyObject
*swig_obj
[1] ;
28393 if (!args
) SWIG_fail
;
28394 swig_obj
[0] = args
;
28395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28396 if (!SWIG_IsOK(res1
)) {
28397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28399 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 result
= (int)(arg1
)->GetKeyCode();
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28406 resultobj
= SWIG_From_int(static_cast< int >(result
));
28413 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28414 PyObject
*resultobj
= 0;
28415 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28419 PyObject
*swig_obj
[1] ;
28421 if (!args
) SWIG_fail
;
28422 swig_obj
[0] = args
;
28423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28424 if (!SWIG_IsOK(res1
)) {
28425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28427 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 result
= (long)(arg1
)->GetIndex();
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28434 resultobj
= SWIG_From_long(static_cast< long >(result
));
28441 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28442 PyObject
*resultobj
= 0;
28443 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28447 PyObject
*swig_obj
[1] ;
28449 if (!args
) SWIG_fail
;
28450 swig_obj
[0] = args
;
28451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28452 if (!SWIG_IsOK(res1
)) {
28453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28455 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28458 result
= (int)(arg1
)->GetColumn();
28459 wxPyEndAllowThreads(__tstate
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28462 resultobj
= SWIG_From_int(static_cast< int >(result
));
28469 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28470 PyObject
*resultobj
= 0;
28471 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28475 PyObject
*swig_obj
[1] ;
28477 if (!args
) SWIG_fail
;
28478 swig_obj
[0] = args
;
28479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28480 if (!SWIG_IsOK(res1
)) {
28481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28483 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28486 result
= (arg1
)->GetPoint();
28487 wxPyEndAllowThreads(__tstate
);
28488 if (PyErr_Occurred()) SWIG_fail
;
28490 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28497 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28498 PyObject
*resultobj
= 0;
28499 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28500 wxString
*result
= 0 ;
28503 PyObject
*swig_obj
[1] ;
28505 if (!args
) SWIG_fail
;
28506 swig_obj
[0] = args
;
28507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28508 if (!SWIG_IsOK(res1
)) {
28509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28511 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28515 wxString
const &_result_ref
= (arg1
)->GetLabel();
28516 result
= (wxString
*) &_result_ref
;
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28523 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28525 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28534 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28535 PyObject
*resultobj
= 0;
28536 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28537 wxString
*result
= 0 ;
28540 PyObject
*swig_obj
[1] ;
28542 if (!args
) SWIG_fail
;
28543 swig_obj
[0] = args
;
28544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28545 if (!SWIG_IsOK(res1
)) {
28546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28548 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28552 wxString
const &_result_ref
= (arg1
)->GetText();
28553 result
= (wxString
*) &_result_ref
;
28555 wxPyEndAllowThreads(__tstate
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28560 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28562 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28571 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28572 PyObject
*resultobj
= 0;
28573 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28577 PyObject
*swig_obj
[1] ;
28579 if (!args
) SWIG_fail
;
28580 swig_obj
[0] = args
;
28581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28582 if (!SWIG_IsOK(res1
)) {
28583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28585 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28588 result
= (int)(arg1
)->GetImage();
28589 wxPyEndAllowThreads(__tstate
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28592 resultobj
= SWIG_From_int(static_cast< int >(result
));
28599 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28600 PyObject
*resultobj
= 0;
28601 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28605 PyObject
*swig_obj
[1] ;
28607 if (!args
) SWIG_fail
;
28608 swig_obj
[0] = args
;
28609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28610 if (!SWIG_IsOK(res1
)) {
28611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28613 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28616 result
= (long)(arg1
)->GetData();
28617 wxPyEndAllowThreads(__tstate
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28620 resultobj
= SWIG_From_long(static_cast< long >(result
));
28627 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28628 PyObject
*resultobj
= 0;
28629 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28633 PyObject
*swig_obj
[1] ;
28635 if (!args
) SWIG_fail
;
28636 swig_obj
[0] = args
;
28637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28638 if (!SWIG_IsOK(res1
)) {
28639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28641 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28644 result
= (long)(arg1
)->GetMask();
28645 wxPyEndAllowThreads(__tstate
);
28646 if (PyErr_Occurred()) SWIG_fail
;
28648 resultobj
= SWIG_From_long(static_cast< long >(result
));
28655 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28656 PyObject
*resultobj
= 0;
28657 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28658 wxListItem
*result
= 0 ;
28661 PyObject
*swig_obj
[1] ;
28663 if (!args
) SWIG_fail
;
28664 swig_obj
[0] = args
;
28665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28666 if (!SWIG_IsOK(res1
)) {
28667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28669 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28674 result
= (wxListItem
*) &_result_ref
;
28676 wxPyEndAllowThreads(__tstate
);
28677 if (PyErr_Occurred()) SWIG_fail
;
28679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28686 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28687 PyObject
*resultobj
= 0;
28688 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28692 PyObject
*swig_obj
[1] ;
28694 if (!args
) SWIG_fail
;
28695 swig_obj
[0] = args
;
28696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28697 if (!SWIG_IsOK(res1
)) {
28698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28700 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28703 result
= (long)(arg1
)->GetCacheFrom();
28704 wxPyEndAllowThreads(__tstate
);
28705 if (PyErr_Occurred()) SWIG_fail
;
28707 resultobj
= SWIG_From_long(static_cast< long >(result
));
28714 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28715 PyObject
*resultobj
= 0;
28716 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28720 PyObject
*swig_obj
[1] ;
28722 if (!args
) SWIG_fail
;
28723 swig_obj
[0] = args
;
28724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28725 if (!SWIG_IsOK(res1
)) {
28726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28728 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 result
= (long)(arg1
)->GetCacheTo();
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28735 resultobj
= SWIG_From_long(static_cast< long >(result
));
28742 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28743 PyObject
*resultobj
= 0;
28744 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28748 PyObject
*swig_obj
[1] ;
28750 if (!args
) SWIG_fail
;
28751 swig_obj
[0] = args
;
28752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28753 if (!SWIG_IsOK(res1
)) {
28754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28756 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28759 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28772 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28773 PyObject
*resultobj
= 0;
28774 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28780 PyObject
* obj0
= 0 ;
28781 PyObject
* obj1
= 0 ;
28782 char * kwnames
[] = {
28783 (char *) "self",(char *) "editCancelled", NULL
28786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28788 if (!SWIG_IsOK(res1
)) {
28789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28791 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28792 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28793 if (!SWIG_IsOK(ecode2
)) {
28794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28796 arg2
= static_cast< bool >(val2
);
28798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28799 (arg1
)->SetEditCanceled(arg2
);
28800 wxPyEndAllowThreads(__tstate
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28803 resultobj
= SWIG_Py_Void();
28810 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28813 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28814 return SWIG_Py_Void();
28817 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28818 return SWIG_Python_InitShadowInstance(args
);
28821 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28822 PyObject
*resultobj
= 0;
28823 wxWindow
*arg1
= (wxWindow
*) 0 ;
28824 int arg2
= (int) -1 ;
28825 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28826 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28827 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28828 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28829 long arg5
= (long) wxLC_ICON
;
28830 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28831 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28832 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28833 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28834 wxPyListCtrl
*result
= 0 ;
28845 bool temp7
= false ;
28846 PyObject
* obj0
= 0 ;
28847 PyObject
* obj1
= 0 ;
28848 PyObject
* obj2
= 0 ;
28849 PyObject
* obj3
= 0 ;
28850 PyObject
* obj4
= 0 ;
28851 PyObject
* obj5
= 0 ;
28852 PyObject
* obj6
= 0 ;
28853 char * kwnames
[] = {
28854 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28859 if (!SWIG_IsOK(res1
)) {
28860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28862 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28865 if (!SWIG_IsOK(ecode2
)) {
28866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28868 arg2
= static_cast< int >(val2
);
28873 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28879 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28883 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28884 if (!SWIG_IsOK(ecode5
)) {
28885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28887 arg5
= static_cast< long >(val5
);
28890 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28891 if (!SWIG_IsOK(res6
)) {
28892 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28897 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28901 arg7
= wxString_in_helper(obj6
);
28902 if (arg7
== NULL
) SWIG_fail
;
28907 if (!wxPyCheckForApp()) SWIG_fail
;
28908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28909 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28910 wxPyEndAllowThreads(__tstate
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28928 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28929 PyObject
*resultobj
= 0;
28930 wxPyListCtrl
*result
= 0 ;
28932 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28934 if (!wxPyCheckForApp()) SWIG_fail
;
28935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28936 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28937 wxPyEndAllowThreads(__tstate
);
28938 if (PyErr_Occurred()) SWIG_fail
;
28940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28947 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28948 PyObject
*resultobj
= 0;
28949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28950 wxWindow
*arg2
= (wxWindow
*) 0 ;
28951 int arg3
= (int) -1 ;
28952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28956 long arg6
= (long) wxLC_ICON
;
28957 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28958 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28959 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28960 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28974 bool temp8
= false ;
28975 PyObject
* obj0
= 0 ;
28976 PyObject
* obj1
= 0 ;
28977 PyObject
* obj2
= 0 ;
28978 PyObject
* obj3
= 0 ;
28979 PyObject
* obj4
= 0 ;
28980 PyObject
* obj5
= 0 ;
28981 PyObject
* obj6
= 0 ;
28982 PyObject
* obj7
= 0 ;
28983 char * kwnames
[] = {
28984 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28989 if (!SWIG_IsOK(res1
)) {
28990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28992 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28994 if (!SWIG_IsOK(res2
)) {
28995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28997 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29000 if (!SWIG_IsOK(ecode3
)) {
29001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29003 arg3
= static_cast< int >(val3
);
29008 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29014 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29018 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29019 if (!SWIG_IsOK(ecode6
)) {
29020 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29022 arg6
= static_cast< long >(val6
);
29025 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29026 if (!SWIG_IsOK(res7
)) {
29027 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29032 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29036 arg8
= wxString_in_helper(obj7
);
29037 if (arg8
== NULL
) SWIG_fail
;
29042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29043 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29044 wxPyEndAllowThreads(__tstate
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29064 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
= 0;
29066 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29067 PyObject
*arg2
= (PyObject
*) 0 ;
29068 PyObject
*arg3
= (PyObject
*) 0 ;
29071 PyObject
* obj0
= 0 ;
29072 PyObject
* obj1
= 0 ;
29073 PyObject
* obj2
= 0 ;
29074 char * kwnames
[] = {
29075 (char *) "self",(char *) "self",(char *) "_class", NULL
29078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29080 if (!SWIG_IsOK(res1
)) {
29081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29083 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29088 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29089 wxPyEndAllowThreads(__tstate
);
29090 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= SWIG_Py_Void();
29099 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29100 PyObject
*resultobj
= 0;
29101 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29103 wxListItem
*result
= 0 ;
29108 PyObject
* obj0
= 0 ;
29109 PyObject
* obj1
= 0 ;
29110 char * kwnames
[] = {
29111 (char *) "self",(char *) "col", NULL
29114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29116 if (!SWIG_IsOK(res1
)) {
29117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29119 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29121 if (!SWIG_IsOK(ecode2
)) {
29122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29124 arg2
= static_cast< int >(val2
);
29126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29127 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29128 wxPyEndAllowThreads(__tstate
);
29129 if (PyErr_Occurred()) SWIG_fail
;
29132 resultobj
= wxPyMake_wxObject(result
, 0);
29140 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29141 PyObject
*resultobj
= 0;
29142 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29144 wxListItem
*arg3
= 0 ;
29152 PyObject
* obj0
= 0 ;
29153 PyObject
* obj1
= 0 ;
29154 PyObject
* obj2
= 0 ;
29155 char * kwnames
[] = {
29156 (char *) "self",(char *) "col",(char *) "item", NULL
29159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29161 if (!SWIG_IsOK(res1
)) {
29162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29164 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29166 if (!SWIG_IsOK(ecode2
)) {
29167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29169 arg2
= static_cast< int >(val2
);
29170 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29171 if (!SWIG_IsOK(res3
)) {
29172 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29177 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29180 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29193 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29194 PyObject
*resultobj
= 0;
29195 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29202 PyObject
* obj0
= 0 ;
29203 PyObject
* obj1
= 0 ;
29204 char * kwnames
[] = {
29205 (char *) "self",(char *) "col", NULL
29208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29210 if (!SWIG_IsOK(res1
)) {
29211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29213 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29215 if (!SWIG_IsOK(ecode2
)) {
29216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29218 arg2
= static_cast< int >(val2
);
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 resultobj
= SWIG_From_int(static_cast< int >(result
));
29232 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
= 0;
29234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29244 PyObject
* obj0
= 0 ;
29245 PyObject
* obj1
= 0 ;
29246 PyObject
* obj2
= 0 ;
29247 char * kwnames
[] = {
29248 (char *) "self",(char *) "col",(char *) "width", NULL
29251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29253 if (!SWIG_IsOK(res1
)) {
29254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29256 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29258 if (!SWIG_IsOK(ecode2
)) {
29259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29261 arg2
= static_cast< int >(val2
);
29262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29263 if (!SWIG_IsOK(ecode3
)) {
29264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29266 arg3
= static_cast< int >(val3
);
29268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29269 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29270 wxPyEndAllowThreads(__tstate
);
29271 if (PyErr_Occurred()) SWIG_fail
;
29274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29282 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29283 PyObject
*resultobj
= 0;
29284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29288 PyObject
*swig_obj
[1] ;
29290 if (!args
) SWIG_fail
;
29291 swig_obj
[0] = args
;
29292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29293 if (!SWIG_IsOK(res1
)) {
29294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29296 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29299 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29300 wxPyEndAllowThreads(__tstate
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29303 resultobj
= SWIG_From_int(static_cast< int >(result
));
29310 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29311 PyObject
*resultobj
= 0;
29312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29316 PyObject
*swig_obj
[1] ;
29318 if (!args
) SWIG_fail
;
29319 swig_obj
[0] = args
;
29320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29321 if (!SWIG_IsOK(res1
)) {
29322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29324 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29327 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29328 wxPyEndAllowThreads(__tstate
);
29329 if (PyErr_Occurred()) SWIG_fail
;
29331 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29338 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29339 PyObject
*resultobj
= 0;
29340 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29341 wxTextCtrl
*result
= 0 ;
29344 PyObject
*swig_obj
[1] ;
29346 if (!args
) SWIG_fail
;
29347 swig_obj
[0] = args
;
29348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29349 if (!SWIG_IsOK(res1
)) {
29350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29352 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29355 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29356 wxPyEndAllowThreads(__tstate
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29360 resultobj
= wxPyMake_wxObject(result
, 0);
29368 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29369 PyObject
*resultobj
= 0;
29370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29372 int arg3
= (int) 0 ;
29373 wxListItem
*result
= 0 ;
29380 PyObject
* obj0
= 0 ;
29381 PyObject
* obj1
= 0 ;
29382 PyObject
* obj2
= 0 ;
29383 char * kwnames
[] = {
29384 (char *) "self",(char *) "itemId",(char *) "col", NULL
29387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29389 if (!SWIG_IsOK(res1
)) {
29390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29392 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29393 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29394 if (!SWIG_IsOK(ecode2
)) {
29395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29397 arg2
= static_cast< long >(val2
);
29399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29400 if (!SWIG_IsOK(ecode3
)) {
29401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29403 arg3
= static_cast< int >(val3
);
29406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29407 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29408 wxPyEndAllowThreads(__tstate
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29412 resultobj
= wxPyMake_wxObject(result
, 0);
29420 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29421 PyObject
*resultobj
= 0;
29422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29423 wxListItem
*arg2
= 0 ;
29429 PyObject
* obj0
= 0 ;
29430 PyObject
* obj1
= 0 ;
29431 char * kwnames
[] = {
29432 (char *) "self",(char *) "info", NULL
29435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29437 if (!SWIG_IsOK(res1
)) {
29438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29440 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29441 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29442 if (!SWIG_IsOK(res2
)) {
29443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29448 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 result
= (bool)(arg1
)->SetItem(*arg2
);
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29464 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29465 PyObject
*resultobj
= 0;
29466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29469 wxString
*arg4
= 0 ;
29470 int arg5
= (int) -1 ;
29478 bool temp4
= false ;
29481 PyObject
* obj0
= 0 ;
29482 PyObject
* obj1
= 0 ;
29483 PyObject
* obj2
= 0 ;
29484 PyObject
* obj3
= 0 ;
29485 PyObject
* obj4
= 0 ;
29486 char * kwnames
[] = {
29487 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29492 if (!SWIG_IsOK(res1
)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29495 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29496 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29497 if (!SWIG_IsOK(ecode2
)) {
29498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29500 arg2
= static_cast< long >(val2
);
29501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29502 if (!SWIG_IsOK(ecode3
)) {
29503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29505 arg3
= static_cast< int >(val3
);
29507 arg4
= wxString_in_helper(obj3
);
29508 if (arg4
== NULL
) SWIG_fail
;
29512 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29513 if (!SWIG_IsOK(ecode5
)) {
29514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29516 arg5
= static_cast< int >(val5
);
29519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29520 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29521 wxPyEndAllowThreads(__tstate
);
29522 if (PyErr_Occurred()) SWIG_fail
;
29524 resultobj
= SWIG_From_long(static_cast< long >(result
));
29539 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29540 PyObject
*resultobj
= 0;
29541 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29551 PyObject
* obj0
= 0 ;
29552 PyObject
* obj1
= 0 ;
29553 PyObject
* obj2
= 0 ;
29554 char * kwnames
[] = {
29555 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29560 if (!SWIG_IsOK(res1
)) {
29561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29563 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29564 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29565 if (!SWIG_IsOK(ecode2
)) {
29566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29568 arg2
= static_cast< long >(val2
);
29569 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29570 if (!SWIG_IsOK(ecode3
)) {
29571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29573 arg3
= static_cast< long >(val3
);
29575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29576 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29577 wxPyEndAllowThreads(__tstate
);
29578 if (PyErr_Occurred()) SWIG_fail
;
29580 resultobj
= SWIG_From_int(static_cast< int >(result
));
29587 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29588 PyObject
*resultobj
= 0;
29589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29602 PyObject
* obj0
= 0 ;
29603 PyObject
* obj1
= 0 ;
29604 PyObject
* obj2
= 0 ;
29605 PyObject
* obj3
= 0 ;
29606 char * kwnames
[] = {
29607 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29612 if (!SWIG_IsOK(res1
)) {
29613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29615 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29616 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29617 if (!SWIG_IsOK(ecode2
)) {
29618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29620 arg2
= static_cast< long >(val2
);
29621 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29622 if (!SWIG_IsOK(ecode3
)) {
29623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29625 arg3
= static_cast< long >(val3
);
29626 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29627 if (!SWIG_IsOK(ecode4
)) {
29628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29630 arg4
= static_cast< long >(val4
);
29632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29633 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29634 wxPyEndAllowThreads(__tstate
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29646 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29647 PyObject
*resultobj
= 0;
29648 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29651 int arg4
= (int) -1 ;
29661 PyObject
* obj0
= 0 ;
29662 PyObject
* obj1
= 0 ;
29663 PyObject
* obj2
= 0 ;
29664 PyObject
* obj3
= 0 ;
29665 char * kwnames
[] = {
29666 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29671 if (!SWIG_IsOK(res1
)) {
29672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29674 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29675 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29676 if (!SWIG_IsOK(ecode2
)) {
29677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29679 arg2
= static_cast< long >(val2
);
29680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29681 if (!SWIG_IsOK(ecode3
)) {
29682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29684 arg3
= static_cast< int >(val3
);
29686 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29687 if (!SWIG_IsOK(ecode4
)) {
29688 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29690 arg4
= static_cast< int >(val4
);
29693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29694 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29695 wxPyEndAllowThreads(__tstate
);
29696 if (PyErr_Occurred()) SWIG_fail
;
29699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29707 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29708 PyObject
*resultobj
= 0;
29709 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 PyObject
* obj2
= 0 ;
29725 PyObject
* obj3
= 0 ;
29726 char * kwnames
[] = {
29727 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29732 if (!SWIG_IsOK(res1
)) {
29733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29735 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29736 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29737 if (!SWIG_IsOK(ecode2
)) {
29738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29740 arg2
= static_cast< long >(val2
);
29741 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29742 if (!SWIG_IsOK(ecode3
)) {
29743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29745 arg3
= static_cast< long >(val3
);
29746 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29747 if (!SWIG_IsOK(ecode4
)) {
29748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29750 arg4
= static_cast< int >(val4
);
29752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29753 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29754 wxPyEndAllowThreads(__tstate
);
29755 if (PyErr_Occurred()) SWIG_fail
;
29758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29766 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29767 PyObject
*resultobj
= 0;
29768 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29775 PyObject
* obj0
= 0 ;
29776 PyObject
* obj1
= 0 ;
29777 char * kwnames
[] = {
29778 (char *) "self",(char *) "item", NULL
29781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29783 if (!SWIG_IsOK(res1
)) {
29784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29786 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29787 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29788 if (!SWIG_IsOK(ecode2
)) {
29789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29791 arg2
= static_cast< long >(val2
);
29793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29794 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29795 wxPyEndAllowThreads(__tstate
);
29796 if (PyErr_Occurred()) SWIG_fail
;
29800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29811 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29812 PyObject
*resultobj
= 0;
29813 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29815 wxString
*arg3
= 0 ;
29820 bool temp3
= false ;
29821 PyObject
* obj0
= 0 ;
29822 PyObject
* obj1
= 0 ;
29823 PyObject
* obj2
= 0 ;
29824 char * kwnames
[] = {
29825 (char *) "self",(char *) "item",(char *) "str", NULL
29828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29830 if (!SWIG_IsOK(res1
)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29833 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29834 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29835 if (!SWIG_IsOK(ecode2
)) {
29836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29838 arg2
= static_cast< long >(val2
);
29840 arg3
= wxString_in_helper(obj2
);
29841 if (arg3
== NULL
) SWIG_fail
;
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29847 wxPyEndAllowThreads(__tstate
);
29848 if (PyErr_Occurred()) SWIG_fail
;
29850 resultobj
= SWIG_Py_Void();
29865 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29866 PyObject
*resultobj
= 0;
29867 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29874 PyObject
* obj0
= 0 ;
29875 PyObject
* obj1
= 0 ;
29876 char * kwnames
[] = {
29877 (char *) "self",(char *) "item", NULL
29880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29882 if (!SWIG_IsOK(res1
)) {
29883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29885 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29886 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29887 if (!SWIG_IsOK(ecode2
)) {
29888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29890 arg2
= static_cast< long >(val2
);
29892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29893 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29897 resultobj
= SWIG_From_long(static_cast< long >(result
));
29904 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29905 PyObject
*resultobj
= 0;
29906 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29916 PyObject
* obj0
= 0 ;
29917 PyObject
* obj1
= 0 ;
29918 PyObject
* obj2
= 0 ;
29919 char * kwnames
[] = {
29920 (char *) "self",(char *) "item",(char *) "data", NULL
29923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29925 if (!SWIG_IsOK(res1
)) {
29926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29928 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29929 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29930 if (!SWIG_IsOK(ecode2
)) {
29931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29933 arg2
= static_cast< long >(val2
);
29934 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29935 if (!SWIG_IsOK(ecode3
)) {
29936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29938 arg3
= static_cast< long >(val3
);
29940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29941 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29942 wxPyEndAllowThreads(__tstate
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29954 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29955 PyObject
*resultobj
= 0;
29956 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29963 PyObject
* obj0
= 0 ;
29964 PyObject
* obj1
= 0 ;
29965 char * kwnames
[] = {
29966 (char *) "self",(char *) "item", NULL
29969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29971 if (!SWIG_IsOK(res1
)) {
29972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29974 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29975 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29976 if (!SWIG_IsOK(ecode2
)) {
29977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29979 arg2
= static_cast< long >(val2
);
29981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29982 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29983 wxPyEndAllowThreads(__tstate
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29986 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29993 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29994 PyObject
*resultobj
= 0;
29995 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29997 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30005 PyObject
* obj0
= 0 ;
30006 PyObject
* obj1
= 0 ;
30007 PyObject
* obj2
= 0 ;
30008 char * kwnames
[] = {
30009 (char *) "self",(char *) "item",(char *) "code", NULL
30012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30014 if (!SWIG_IsOK(res1
)) {
30015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30017 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30018 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30019 if (!SWIG_IsOK(ecode2
)) {
30020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30022 arg2
= static_cast< long >(val2
);
30024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30025 if (!SWIG_IsOK(ecode3
)) {
30026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30028 arg3
= static_cast< int >(val3
);
30031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30032 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30033 wxPyEndAllowThreads(__tstate
);
30034 if (PyErr_Occurred()) SWIG_fail
;
30036 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30043 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30044 PyObject
*resultobj
= 0;
30045 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30047 wxPoint
*arg3
= 0 ;
30054 PyObject
* obj0
= 0 ;
30055 PyObject
* obj1
= 0 ;
30056 PyObject
* obj2
= 0 ;
30057 char * kwnames
[] = {
30058 (char *) "self",(char *) "item",(char *) "pos", NULL
30061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30063 if (!SWIG_IsOK(res1
)) {
30064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30066 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30067 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30068 if (!SWIG_IsOK(ecode2
)) {
30069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30071 arg2
= static_cast< long >(val2
);
30074 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30078 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30079 wxPyEndAllowThreads(__tstate
);
30080 if (PyErr_Occurred()) SWIG_fail
;
30083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30091 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30092 PyObject
*resultobj
= 0;
30093 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30097 PyObject
*swig_obj
[1] ;
30099 if (!args
) SWIG_fail
;
30100 swig_obj
[0] = args
;
30101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30102 if (!SWIG_IsOK(res1
)) {
30103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30105 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= SWIG_From_int(static_cast< int >(result
));
30119 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30120 PyObject
*resultobj
= 0;
30121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30125 PyObject
*swig_obj
[1] ;
30127 if (!args
) SWIG_fail
;
30128 swig_obj
[0] = args
;
30129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30130 if (!SWIG_IsOK(res1
)) {
30131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30133 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30136 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30137 wxPyEndAllowThreads(__tstate
);
30138 if (PyErr_Occurred()) SWIG_fail
;
30140 resultobj
= SWIG_From_int(static_cast< int >(result
));
30147 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30148 PyObject
*resultobj
= 0;
30149 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30153 PyObject
*swig_obj
[1] ;
30155 if (!args
) SWIG_fail
;
30156 swig_obj
[0] = args
;
30157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30158 if (!SWIG_IsOK(res1
)) {
30159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30161 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30164 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30165 wxPyEndAllowThreads(__tstate
);
30166 if (PyErr_Occurred()) SWIG_fail
;
30168 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30175 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30176 PyObject
*resultobj
= 0;
30177 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30179 bool arg3
= (bool) false ;
30186 PyObject
* obj0
= 0 ;
30187 PyObject
* obj1
= 0 ;
30188 PyObject
* obj2
= 0 ;
30189 char * kwnames
[] = {
30190 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30195 if (!SWIG_IsOK(res1
)) {
30196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30198 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30200 if (!SWIG_IsOK(ecode2
)) {
30201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30203 arg2
= static_cast< int >(val2
);
30205 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30206 if (!SWIG_IsOK(ecode3
)) {
30207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30209 arg3
= static_cast< bool >(val3
);
30212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30213 (arg1
)->SetItemSpacing(arg2
,arg3
);
30214 wxPyEndAllowThreads(__tstate
);
30215 if (PyErr_Occurred()) SWIG_fail
;
30217 resultobj
= SWIG_Py_Void();
30224 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30225 PyObject
*resultobj
= 0;
30226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30230 PyObject
*swig_obj
[1] ;
30232 if (!args
) SWIG_fail
;
30233 swig_obj
[0] = args
;
30234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30235 if (!SWIG_IsOK(res1
)) {
30236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30238 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30242 wxPyEndAllowThreads(__tstate
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30245 resultobj
= SWIG_From_int(static_cast< int >(result
));
30252 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30253 PyObject
*resultobj
= 0;
30254 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30258 PyObject
*swig_obj
[1] ;
30260 if (!args
) SWIG_fail
;
30261 swig_obj
[0] = args
;
30262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30263 if (!SWIG_IsOK(res1
)) {
30264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30266 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30269 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30270 wxPyEndAllowThreads(__tstate
);
30271 if (PyErr_Occurred()) SWIG_fail
;
30273 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30280 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30281 PyObject
*resultobj
= 0;
30282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30283 wxColour
*arg2
= 0 ;
30287 PyObject
* obj0
= 0 ;
30288 PyObject
* obj1
= 0 ;
30289 char * kwnames
[] = {
30290 (char *) "self",(char *) "col", NULL
30293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30295 if (!SWIG_IsOK(res1
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30298 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30301 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30305 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30306 wxPyEndAllowThreads(__tstate
);
30307 if (PyErr_Occurred()) SWIG_fail
;
30309 resultobj
= SWIG_Py_Void();
30316 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30317 PyObject
*resultobj
= 0;
30318 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30322 PyObject
*swig_obj
[1] ;
30324 if (!args
) SWIG_fail
;
30325 swig_obj
[0] = args
;
30326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30327 if (!SWIG_IsOK(res1
)) {
30328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30330 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30333 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30334 wxPyEndAllowThreads(__tstate
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30337 resultobj
= SWIG_From_long(static_cast< long >(result
));
30344 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30345 PyObject
*resultobj
= 0;
30346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30348 bool arg3
= (bool) true ;
30355 PyObject
* obj0
= 0 ;
30356 PyObject
* obj1
= 0 ;
30357 PyObject
* obj2
= 0 ;
30358 char * kwnames
[] = {
30359 (char *) "self",(char *) "style",(char *) "add", NULL
30362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30364 if (!SWIG_IsOK(res1
)) {
30365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30367 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30368 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30369 if (!SWIG_IsOK(ecode2
)) {
30370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30372 arg2
= static_cast< long >(val2
);
30374 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30375 if (!SWIG_IsOK(ecode3
)) {
30376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30378 arg3
= static_cast< bool >(val3
);
30381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30382 (arg1
)->SetSingleStyle(arg2
,arg3
);
30383 wxPyEndAllowThreads(__tstate
);
30384 if (PyErr_Occurred()) SWIG_fail
;
30386 resultobj
= SWIG_Py_Void();
30393 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30394 PyObject
*resultobj
= 0;
30395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30397 int arg3
= (int) wxLIST_NEXT_ALL
;
30398 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30408 PyObject
* obj0
= 0 ;
30409 PyObject
* obj1
= 0 ;
30410 PyObject
* obj2
= 0 ;
30411 PyObject
* obj3
= 0 ;
30412 char * kwnames
[] = {
30413 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30418 if (!SWIG_IsOK(res1
)) {
30419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30421 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30422 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30423 if (!SWIG_IsOK(ecode2
)) {
30424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30426 arg2
= static_cast< long >(val2
);
30428 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30429 if (!SWIG_IsOK(ecode3
)) {
30430 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30432 arg3
= static_cast< int >(val3
);
30435 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30436 if (!SWIG_IsOK(ecode4
)) {
30437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30439 arg4
= static_cast< int >(val4
);
30442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30443 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30444 wxPyEndAllowThreads(__tstate
);
30445 if (PyErr_Occurred()) SWIG_fail
;
30447 resultobj
= SWIG_From_long(static_cast< long >(result
));
30454 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30455 PyObject
*resultobj
= 0;
30456 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30458 wxImageList
*result
= 0 ;
30463 PyObject
* obj0
= 0 ;
30464 PyObject
* obj1
= 0 ;
30465 char * kwnames
[] = {
30466 (char *) "self",(char *) "which", NULL
30469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30471 if (!SWIG_IsOK(res1
)) {
30472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30474 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30476 if (!SWIG_IsOK(ecode2
)) {
30477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30479 arg2
= static_cast< int >(val2
);
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30483 wxPyEndAllowThreads(__tstate
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30487 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30495 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
= 0;
30497 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30498 wxImageList
*arg2
= (wxImageList
*) 0 ;
30506 PyObject
* obj0
= 0 ;
30507 PyObject
* obj1
= 0 ;
30508 PyObject
* obj2
= 0 ;
30509 char * kwnames
[] = {
30510 (char *) "self",(char *) "imageList",(char *) "which", NULL
30513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30515 if (!SWIG_IsOK(res1
)) {
30516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30518 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30520 if (!SWIG_IsOK(res2
)) {
30521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30523 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30525 if (!SWIG_IsOK(ecode3
)) {
30526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30528 arg3
= static_cast< int >(val3
);
30530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30531 (arg1
)->SetImageList(arg2
,arg3
);
30532 wxPyEndAllowThreads(__tstate
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30535 resultobj
= SWIG_Py_Void();
30542 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30543 PyObject
*resultobj
= 0;
30544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30545 wxImageList
*arg2
= (wxImageList
*) 0 ;
30552 PyObject
* obj0
= 0 ;
30553 PyObject
* obj1
= 0 ;
30554 PyObject
* obj2
= 0 ;
30555 char * kwnames
[] = {
30556 (char *) "self",(char *) "imageList",(char *) "which", NULL
30559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30561 if (!SWIG_IsOK(res1
)) {
30562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30564 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30565 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30566 if (!SWIG_IsOK(res2
)) {
30567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30570 if (!SWIG_IsOK(ecode3
)) {
30571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30573 arg3
= static_cast< int >(val3
);
30575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30576 (arg1
)->AssignImageList(arg2
,arg3
);
30577 wxPyEndAllowThreads(__tstate
);
30578 if (PyErr_Occurred()) SWIG_fail
;
30580 resultobj
= SWIG_Py_Void();
30587 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30588 PyObject
*resultobj
= 0;
30589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30593 PyObject
*swig_obj
[1] ;
30595 if (!args
) SWIG_fail
;
30596 swig_obj
[0] = args
;
30597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30598 if (!SWIG_IsOK(res1
)) {
30599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30601 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30604 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30605 wxPyEndAllowThreads(__tstate
);
30606 if (PyErr_Occurred()) SWIG_fail
;
30609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30617 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30618 PyObject
*resultobj
= 0;
30619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30623 PyObject
*swig_obj
[1] ;
30625 if (!args
) SWIG_fail
;
30626 swig_obj
[0] = args
;
30627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30628 if (!SWIG_IsOK(res1
)) {
30629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30631 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30634 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30635 wxPyEndAllowThreads(__tstate
);
30636 if (PyErr_Occurred()) SWIG_fail
;
30639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30647 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30648 PyObject
*resultobj
= 0;
30649 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30655 PyObject
* obj0
= 0 ;
30656 PyObject
* obj1
= 0 ;
30657 char * kwnames
[] = {
30658 (char *) "self",(char *) "item", NULL
30661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30663 if (!SWIG_IsOK(res1
)) {
30664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30666 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30667 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30668 if (!SWIG_IsOK(ecode2
)) {
30669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30671 arg2
= static_cast< long >(val2
);
30673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30674 (arg1
)->RefreshItem(arg2
);
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 resultobj
= SWIG_Py_Void();
30685 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
= 0;
30687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30696 PyObject
* obj0
= 0 ;
30697 PyObject
* obj1
= 0 ;
30698 PyObject
* obj2
= 0 ;
30699 char * kwnames
[] = {
30700 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30705 if (!SWIG_IsOK(res1
)) {
30706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30708 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30709 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30710 if (!SWIG_IsOK(ecode2
)) {
30711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30713 arg2
= static_cast< long >(val2
);
30714 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30715 if (!SWIG_IsOK(ecode3
)) {
30716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30718 arg3
= static_cast< long >(val3
);
30720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30721 (arg1
)->RefreshItems(arg2
,arg3
);
30722 wxPyEndAllowThreads(__tstate
);
30723 if (PyErr_Occurred()) SWIG_fail
;
30725 resultobj
= SWIG_Py_Void();
30732 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30733 PyObject
*resultobj
= 0;
30734 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30735 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30741 PyObject
* obj0
= 0 ;
30742 PyObject
* obj1
= 0 ;
30743 char * kwnames
[] = {
30744 (char *) "self",(char *) "flag", NULL
30747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30749 if (!SWIG_IsOK(res1
)) {
30750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30752 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30755 if (!SWIG_IsOK(ecode2
)) {
30756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30758 arg2
= static_cast< int >(val2
);
30761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30762 result
= (bool)(arg1
)->Arrange(arg2
);
30763 wxPyEndAllowThreads(__tstate
);
30764 if (PyErr_Occurred()) SWIG_fail
;
30767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30775 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
= 0;
30777 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30784 PyObject
* obj0
= 0 ;
30785 PyObject
* obj1
= 0 ;
30786 char * kwnames
[] = {
30787 (char *) "self",(char *) "item", NULL
30790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30792 if (!SWIG_IsOK(res1
)) {
30793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30795 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30796 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30797 if (!SWIG_IsOK(ecode2
)) {
30798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30800 arg2
= static_cast< long >(val2
);
30802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30803 result
= (bool)(arg1
)->DeleteItem(arg2
);
30804 wxPyEndAllowThreads(__tstate
);
30805 if (PyErr_Occurred()) SWIG_fail
;
30808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30816 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30817 PyObject
*resultobj
= 0;
30818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30822 PyObject
*swig_obj
[1] ;
30824 if (!args
) SWIG_fail
;
30825 swig_obj
[0] = args
;
30826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30827 if (!SWIG_IsOK(res1
)) {
30828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30830 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30833 result
= (bool)(arg1
)->DeleteAllItems();
30834 wxPyEndAllowThreads(__tstate
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30846 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
= 0;
30848 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30855 PyObject
* obj0
= 0 ;
30856 PyObject
* obj1
= 0 ;
30857 char * kwnames
[] = {
30858 (char *) "self",(char *) "col", NULL
30861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30863 if (!SWIG_IsOK(res1
)) {
30864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30866 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30868 if (!SWIG_IsOK(ecode2
)) {
30869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30871 arg2
= static_cast< int >(val2
);
30873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30874 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30875 wxPyEndAllowThreads(__tstate
);
30876 if (PyErr_Occurred()) SWIG_fail
;
30879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30887 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30888 PyObject
*resultobj
= 0;
30889 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30893 PyObject
*swig_obj
[1] ;
30895 if (!args
) SWIG_fail
;
30896 swig_obj
[0] = args
;
30897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30898 if (!SWIG_IsOK(res1
)) {
30899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30901 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30904 result
= (bool)(arg1
)->DeleteAllColumns();
30905 wxPyEndAllowThreads(__tstate
);
30906 if (PyErr_Occurred()) SWIG_fail
;
30909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30917 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30918 PyObject
*resultobj
= 0;
30919 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30922 PyObject
*swig_obj
[1] ;
30924 if (!args
) SWIG_fail
;
30925 swig_obj
[0] = args
;
30926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30927 if (!SWIG_IsOK(res1
)) {
30928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30930 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30933 (arg1
)->ClearAll();
30934 wxPyEndAllowThreads(__tstate
);
30935 if (PyErr_Occurred()) SWIG_fail
;
30937 resultobj
= SWIG_Py_Void();
30944 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30945 PyObject
*resultobj
= 0;
30946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30952 PyObject
* obj0
= 0 ;
30953 PyObject
* obj1
= 0 ;
30954 char * kwnames
[] = {
30955 (char *) "self",(char *) "item", NULL
30958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30960 if (!SWIG_IsOK(res1
)) {
30961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30963 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30964 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30965 if (!SWIG_IsOK(ecode2
)) {
30966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30968 arg2
= static_cast< long >(val2
);
30970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30971 (arg1
)->EditLabel(arg2
);
30972 wxPyEndAllowThreads(__tstate
);
30973 if (PyErr_Occurred()) SWIG_fail
;
30975 resultobj
= SWIG_Py_Void();
30982 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30983 PyObject
*resultobj
= 0;
30984 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30991 PyObject
* obj0
= 0 ;
30992 PyObject
* obj1
= 0 ;
30993 char * kwnames
[] = {
30994 (char *) "self",(char *) "item", NULL
30997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30999 if (!SWIG_IsOK(res1
)) {
31000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31002 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31003 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31004 if (!SWIG_IsOK(ecode2
)) {
31005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31007 arg2
= static_cast< long >(val2
);
31009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31010 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31011 wxPyEndAllowThreads(__tstate
);
31012 if (PyErr_Occurred()) SWIG_fail
;
31015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31023 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31024 PyObject
*resultobj
= 0;
31025 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31027 wxString
*arg3
= 0 ;
31028 bool arg4
= (bool) false ;
31034 bool temp3
= false ;
31037 PyObject
* obj0
= 0 ;
31038 PyObject
* obj1
= 0 ;
31039 PyObject
* obj2
= 0 ;
31040 PyObject
* obj3
= 0 ;
31041 char * kwnames
[] = {
31042 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31047 if (!SWIG_IsOK(res1
)) {
31048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31050 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31051 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31052 if (!SWIG_IsOK(ecode2
)) {
31053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31055 arg2
= static_cast< long >(val2
);
31057 arg3
= wxString_in_helper(obj2
);
31058 if (arg3
== NULL
) SWIG_fail
;
31062 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31063 if (!SWIG_IsOK(ecode4
)) {
31064 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31066 arg4
= static_cast< bool >(val4
);
31069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31070 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31071 wxPyEndAllowThreads(__tstate
);
31072 if (PyErr_Occurred()) SWIG_fail
;
31074 resultobj
= SWIG_From_long(static_cast< long >(result
));
31089 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31090 PyObject
*resultobj
= 0;
31091 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31101 PyObject
* obj0
= 0 ;
31102 PyObject
* obj1
= 0 ;
31103 PyObject
* obj2
= 0 ;
31104 char * kwnames
[] = {
31105 (char *) "self",(char *) "start",(char *) "data", NULL
31108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31110 if (!SWIG_IsOK(res1
)) {
31111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31113 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31114 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31115 if (!SWIG_IsOK(ecode2
)) {
31116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31118 arg2
= static_cast< long >(val2
);
31119 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31120 if (!SWIG_IsOK(ecode3
)) {
31121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31123 arg3
= static_cast< long >(val3
);
31125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31126 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31127 wxPyEndAllowThreads(__tstate
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31130 resultobj
= SWIG_From_long(static_cast< long >(result
));
31137 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31138 PyObject
*resultobj
= 0;
31139 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31141 wxPoint
*arg3
= 0 ;
31151 PyObject
* obj0
= 0 ;
31152 PyObject
* obj1
= 0 ;
31153 PyObject
* obj2
= 0 ;
31154 PyObject
* obj3
= 0 ;
31155 char * kwnames
[] = {
31156 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31161 if (!SWIG_IsOK(res1
)) {
31162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31164 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31165 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31166 if (!SWIG_IsOK(ecode2
)) {
31167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31169 arg2
= static_cast< long >(val2
);
31172 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31174 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31175 if (!SWIG_IsOK(ecode4
)) {
31176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31178 arg4
= static_cast< int >(val4
);
31180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31181 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31182 wxPyEndAllowThreads(__tstate
);
31183 if (PyErr_Occurred()) SWIG_fail
;
31185 resultobj
= SWIG_From_long(static_cast< long >(result
));
31192 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31193 PyObject
*resultobj
= 0;
31194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31195 wxPoint
*arg2
= 0 ;
31202 int res3
= SWIG_TMPOBJ
;
31203 PyObject
* obj0
= 0 ;
31204 PyObject
* obj1
= 0 ;
31205 char * kwnames
[] = {
31206 (char *) "self",(char *) "point", NULL
31210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31212 if (!SWIG_IsOK(res1
)) {
31213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31215 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31218 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31223 wxPyEndAllowThreads(__tstate
);
31224 if (PyErr_Occurred()) SWIG_fail
;
31226 resultobj
= SWIG_From_long(static_cast< long >(result
));
31227 if (SWIG_IsTmpObj(res3
)) {
31228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31230 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31231 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31239 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31240 PyObject
*resultobj
= 0;
31241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31242 wxPoint
*arg2
= 0 ;
31244 long *arg4
= (long *) 0 ;
31250 int res3
= SWIG_TMPOBJ
;
31252 int res4
= SWIG_TMPOBJ
;
31253 PyObject
* obj0
= 0 ;
31254 PyObject
* obj1
= 0 ;
31255 char * kwnames
[] = {
31256 (char *) "self",(char *) "point", NULL
31261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31263 if (!SWIG_IsOK(res1
)) {
31264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31266 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31269 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31274 wxPyEndAllowThreads(__tstate
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31277 resultobj
= SWIG_From_long(static_cast< long >(result
));
31278 if (SWIG_IsTmpObj(res3
)) {
31279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31281 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31284 if (SWIG_IsTmpObj(res4
)) {
31285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31287 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31296 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31297 PyObject
*resultobj
= 0;
31298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31299 wxListItem
*arg2
= 0 ;
31305 PyObject
* obj0
= 0 ;
31306 PyObject
* obj1
= 0 ;
31307 char * kwnames
[] = {
31308 (char *) "self",(char *) "info", NULL
31311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31313 if (!SWIG_IsOK(res1
)) {
31314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31316 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31318 if (!SWIG_IsOK(res2
)) {
31319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31324 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31327 result
= (long)(arg1
)->InsertItem(*arg2
);
31328 wxPyEndAllowThreads(__tstate
);
31329 if (PyErr_Occurred()) SWIG_fail
;
31331 resultobj
= SWIG_From_long(static_cast< long >(result
));
31338 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31339 PyObject
*resultobj
= 0;
31340 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31342 wxString
*arg3
= 0 ;
31343 int arg4
= (int) -1 ;
31349 bool temp3
= false ;
31352 PyObject
* obj0
= 0 ;
31353 PyObject
* obj1
= 0 ;
31354 PyObject
* obj2
= 0 ;
31355 PyObject
* obj3
= 0 ;
31356 char * kwnames
[] = {
31357 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31362 if (!SWIG_IsOK(res1
)) {
31363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31365 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31366 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31367 if (!SWIG_IsOK(ecode2
)) {
31368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31370 arg2
= static_cast< long >(val2
);
31372 arg3
= wxString_in_helper(obj2
);
31373 if (arg3
== NULL
) SWIG_fail
;
31377 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31378 if (!SWIG_IsOK(ecode4
)) {
31379 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31381 arg4
= static_cast< int >(val4
);
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31389 resultobj
= SWIG_From_long(static_cast< long >(result
));
31404 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31405 PyObject
*resultobj
= 0;
31406 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31416 PyObject
* obj0
= 0 ;
31417 PyObject
* obj1
= 0 ;
31418 PyObject
* obj2
= 0 ;
31419 char * kwnames
[] = {
31420 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31425 if (!SWIG_IsOK(res1
)) {
31426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31428 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31429 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31430 if (!SWIG_IsOK(ecode2
)) {
31431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31433 arg2
= static_cast< long >(val2
);
31434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31435 if (!SWIG_IsOK(ecode3
)) {
31436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31438 arg3
= static_cast< int >(val3
);
31440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31441 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31442 wxPyEndAllowThreads(__tstate
);
31443 if (PyErr_Occurred()) SWIG_fail
;
31445 resultobj
= SWIG_From_long(static_cast< long >(result
));
31452 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31453 PyObject
*resultobj
= 0;
31454 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31456 wxString
*arg3
= 0 ;
31463 bool temp3
= false ;
31466 PyObject
* obj0
= 0 ;
31467 PyObject
* obj1
= 0 ;
31468 PyObject
* obj2
= 0 ;
31469 PyObject
* obj3
= 0 ;
31470 char * kwnames
[] = {
31471 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31476 if (!SWIG_IsOK(res1
)) {
31477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31479 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31480 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31481 if (!SWIG_IsOK(ecode2
)) {
31482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31484 arg2
= static_cast< long >(val2
);
31486 arg3
= wxString_in_helper(obj2
);
31487 if (arg3
== NULL
) SWIG_fail
;
31490 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31491 if (!SWIG_IsOK(ecode4
)) {
31492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31494 arg4
= static_cast< int >(val4
);
31496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31497 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31498 wxPyEndAllowThreads(__tstate
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31501 resultobj
= SWIG_From_long(static_cast< long >(result
));
31516 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31517 PyObject
*resultobj
= 0;
31518 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31520 wxListItem
*arg3
= 0 ;
31528 PyObject
* obj0
= 0 ;
31529 PyObject
* obj1
= 0 ;
31530 PyObject
* obj2
= 0 ;
31531 char * kwnames
[] = {
31532 (char *) "self",(char *) "col",(char *) "info", NULL
31535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31537 if (!SWIG_IsOK(res1
)) {
31538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31540 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31541 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31542 if (!SWIG_IsOK(ecode2
)) {
31543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31545 arg2
= static_cast< long >(val2
);
31546 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31547 if (!SWIG_IsOK(res3
)) {
31548 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31553 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31556 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31560 resultobj
= SWIG_From_long(static_cast< long >(result
));
31567 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31568 PyObject
*resultobj
= 0;
31569 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31571 wxString
*arg3
= 0 ;
31572 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31573 int arg5
= (int) -1 ;
31579 bool temp3
= false ;
31584 PyObject
* obj0
= 0 ;
31585 PyObject
* obj1
= 0 ;
31586 PyObject
* obj2
= 0 ;
31587 PyObject
* obj3
= 0 ;
31588 PyObject
* obj4
= 0 ;
31589 char * kwnames
[] = {
31590 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31595 if (!SWIG_IsOK(res1
)) {
31596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31598 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31599 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31600 if (!SWIG_IsOK(ecode2
)) {
31601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31603 arg2
= static_cast< long >(val2
);
31605 arg3
= wxString_in_helper(obj2
);
31606 if (arg3
== NULL
) SWIG_fail
;
31610 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31611 if (!SWIG_IsOK(ecode4
)) {
31612 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31614 arg4
= static_cast< int >(val4
);
31617 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31618 if (!SWIG_IsOK(ecode5
)) {
31619 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31621 arg5
= static_cast< int >(val5
);
31624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31625 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31626 wxPyEndAllowThreads(__tstate
);
31627 if (PyErr_Occurred()) SWIG_fail
;
31629 resultobj
= SWIG_From_long(static_cast< long >(result
));
31644 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31645 PyObject
*resultobj
= 0;
31646 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31652 PyObject
* obj0
= 0 ;
31653 PyObject
* obj1
= 0 ;
31654 char * kwnames
[] = {
31655 (char *) "self",(char *) "count", NULL
31658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31660 if (!SWIG_IsOK(res1
)) {
31661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31663 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31664 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31665 if (!SWIG_IsOK(ecode2
)) {
31666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31668 arg2
= static_cast< long >(val2
);
31670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31671 (arg1
)->SetItemCount(arg2
);
31672 wxPyEndAllowThreads(__tstate
);
31673 if (PyErr_Occurred()) SWIG_fail
;
31675 resultobj
= SWIG_Py_Void();
31682 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31683 PyObject
*resultobj
= 0;
31684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31694 PyObject
* obj0
= 0 ;
31695 PyObject
* obj1
= 0 ;
31696 PyObject
* obj2
= 0 ;
31697 char * kwnames
[] = {
31698 (char *) "self",(char *) "dx",(char *) "dy", NULL
31701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31703 if (!SWIG_IsOK(res1
)) {
31704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31706 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31708 if (!SWIG_IsOK(ecode2
)) {
31709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31711 arg2
= static_cast< int >(val2
);
31712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31713 if (!SWIG_IsOK(ecode3
)) {
31714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31716 arg3
= static_cast< int >(val3
);
31718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31719 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31720 wxPyEndAllowThreads(__tstate
);
31721 if (PyErr_Occurred()) SWIG_fail
;
31724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31732 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31733 PyObject
*resultobj
= 0;
31734 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31736 wxColour
*arg3
= 0 ;
31742 PyObject
* obj0
= 0 ;
31743 PyObject
* obj1
= 0 ;
31744 PyObject
* obj2
= 0 ;
31745 char * kwnames
[] = {
31746 (char *) "self",(char *) "item",(char *) "col", NULL
31749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31751 if (!SWIG_IsOK(res1
)) {
31752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31754 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31755 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31756 if (!SWIG_IsOK(ecode2
)) {
31757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31759 arg2
= static_cast< long >(val2
);
31762 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31766 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31767 wxPyEndAllowThreads(__tstate
);
31768 if (PyErr_Occurred()) SWIG_fail
;
31770 resultobj
= SWIG_Py_Void();
31777 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31778 PyObject
*resultobj
= 0;
31779 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31786 PyObject
* obj0
= 0 ;
31787 PyObject
* obj1
= 0 ;
31788 char * kwnames
[] = {
31789 (char *) "self",(char *) "item", NULL
31792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31794 if (!SWIG_IsOK(res1
)) {
31795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31797 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31798 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31799 if (!SWIG_IsOK(ecode2
)) {
31800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31802 arg2
= static_cast< long >(val2
);
31804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31805 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31806 wxPyEndAllowThreads(__tstate
);
31807 if (PyErr_Occurred()) SWIG_fail
;
31809 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31816 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31817 PyObject
*resultobj
= 0;
31818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31820 wxColour
*arg3
= 0 ;
31826 PyObject
* obj0
= 0 ;
31827 PyObject
* obj1
= 0 ;
31828 PyObject
* obj2
= 0 ;
31829 char * kwnames
[] = {
31830 (char *) "self",(char *) "item",(char *) "col", NULL
31833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31835 if (!SWIG_IsOK(res1
)) {
31836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31838 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31839 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31840 if (!SWIG_IsOK(ecode2
)) {
31841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31843 arg2
= static_cast< long >(val2
);
31846 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31851 wxPyEndAllowThreads(__tstate
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31854 resultobj
= SWIG_Py_Void();
31861 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31862 PyObject
*resultobj
= 0;
31863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31870 PyObject
* obj0
= 0 ;
31871 PyObject
* obj1
= 0 ;
31872 char * kwnames
[] = {
31873 (char *) "self",(char *) "item", NULL
31876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31878 if (!SWIG_IsOK(res1
)) {
31879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31881 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31882 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31883 if (!SWIG_IsOK(ecode2
)) {
31884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31886 arg2
= static_cast< long >(val2
);
31888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31889 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31890 wxPyEndAllowThreads(__tstate
);
31891 if (PyErr_Occurred()) SWIG_fail
;
31893 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31900 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31901 PyObject
*resultobj
= 0;
31902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31911 PyObject
* obj0
= 0 ;
31912 PyObject
* obj1
= 0 ;
31913 PyObject
* obj2
= 0 ;
31914 char * kwnames
[] = {
31915 (char *) "self",(char *) "item",(char *) "f", NULL
31918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31920 if (!SWIG_IsOK(res1
)) {
31921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31923 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31924 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31925 if (!SWIG_IsOK(ecode2
)) {
31926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31928 arg2
= static_cast< long >(val2
);
31929 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31930 if (!SWIG_IsOK(res3
)) {
31931 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31936 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31939 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31940 wxPyEndAllowThreads(__tstate
);
31941 if (PyErr_Occurred()) SWIG_fail
;
31943 resultobj
= SWIG_Py_Void();
31950 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31951 PyObject
*resultobj
= 0;
31952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31959 PyObject
* obj0
= 0 ;
31960 PyObject
* obj1
= 0 ;
31961 char * kwnames
[] = {
31962 (char *) "self",(char *) "item", NULL
31965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31967 if (!SWIG_IsOK(res1
)) {
31968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31970 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31971 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31972 if (!SWIG_IsOK(ecode2
)) {
31973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31975 arg2
= static_cast< long >(val2
);
31977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31978 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31979 wxPyEndAllowThreads(__tstate
);
31980 if (PyErr_Occurred()) SWIG_fail
;
31982 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31989 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31990 PyObject
*resultobj
= 0;
31991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31992 PyObject
*arg2
= (PyObject
*) 0 ;
31996 PyObject
* obj0
= 0 ;
31997 PyObject
* obj1
= 0 ;
31998 char * kwnames
[] = {
31999 (char *) "self",(char *) "func", NULL
32002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32004 if (!SWIG_IsOK(res1
)) {
32005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32007 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32011 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32012 wxPyEndAllowThreads(__tstate
);
32013 if (PyErr_Occurred()) SWIG_fail
;
32016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32024 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32025 PyObject
*resultobj
= 0;
32026 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32027 wxWindow
*result
= 0 ;
32030 PyObject
*swig_obj
[1] ;
32032 if (!args
) SWIG_fail
;
32033 swig_obj
[0] = args
;
32034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32035 if (!SWIG_IsOK(res1
)) {
32036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32038 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32041 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32046 resultobj
= wxPyMake_wxObject(result
, 0);
32054 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32055 PyObject
*resultobj
= 0;
32056 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32057 SwigValueWrapper
<wxVisualAttributes
> result
;
32060 PyObject
* obj0
= 0 ;
32061 char * kwnames
[] = {
32062 (char *) "variant", NULL
32065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32067 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32068 if (!SWIG_IsOK(ecode1
)) {
32069 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32071 arg1
= static_cast< wxWindowVariant
>(val1
);
32074 if (!wxPyCheckForApp()) SWIG_fail
;
32075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32076 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32077 wxPyEndAllowThreads(__tstate
);
32078 if (PyErr_Occurred()) SWIG_fail
;
32080 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32087 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32090 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32091 return SWIG_Py_Void();
32094 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32095 return SWIG_Python_InitShadowInstance(args
);
32098 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32099 PyObject
*resultobj
= 0;
32100 wxWindow
*arg1
= (wxWindow
*) 0 ;
32101 int arg2
= (int) -1 ;
32102 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32103 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32104 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32105 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32106 long arg5
= (long) wxLC_REPORT
;
32107 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32108 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32109 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32110 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32111 wxListView
*result
= 0 ;
32122 bool temp7
= false ;
32123 PyObject
* obj0
= 0 ;
32124 PyObject
* obj1
= 0 ;
32125 PyObject
* obj2
= 0 ;
32126 PyObject
* obj3
= 0 ;
32127 PyObject
* obj4
= 0 ;
32128 PyObject
* obj5
= 0 ;
32129 PyObject
* obj6
= 0 ;
32130 char * kwnames
[] = {
32131 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32136 if (!SWIG_IsOK(res1
)) {
32137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32139 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32142 if (!SWIG_IsOK(ecode2
)) {
32143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32145 arg2
= static_cast< int >(val2
);
32150 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32156 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32160 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32161 if (!SWIG_IsOK(ecode5
)) {
32162 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32164 arg5
= static_cast< long >(val5
);
32167 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32168 if (!SWIG_IsOK(res6
)) {
32169 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32174 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32178 arg7
= wxString_in_helper(obj6
);
32179 if (arg7
== NULL
) SWIG_fail
;
32184 if (!wxPyCheckForApp()) SWIG_fail
;
32185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32186 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32187 wxPyEndAllowThreads(__tstate
);
32188 if (PyErr_Occurred()) SWIG_fail
;
32190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32205 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32206 PyObject
*resultobj
= 0;
32207 wxListView
*result
= 0 ;
32209 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32211 if (!wxPyCheckForApp()) SWIG_fail
;
32212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32213 result
= (wxListView
*)new wxListView();
32214 wxPyEndAllowThreads(__tstate
);
32215 if (PyErr_Occurred()) SWIG_fail
;
32217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32224 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32225 PyObject
*resultobj
= 0;
32226 wxListView
*arg1
= (wxListView
*) 0 ;
32227 wxWindow
*arg2
= (wxWindow
*) 0 ;
32228 int arg3
= (int) -1 ;
32229 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32230 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32231 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32232 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32233 long arg6
= (long) wxLC_REPORT
;
32234 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32235 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32236 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32237 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32251 bool temp8
= false ;
32252 PyObject
* obj0
= 0 ;
32253 PyObject
* obj1
= 0 ;
32254 PyObject
* obj2
= 0 ;
32255 PyObject
* obj3
= 0 ;
32256 PyObject
* obj4
= 0 ;
32257 PyObject
* obj5
= 0 ;
32258 PyObject
* obj6
= 0 ;
32259 PyObject
* obj7
= 0 ;
32260 char * kwnames
[] = {
32261 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32266 if (!SWIG_IsOK(res1
)) {
32267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32269 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32270 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32271 if (!SWIG_IsOK(res2
)) {
32272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32274 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32277 if (!SWIG_IsOK(ecode3
)) {
32278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32280 arg3
= static_cast< int >(val3
);
32285 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32291 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32295 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32296 if (!SWIG_IsOK(ecode6
)) {
32297 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32299 arg6
= static_cast< long >(val6
);
32302 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32303 if (!SWIG_IsOK(res7
)) {
32304 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32309 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32313 arg8
= wxString_in_helper(obj7
);
32314 if (arg8
== NULL
) SWIG_fail
;
32319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32320 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32321 wxPyEndAllowThreads(__tstate
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32341 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32342 PyObject
*resultobj
= 0;
32343 wxListView
*arg1
= (wxListView
*) 0 ;
32345 bool arg3
= (bool) true ;
32352 PyObject
* obj0
= 0 ;
32353 PyObject
* obj1
= 0 ;
32354 PyObject
* obj2
= 0 ;
32355 char * kwnames
[] = {
32356 (char *) "self",(char *) "n",(char *) "on", NULL
32359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32361 if (!SWIG_IsOK(res1
)) {
32362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32364 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32365 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32366 if (!SWIG_IsOK(ecode2
)) {
32367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32369 arg2
= static_cast< long >(val2
);
32371 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32372 if (!SWIG_IsOK(ecode3
)) {
32373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32375 arg3
= static_cast< bool >(val3
);
32378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32379 (arg1
)->Select(arg2
,arg3
);
32380 wxPyEndAllowThreads(__tstate
);
32381 if (PyErr_Occurred()) SWIG_fail
;
32383 resultobj
= SWIG_Py_Void();
32390 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32391 PyObject
*resultobj
= 0;
32392 wxListView
*arg1
= (wxListView
*) 0 ;
32398 PyObject
* obj0
= 0 ;
32399 PyObject
* obj1
= 0 ;
32400 char * kwnames
[] = {
32401 (char *) "self",(char *) "index", NULL
32404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32406 if (!SWIG_IsOK(res1
)) {
32407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32409 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32410 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32411 if (!SWIG_IsOK(ecode2
)) {
32412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32414 arg2
= static_cast< long >(val2
);
32416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32417 (arg1
)->Focus(arg2
);
32418 wxPyEndAllowThreads(__tstate
);
32419 if (PyErr_Occurred()) SWIG_fail
;
32421 resultobj
= SWIG_Py_Void();
32428 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32429 PyObject
*resultobj
= 0;
32430 wxListView
*arg1
= (wxListView
*) 0 ;
32434 PyObject
*swig_obj
[1] ;
32436 if (!args
) SWIG_fail
;
32437 swig_obj
[0] = args
;
32438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32439 if (!SWIG_IsOK(res1
)) {
32440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32442 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32445 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32446 wxPyEndAllowThreads(__tstate
);
32447 if (PyErr_Occurred()) SWIG_fail
;
32449 resultobj
= SWIG_From_long(static_cast< long >(result
));
32456 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32457 PyObject
*resultobj
= 0;
32458 wxListView
*arg1
= (wxListView
*) 0 ;
32465 PyObject
* obj0
= 0 ;
32466 PyObject
* obj1
= 0 ;
32467 char * kwnames
[] = {
32468 (char *) "self",(char *) "item", NULL
32471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32473 if (!SWIG_IsOK(res1
)) {
32474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32476 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32477 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32478 if (!SWIG_IsOK(ecode2
)) {
32479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32481 arg2
= static_cast< long >(val2
);
32483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32484 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32485 wxPyEndAllowThreads(__tstate
);
32486 if (PyErr_Occurred()) SWIG_fail
;
32488 resultobj
= SWIG_From_long(static_cast< long >(result
));
32495 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32496 PyObject
*resultobj
= 0;
32497 wxListView
*arg1
= (wxListView
*) 0 ;
32501 PyObject
*swig_obj
[1] ;
32503 if (!args
) SWIG_fail
;
32504 swig_obj
[0] = args
;
32505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32506 if (!SWIG_IsOK(res1
)) {
32507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32509 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32512 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32513 wxPyEndAllowThreads(__tstate
);
32514 if (PyErr_Occurred()) SWIG_fail
;
32516 resultobj
= SWIG_From_long(static_cast< long >(result
));
32523 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32524 PyObject
*resultobj
= 0;
32525 wxListView
*arg1
= (wxListView
*) 0 ;
32532 PyObject
* obj0
= 0 ;
32533 PyObject
* obj1
= 0 ;
32534 char * kwnames
[] = {
32535 (char *) "self",(char *) "index", NULL
32538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32540 if (!SWIG_IsOK(res1
)) {
32541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32543 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32544 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32545 if (!SWIG_IsOK(ecode2
)) {
32546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32548 arg2
= static_cast< long >(val2
);
32550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32551 result
= (bool)(arg1
)->IsSelected(arg2
);
32552 wxPyEndAllowThreads(__tstate
);
32553 if (PyErr_Occurred()) SWIG_fail
;
32556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32564 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32565 PyObject
*resultobj
= 0;
32566 wxListView
*arg1
= (wxListView
*) 0 ;
32575 PyObject
* obj0
= 0 ;
32576 PyObject
* obj1
= 0 ;
32577 PyObject
* obj2
= 0 ;
32578 char * kwnames
[] = {
32579 (char *) "self",(char *) "col",(char *) "image", NULL
32582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32584 if (!SWIG_IsOK(res1
)) {
32585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32587 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32589 if (!SWIG_IsOK(ecode2
)) {
32590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32592 arg2
= static_cast< int >(val2
);
32593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32594 if (!SWIG_IsOK(ecode3
)) {
32595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32597 arg3
= static_cast< int >(val3
);
32599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32600 (arg1
)->SetColumnImage(arg2
,arg3
);
32601 wxPyEndAllowThreads(__tstate
);
32602 if (PyErr_Occurred()) SWIG_fail
;
32604 resultobj
= SWIG_Py_Void();
32611 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32612 PyObject
*resultobj
= 0;
32613 wxListView
*arg1
= (wxListView
*) 0 ;
32619 PyObject
* obj0
= 0 ;
32620 PyObject
* obj1
= 0 ;
32621 char * kwnames
[] = {
32622 (char *) "self",(char *) "col", NULL
32625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32627 if (!SWIG_IsOK(res1
)) {
32628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32630 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32632 if (!SWIG_IsOK(ecode2
)) {
32633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32635 arg2
= static_cast< int >(val2
);
32637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32638 (arg1
)->ClearColumnImage(arg2
);
32639 wxPyEndAllowThreads(__tstate
);
32640 if (PyErr_Occurred()) SWIG_fail
;
32642 resultobj
= SWIG_Py_Void();
32649 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32652 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32653 return SWIG_Py_Void();
32656 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32657 return SWIG_Python_InitShadowInstance(args
);
32660 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32661 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32666 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32667 PyObject
*pyobj
= 0;
32671 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32673 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32680 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32681 PyObject
*resultobj
= 0;
32682 wxTreeItemId
*result
= 0 ;
32684 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32687 result
= (wxTreeItemId
*)new wxTreeItemId();
32688 wxPyEndAllowThreads(__tstate
);
32689 if (PyErr_Occurred()) SWIG_fail
;
32691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32698 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32699 PyObject
*resultobj
= 0;
32700 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32703 PyObject
*swig_obj
[1] ;
32705 if (!args
) SWIG_fail
;
32706 swig_obj
[0] = args
;
32707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32708 if (!SWIG_IsOK(res1
)) {
32709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32711 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32716 wxPyEndAllowThreads(__tstate
);
32717 if (PyErr_Occurred()) SWIG_fail
;
32719 resultobj
= SWIG_Py_Void();
32726 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32727 PyObject
*resultobj
= 0;
32728 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32732 PyObject
*swig_obj
[1] ;
32734 if (!args
) SWIG_fail
;
32735 swig_obj
[0] = args
;
32736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32737 if (!SWIG_IsOK(res1
)) {
32738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32740 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32743 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32744 wxPyEndAllowThreads(__tstate
);
32745 if (PyErr_Occurred()) SWIG_fail
;
32748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32756 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32757 PyObject
*resultobj
= 0;
32758 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32759 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32765 PyObject
* obj0
= 0 ;
32766 PyObject
* obj1
= 0 ;
32767 char * kwnames
[] = {
32768 (char *) "self",(char *) "other", NULL
32771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32773 if (!SWIG_IsOK(res1
)) {
32774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32776 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32778 if (!SWIG_IsOK(res2
)) {
32779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32781 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32784 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32785 wxPyEndAllowThreads(__tstate
);
32786 if (PyErr_Occurred()) SWIG_fail
;
32789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32797 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32798 PyObject
*resultobj
= 0;
32799 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32800 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32806 PyObject
* obj0
= 0 ;
32807 PyObject
* obj1
= 0 ;
32808 char * kwnames
[] = {
32809 (char *) "self",(char *) "other", NULL
32812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32814 if (!SWIG_IsOK(res1
)) {
32815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32817 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32819 if (!SWIG_IsOK(res2
)) {
32820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32822 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32825 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32826 wxPyEndAllowThreads(__tstate
);
32827 if (PyErr_Occurred()) SWIG_fail
;
32830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32838 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32839 PyObject
*resultobj
= 0;
32840 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32841 void *arg2
= (void *) 0 ;
32845 PyObject
*swig_obj
[2] ;
32847 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32849 if (!SWIG_IsOK(res1
)) {
32850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32852 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32853 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32854 if (!SWIG_IsOK(res2
)) {
32855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32857 if (arg1
) (arg1
)->m_pItem
= arg2
;
32859 resultobj
= SWIG_Py_Void();
32866 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32867 PyObject
*resultobj
= 0;
32868 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32872 PyObject
*swig_obj
[1] ;
32874 if (!args
) SWIG_fail
;
32875 swig_obj
[0] = args
;
32876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32877 if (!SWIG_IsOK(res1
)) {
32878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32880 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32881 result
= (void *) ((arg1
)->m_pItem
);
32882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32889 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32892 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32893 return SWIG_Py_Void();
32896 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32897 return SWIG_Python_InitShadowInstance(args
);
32900 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32901 PyObject
*resultobj
= 0;
32902 PyObject
*arg1
= (PyObject
*) NULL
;
32903 wxPyTreeItemData
*result
= 0 ;
32904 PyObject
* obj0
= 0 ;
32905 char * kwnames
[] = {
32906 (char *) "obj", NULL
32909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32915 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32916 wxPyEndAllowThreads(__tstate
);
32917 if (PyErr_Occurred()) SWIG_fail
;
32919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32926 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32927 PyObject
*resultobj
= 0;
32928 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32931 PyObject
*swig_obj
[1] ;
32933 if (!args
) SWIG_fail
;
32934 swig_obj
[0] = args
;
32935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32936 if (!SWIG_IsOK(res1
)) {
32937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32939 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32944 wxPyEndAllowThreads(__tstate
);
32945 if (PyErr_Occurred()) SWIG_fail
;
32947 resultobj
= SWIG_Py_Void();
32954 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32955 PyObject
*resultobj
= 0;
32956 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32957 PyObject
*result
= 0 ;
32960 PyObject
*swig_obj
[1] ;
32962 if (!args
) SWIG_fail
;
32963 swig_obj
[0] = args
;
32964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32965 if (!SWIG_IsOK(res1
)) {
32966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32968 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32971 result
= (PyObject
*)(arg1
)->GetData();
32972 wxPyEndAllowThreads(__tstate
);
32973 if (PyErr_Occurred()) SWIG_fail
;
32975 resultobj
= result
;
32982 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32983 PyObject
*resultobj
= 0;
32984 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32985 PyObject
*arg2
= (PyObject
*) 0 ;
32988 PyObject
* obj0
= 0 ;
32989 PyObject
* obj1
= 0 ;
32990 char * kwnames
[] = {
32991 (char *) "self",(char *) "obj", NULL
32994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32996 if (!SWIG_IsOK(res1
)) {
32997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32999 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33003 (arg1
)->SetData(arg2
);
33004 wxPyEndAllowThreads(__tstate
);
33005 if (PyErr_Occurred()) SWIG_fail
;
33007 resultobj
= SWIG_Py_Void();
33014 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33015 PyObject
*resultobj
= 0;
33016 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33017 wxTreeItemId
*result
= 0 ;
33020 PyObject
*swig_obj
[1] ;
33022 if (!args
) SWIG_fail
;
33023 swig_obj
[0] = args
;
33024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33025 if (!SWIG_IsOK(res1
)) {
33026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33028 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33032 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33033 result
= (wxTreeItemId
*) &_result_ref
;
33035 wxPyEndAllowThreads(__tstate
);
33036 if (PyErr_Occurred()) SWIG_fail
;
33038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33045 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33046 PyObject
*resultobj
= 0;
33047 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33048 wxTreeItemId
*arg2
= 0 ;
33053 PyObject
* obj0
= 0 ;
33054 PyObject
* obj1
= 0 ;
33055 char * kwnames
[] = {
33056 (char *) "self",(char *) "id", NULL
33059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33061 if (!SWIG_IsOK(res1
)) {
33062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33064 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33066 if (!SWIG_IsOK(res2
)) {
33067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33072 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33075 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33076 wxPyEndAllowThreads(__tstate
);
33077 if (PyErr_Occurred()) SWIG_fail
;
33079 resultobj
= SWIG_Py_Void();
33086 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33087 PyObject
*resultobj
= 0;
33088 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33091 PyObject
*swig_obj
[1] ;
33093 if (!args
) SWIG_fail
;
33094 swig_obj
[0] = args
;
33095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33096 if (!SWIG_IsOK(res1
)) {
33097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33099 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33102 wxPyTreeItemData_Destroy(arg1
);
33103 wxPyEndAllowThreads(__tstate
);
33104 if (PyErr_Occurred()) SWIG_fail
;
33106 resultobj
= SWIG_Py_Void();
33113 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33115 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33116 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33117 return SWIG_Py_Void();
33120 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33121 return SWIG_Python_InitShadowInstance(args
);
33124 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33127 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33128 if (!SWIG_IsOK(res
)) {
33129 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33134 wxTreeItemId
* temp
;
33135 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33136 wxNullTreeItemId
= *temp
;
33137 if (SWIG_IsNewObj(res
)) delete temp
;
33146 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33147 PyObject
*pyobj
= 0;
33149 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33154 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33155 PyObject
*resultobj
= 0;
33156 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33157 int arg2
= (int) 0 ;
33158 wxTreeEvent
*result
= 0 ;
33164 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33166 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33167 if (!SWIG_IsOK(ecode1
)) {
33168 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33170 arg1
= static_cast< wxEventType
>(val1
);
33173 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33174 if (!SWIG_IsOK(ecode2
)) {
33175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33177 arg2
= static_cast< int >(val2
);
33180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33181 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33182 wxPyEndAllowThreads(__tstate
);
33183 if (PyErr_Occurred()) SWIG_fail
;
33185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33192 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33193 PyObject
*resultobj
= 0;
33195 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33196 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33197 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33198 wxTreeEvent
*result
= 0 ;
33206 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33207 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33208 if (!SWIG_IsOK(ecode1
)) {
33209 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33211 arg1
= static_cast< wxEventType
>(val1
);
33212 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33213 if (!SWIG_IsOK(res2
)) {
33214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33216 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33218 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33219 if (!SWIG_IsOK(res3
)) {
33220 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33225 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33229 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33230 wxPyEndAllowThreads(__tstate
);
33231 if (PyErr_Occurred()) SWIG_fail
;
33233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33240 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33244 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33246 if ((argc
>= 0) && (argc
<= 2)) {
33251 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33252 _v
= SWIG_CheckState(res
);
33255 if (!_v
) goto check_1
;
33257 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33261 if ((argc
>= 2) && (argc
<= 3)) {
33262 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33266 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33271 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33272 PyObject
*resultobj
= 0;
33273 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33274 wxTreeItemId result
;
33277 PyObject
*swig_obj
[1] ;
33279 if (!args
) SWIG_fail
;
33280 swig_obj
[0] = args
;
33281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33282 if (!SWIG_IsOK(res1
)) {
33283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33285 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33288 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33289 wxPyEndAllowThreads(__tstate
);
33290 if (PyErr_Occurred()) SWIG_fail
;
33292 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33299 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33300 PyObject
*resultobj
= 0;
33301 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33302 wxTreeItemId
*arg2
= 0 ;
33307 PyObject
* obj0
= 0 ;
33308 PyObject
* obj1
= 0 ;
33309 char * kwnames
[] = {
33310 (char *) "self",(char *) "item", NULL
33313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33315 if (!SWIG_IsOK(res1
)) {
33316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33318 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33320 if (!SWIG_IsOK(res2
)) {
33321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33326 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33329 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33330 wxPyEndAllowThreads(__tstate
);
33331 if (PyErr_Occurred()) SWIG_fail
;
33333 resultobj
= SWIG_Py_Void();
33340 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33341 PyObject
*resultobj
= 0;
33342 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33343 wxTreeItemId result
;
33346 PyObject
*swig_obj
[1] ;
33348 if (!args
) SWIG_fail
;
33349 swig_obj
[0] = args
;
33350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33351 if (!SWIG_IsOK(res1
)) {
33352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33354 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33357 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33358 wxPyEndAllowThreads(__tstate
);
33359 if (PyErr_Occurred()) SWIG_fail
;
33361 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33368 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33369 PyObject
*resultobj
= 0;
33370 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33371 wxTreeItemId
*arg2
= 0 ;
33376 PyObject
* obj0
= 0 ;
33377 PyObject
* obj1
= 0 ;
33378 char * kwnames
[] = {
33379 (char *) "self",(char *) "item", NULL
33382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33384 if (!SWIG_IsOK(res1
)) {
33385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33387 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33388 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33389 if (!SWIG_IsOK(res2
)) {
33390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33395 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33398 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33399 wxPyEndAllowThreads(__tstate
);
33400 if (PyErr_Occurred()) SWIG_fail
;
33402 resultobj
= SWIG_Py_Void();
33409 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33410 PyObject
*resultobj
= 0;
33411 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33415 PyObject
*swig_obj
[1] ;
33417 if (!args
) SWIG_fail
;
33418 swig_obj
[0] = args
;
33419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33420 if (!SWIG_IsOK(res1
)) {
33421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33423 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33426 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33427 wxPyEndAllowThreads(__tstate
);
33428 if (PyErr_Occurred()) SWIG_fail
;
33430 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33437 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33438 PyObject
*resultobj
= 0;
33439 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33440 wxPoint
*arg2
= 0 ;
33444 PyObject
* obj0
= 0 ;
33445 PyObject
* obj1
= 0 ;
33446 char * kwnames
[] = {
33447 (char *) "self",(char *) "pt", NULL
33450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33452 if (!SWIG_IsOK(res1
)) {
33453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33455 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33458 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33462 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33463 wxPyEndAllowThreads(__tstate
);
33464 if (PyErr_Occurred()) SWIG_fail
;
33466 resultobj
= SWIG_Py_Void();
33473 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33474 PyObject
*resultobj
= 0;
33475 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33476 wxKeyEvent
*result
= 0 ;
33479 PyObject
*swig_obj
[1] ;
33481 if (!args
) SWIG_fail
;
33482 swig_obj
[0] = args
;
33483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33484 if (!SWIG_IsOK(res1
)) {
33485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33487 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33491 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33492 result
= (wxKeyEvent
*) &_result_ref
;
33494 wxPyEndAllowThreads(__tstate
);
33495 if (PyErr_Occurred()) SWIG_fail
;
33497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33504 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33505 PyObject
*resultobj
= 0;
33506 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33510 PyObject
*swig_obj
[1] ;
33512 if (!args
) SWIG_fail
;
33513 swig_obj
[0] = args
;
33514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33515 if (!SWIG_IsOK(res1
)) {
33516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33518 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33521 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33522 wxPyEndAllowThreads(__tstate
);
33523 if (PyErr_Occurred()) SWIG_fail
;
33525 resultobj
= SWIG_From_int(static_cast< int >(result
));
33532 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33533 PyObject
*resultobj
= 0;
33534 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33535 wxKeyEvent
*arg2
= 0 ;
33540 PyObject
* obj0
= 0 ;
33541 PyObject
* obj1
= 0 ;
33542 char * kwnames
[] = {
33543 (char *) "self",(char *) "evt", NULL
33546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33548 if (!SWIG_IsOK(res1
)) {
33549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33551 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33553 if (!SWIG_IsOK(res2
)) {
33554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33559 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33562 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33563 wxPyEndAllowThreads(__tstate
);
33564 if (PyErr_Occurred()) SWIG_fail
;
33566 resultobj
= SWIG_Py_Void();
33573 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33574 PyObject
*resultobj
= 0;
33575 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33576 wxString
*result
= 0 ;
33579 PyObject
*swig_obj
[1] ;
33581 if (!args
) SWIG_fail
;
33582 swig_obj
[0] = args
;
33583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33584 if (!SWIG_IsOK(res1
)) {
33585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33587 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33591 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33592 result
= (wxString
*) &_result_ref
;
33594 wxPyEndAllowThreads(__tstate
);
33595 if (PyErr_Occurred()) SWIG_fail
;
33599 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33601 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33610 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33611 PyObject
*resultobj
= 0;
33612 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33613 wxString
*arg2
= 0 ;
33616 bool temp2
= false ;
33617 PyObject
* obj0
= 0 ;
33618 PyObject
* obj1
= 0 ;
33619 char * kwnames
[] = {
33620 (char *) "self",(char *) "label", NULL
33623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33625 if (!SWIG_IsOK(res1
)) {
33626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33628 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33630 arg2
= wxString_in_helper(obj1
);
33631 if (arg2
== NULL
) SWIG_fail
;
33635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33636 (arg1
)->SetLabel((wxString
const &)*arg2
);
33637 wxPyEndAllowThreads(__tstate
);
33638 if (PyErr_Occurred()) SWIG_fail
;
33640 resultobj
= SWIG_Py_Void();
33655 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33656 PyObject
*resultobj
= 0;
33657 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33661 PyObject
*swig_obj
[1] ;
33663 if (!args
) SWIG_fail
;
33664 swig_obj
[0] = args
;
33665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33666 if (!SWIG_IsOK(res1
)) {
33667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33669 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33672 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33673 wxPyEndAllowThreads(__tstate
);
33674 if (PyErr_Occurred()) SWIG_fail
;
33677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33685 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33686 PyObject
*resultobj
= 0;
33687 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33693 PyObject
* obj0
= 0 ;
33694 PyObject
* obj1
= 0 ;
33695 char * kwnames
[] = {
33696 (char *) "self",(char *) "editCancelled", NULL
33699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33701 if (!SWIG_IsOK(res1
)) {
33702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33704 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33705 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33706 if (!SWIG_IsOK(ecode2
)) {
33707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33709 arg2
= static_cast< bool >(val2
);
33711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33712 (arg1
)->SetEditCanceled(arg2
);
33713 wxPyEndAllowThreads(__tstate
);
33714 if (PyErr_Occurred()) SWIG_fail
;
33716 resultobj
= SWIG_Py_Void();
33723 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33724 PyObject
*resultobj
= 0;
33725 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33726 wxString
*arg2
= 0 ;
33729 bool temp2
= false ;
33730 PyObject
* obj0
= 0 ;
33731 PyObject
* obj1
= 0 ;
33732 char * kwnames
[] = {
33733 (char *) "self",(char *) "toolTip", NULL
33736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33738 if (!SWIG_IsOK(res1
)) {
33739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33741 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33743 arg2
= wxString_in_helper(obj1
);
33744 if (arg2
== NULL
) SWIG_fail
;
33748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33749 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33750 wxPyEndAllowThreads(__tstate
);
33751 if (PyErr_Occurred()) SWIG_fail
;
33753 resultobj
= SWIG_Py_Void();
33768 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33769 PyObject
*resultobj
= 0;
33770 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33774 PyObject
*swig_obj
[1] ;
33776 if (!args
) SWIG_fail
;
33777 swig_obj
[0] = args
;
33778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33779 if (!SWIG_IsOK(res1
)) {
33780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33782 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33785 result
= (arg1
)->GetToolTip();
33786 wxPyEndAllowThreads(__tstate
);
33787 if (PyErr_Occurred()) SWIG_fail
;
33791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33802 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33805 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33806 return SWIG_Py_Void();
33809 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33810 return SWIG_Python_InitShadowInstance(args
);
33813 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33814 PyObject
*resultobj
= 0;
33815 wxWindow
*arg1
= (wxWindow
*) 0 ;
33816 int arg2
= (int) -1 ;
33817 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33818 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33819 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33820 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33821 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33822 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33823 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33824 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33825 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33826 wxPyTreeCtrl
*result
= 0 ;
33837 bool temp7
= false ;
33838 PyObject
* obj0
= 0 ;
33839 PyObject
* obj1
= 0 ;
33840 PyObject
* obj2
= 0 ;
33841 PyObject
* obj3
= 0 ;
33842 PyObject
* obj4
= 0 ;
33843 PyObject
* obj5
= 0 ;
33844 PyObject
* obj6
= 0 ;
33845 char * kwnames
[] = {
33846 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33851 if (!SWIG_IsOK(res1
)) {
33852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33854 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33857 if (!SWIG_IsOK(ecode2
)) {
33858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33860 arg2
= static_cast< int >(val2
);
33865 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33871 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33875 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33876 if (!SWIG_IsOK(ecode5
)) {
33877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33879 arg5
= static_cast< long >(val5
);
33882 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33883 if (!SWIG_IsOK(res6
)) {
33884 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33889 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33893 arg7
= wxString_in_helper(obj6
);
33894 if (arg7
== NULL
) SWIG_fail
;
33899 if (!wxPyCheckForApp()) SWIG_fail
;
33900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33901 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33902 wxPyEndAllowThreads(__tstate
);
33903 if (PyErr_Occurred()) SWIG_fail
;
33905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33920 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33921 PyObject
*resultobj
= 0;
33922 wxPyTreeCtrl
*result
= 0 ;
33924 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33926 if (!wxPyCheckForApp()) SWIG_fail
;
33927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33928 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33929 wxPyEndAllowThreads(__tstate
);
33930 if (PyErr_Occurred()) SWIG_fail
;
33932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33939 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33940 PyObject
*resultobj
= 0;
33941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33942 wxWindow
*arg2
= (wxWindow
*) 0 ;
33943 int arg3
= (int) -1 ;
33944 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33945 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33946 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33947 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33948 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33949 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33950 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33951 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33952 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33966 bool temp8
= false ;
33967 PyObject
* obj0
= 0 ;
33968 PyObject
* obj1
= 0 ;
33969 PyObject
* obj2
= 0 ;
33970 PyObject
* obj3
= 0 ;
33971 PyObject
* obj4
= 0 ;
33972 PyObject
* obj5
= 0 ;
33973 PyObject
* obj6
= 0 ;
33974 PyObject
* obj7
= 0 ;
33975 char * kwnames
[] = {
33976 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33981 if (!SWIG_IsOK(res1
)) {
33982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33984 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33986 if (!SWIG_IsOK(res2
)) {
33987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33989 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33992 if (!SWIG_IsOK(ecode3
)) {
33993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33995 arg3
= static_cast< int >(val3
);
34000 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34006 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34010 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34011 if (!SWIG_IsOK(ecode6
)) {
34012 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34014 arg6
= static_cast< long >(val6
);
34017 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34018 if (!SWIG_IsOK(res7
)) {
34019 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34024 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34028 arg8
= wxString_in_helper(obj7
);
34029 if (arg8
== NULL
) SWIG_fail
;
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34056 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34057 PyObject
*resultobj
= 0;
34058 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34059 PyObject
*arg2
= (PyObject
*) 0 ;
34060 PyObject
*arg3
= (PyObject
*) 0 ;
34063 PyObject
* obj0
= 0 ;
34064 PyObject
* obj1
= 0 ;
34065 PyObject
* obj2
= 0 ;
34066 char * kwnames
[] = {
34067 (char *) "self",(char *) "self",(char *) "_class", NULL
34070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34072 if (!SWIG_IsOK(res1
)) {
34073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34075 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34080 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34081 wxPyEndAllowThreads(__tstate
);
34082 if (PyErr_Occurred()) SWIG_fail
;
34084 resultobj
= SWIG_Py_Void();
34091 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34092 PyObject
*resultobj
= 0;
34093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34094 unsigned int result
;
34097 PyObject
*swig_obj
[1] ;
34099 if (!args
) SWIG_fail
;
34100 swig_obj
[0] = args
;
34101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34102 if (!SWIG_IsOK(res1
)) {
34103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34105 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34108 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34109 wxPyEndAllowThreads(__tstate
);
34110 if (PyErr_Occurred()) SWIG_fail
;
34112 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34119 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34120 PyObject
*resultobj
= 0;
34121 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34122 unsigned int result
;
34125 PyObject
*swig_obj
[1] ;
34127 if (!args
) SWIG_fail
;
34128 swig_obj
[0] = args
;
34129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34130 if (!SWIG_IsOK(res1
)) {
34131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34133 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34136 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34137 wxPyEndAllowThreads(__tstate
);
34138 if (PyErr_Occurred()) SWIG_fail
;
34140 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34147 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34148 PyObject
*resultobj
= 0;
34149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34150 unsigned int arg2
;
34153 unsigned int val2
;
34155 PyObject
* obj0
= 0 ;
34156 PyObject
* obj1
= 0 ;
34157 char * kwnames
[] = {
34158 (char *) "self",(char *) "indent", NULL
34161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34163 if (!SWIG_IsOK(res1
)) {
34164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34166 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34167 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34168 if (!SWIG_IsOK(ecode2
)) {
34169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34171 arg2
= static_cast< unsigned int >(val2
);
34173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34174 (arg1
)->SetIndent(arg2
);
34175 wxPyEndAllowThreads(__tstate
);
34176 if (PyErr_Occurred()) SWIG_fail
;
34178 resultobj
= SWIG_Py_Void();
34185 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34186 PyObject
*resultobj
= 0;
34187 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34188 unsigned int result
;
34191 PyObject
*swig_obj
[1] ;
34193 if (!args
) SWIG_fail
;
34194 swig_obj
[0] = args
;
34195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34196 if (!SWIG_IsOK(res1
)) {
34197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34199 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34202 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34203 wxPyEndAllowThreads(__tstate
);
34204 if (PyErr_Occurred()) SWIG_fail
;
34206 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34213 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34214 PyObject
*resultobj
= 0;
34215 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34216 unsigned int arg2
;
34219 unsigned int val2
;
34221 PyObject
* obj0
= 0 ;
34222 PyObject
* obj1
= 0 ;
34223 char * kwnames
[] = {
34224 (char *) "self",(char *) "spacing", NULL
34227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34229 if (!SWIG_IsOK(res1
)) {
34230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34232 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34233 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34234 if (!SWIG_IsOK(ecode2
)) {
34235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34237 arg2
= static_cast< unsigned int >(val2
);
34239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34240 (arg1
)->SetSpacing(arg2
);
34241 wxPyEndAllowThreads(__tstate
);
34242 if (PyErr_Occurred()) SWIG_fail
;
34244 resultobj
= SWIG_Py_Void();
34251 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34252 PyObject
*resultobj
= 0;
34253 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34254 wxImageList
*result
= 0 ;
34257 PyObject
*swig_obj
[1] ;
34259 if (!args
) SWIG_fail
;
34260 swig_obj
[0] = args
;
34261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34262 if (!SWIG_IsOK(res1
)) {
34263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34265 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34268 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34269 wxPyEndAllowThreads(__tstate
);
34270 if (PyErr_Occurred()) SWIG_fail
;
34273 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34281 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34282 PyObject
*resultobj
= 0;
34283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34284 wxImageList
*result
= 0 ;
34287 PyObject
*swig_obj
[1] ;
34289 if (!args
) SWIG_fail
;
34290 swig_obj
[0] = args
;
34291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34292 if (!SWIG_IsOK(res1
)) {
34293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34295 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34298 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34299 wxPyEndAllowThreads(__tstate
);
34300 if (PyErr_Occurred()) SWIG_fail
;
34303 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34311 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34312 PyObject
*resultobj
= 0;
34313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34314 wxImageList
*arg2
= (wxImageList
*) 0 ;
34319 PyObject
* obj0
= 0 ;
34320 PyObject
* obj1
= 0 ;
34321 char * kwnames
[] = {
34322 (char *) "self",(char *) "imageList", NULL
34325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34327 if (!SWIG_IsOK(res1
)) {
34328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34330 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34331 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34332 if (!SWIG_IsOK(res2
)) {
34333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34335 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34338 (arg1
)->SetImageList(arg2
);
34339 wxPyEndAllowThreads(__tstate
);
34340 if (PyErr_Occurred()) SWIG_fail
;
34342 resultobj
= SWIG_Py_Void();
34349 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34350 PyObject
*resultobj
= 0;
34351 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34352 wxImageList
*arg2
= (wxImageList
*) 0 ;
34357 PyObject
* obj0
= 0 ;
34358 PyObject
* obj1
= 0 ;
34359 char * kwnames
[] = {
34360 (char *) "self",(char *) "imageList", NULL
34363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34365 if (!SWIG_IsOK(res1
)) {
34366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34368 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34370 if (!SWIG_IsOK(res2
)) {
34371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34373 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34376 (arg1
)->SetStateImageList(arg2
);
34377 wxPyEndAllowThreads(__tstate
);
34378 if (PyErr_Occurred()) SWIG_fail
;
34380 resultobj
= SWIG_Py_Void();
34387 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34388 PyObject
*resultobj
= 0;
34389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34390 wxImageList
*arg2
= (wxImageList
*) 0 ;
34394 PyObject
* obj0
= 0 ;
34395 PyObject
* obj1
= 0 ;
34396 char * kwnames
[] = {
34397 (char *) "self",(char *) "imageList", NULL
34400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34402 if (!SWIG_IsOK(res1
)) {
34403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34405 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34406 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34407 if (!SWIG_IsOK(res2
)) {
34408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34412 (arg1
)->AssignImageList(arg2
);
34413 wxPyEndAllowThreads(__tstate
);
34414 if (PyErr_Occurred()) SWIG_fail
;
34416 resultobj
= SWIG_Py_Void();
34423 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34424 PyObject
*resultobj
= 0;
34425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34426 wxImageList
*arg2
= (wxImageList
*) 0 ;
34430 PyObject
* obj0
= 0 ;
34431 PyObject
* obj1
= 0 ;
34432 char * kwnames
[] = {
34433 (char *) "self",(char *) "imageList", NULL
34436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34438 if (!SWIG_IsOK(res1
)) {
34439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34441 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34442 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34443 if (!SWIG_IsOK(res2
)) {
34444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34448 (arg1
)->AssignStateImageList(arg2
);
34449 wxPyEndAllowThreads(__tstate
);
34450 if (PyErr_Occurred()) SWIG_fail
;
34452 resultobj
= SWIG_Py_Void();
34459 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34460 PyObject
*resultobj
= 0;
34461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34462 wxTreeItemId
*arg2
= 0 ;
34468 PyObject
* obj0
= 0 ;
34469 PyObject
* obj1
= 0 ;
34470 char * kwnames
[] = {
34471 (char *) "self",(char *) "item", NULL
34474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34476 if (!SWIG_IsOK(res1
)) {
34477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34479 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34480 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34481 if (!SWIG_IsOK(res2
)) {
34482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34487 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34490 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34491 wxPyEndAllowThreads(__tstate
);
34492 if (PyErr_Occurred()) SWIG_fail
;
34496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34507 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34508 PyObject
*resultobj
= 0;
34509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34510 wxTreeItemId
*arg2
= 0 ;
34511 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34519 PyObject
* obj0
= 0 ;
34520 PyObject
* obj1
= 0 ;
34521 PyObject
* obj2
= 0 ;
34522 char * kwnames
[] = {
34523 (char *) "self",(char *) "item",(char *) "which", NULL
34526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34528 if (!SWIG_IsOK(res1
)) {
34529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34531 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34532 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34533 if (!SWIG_IsOK(res2
)) {
34534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34539 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34542 if (!SWIG_IsOK(ecode3
)) {
34543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34545 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34549 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34550 wxPyEndAllowThreads(__tstate
);
34551 if (PyErr_Occurred()) SWIG_fail
;
34553 resultobj
= SWIG_From_int(static_cast< int >(result
));
34560 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34561 PyObject
*resultobj
= 0;
34562 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34563 wxTreeItemId
*arg2
= 0 ;
34564 wxPyTreeItemData
*result
= 0 ;
34569 PyObject
* obj0
= 0 ;
34570 PyObject
* obj1
= 0 ;
34571 char * kwnames
[] = {
34572 (char *) "self",(char *) "item", NULL
34575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34577 if (!SWIG_IsOK(res1
)) {
34578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34580 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34582 if (!SWIG_IsOK(res2
)) {
34583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34588 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34591 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34592 wxPyEndAllowThreads(__tstate
);
34593 if (PyErr_Occurred()) SWIG_fail
;
34595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34602 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34603 PyObject
*resultobj
= 0;
34604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34605 wxTreeItemId
*arg2
= 0 ;
34606 PyObject
*result
= 0 ;
34611 PyObject
* obj0
= 0 ;
34612 PyObject
* obj1
= 0 ;
34613 char * kwnames
[] = {
34614 (char *) "self",(char *) "item", NULL
34617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34619 if (!SWIG_IsOK(res1
)) {
34620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34622 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34623 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34624 if (!SWIG_IsOK(res2
)) {
34625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34630 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34633 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34634 wxPyEndAllowThreads(__tstate
);
34635 if (PyErr_Occurred()) SWIG_fail
;
34637 resultobj
= result
;
34644 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34645 PyObject
*resultobj
= 0;
34646 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34647 wxTreeItemId
*arg2
= 0 ;
34653 PyObject
* obj0
= 0 ;
34654 PyObject
* obj1
= 0 ;
34655 char * kwnames
[] = {
34656 (char *) "self",(char *) "item", NULL
34659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34661 if (!SWIG_IsOK(res1
)) {
34662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34664 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34666 if (!SWIG_IsOK(res2
)) {
34667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34672 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34675 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34676 wxPyEndAllowThreads(__tstate
);
34677 if (PyErr_Occurred()) SWIG_fail
;
34679 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34686 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34687 PyObject
*resultobj
= 0;
34688 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34689 wxTreeItemId
*arg2
= 0 ;
34695 PyObject
* obj0
= 0 ;
34696 PyObject
* obj1
= 0 ;
34697 char * kwnames
[] = {
34698 (char *) "self",(char *) "item", NULL
34701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34703 if (!SWIG_IsOK(res1
)) {
34704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34706 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34708 if (!SWIG_IsOK(res2
)) {
34709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34714 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34717 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34718 wxPyEndAllowThreads(__tstate
);
34719 if (PyErr_Occurred()) SWIG_fail
;
34721 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34728 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34729 PyObject
*resultobj
= 0;
34730 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34731 wxTreeItemId
*arg2
= 0 ;
34737 PyObject
* obj0
= 0 ;
34738 PyObject
* obj1
= 0 ;
34739 char * kwnames
[] = {
34740 (char *) "self",(char *) "item", NULL
34743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34745 if (!SWIG_IsOK(res1
)) {
34746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34748 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34749 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34750 if (!SWIG_IsOK(res2
)) {
34751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34756 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34759 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34760 wxPyEndAllowThreads(__tstate
);
34761 if (PyErr_Occurred()) SWIG_fail
;
34763 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34770 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34771 PyObject
*resultobj
= 0;
34772 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34773 wxTreeItemId
*arg2
= 0 ;
34774 wxString
*arg3
= 0 ;
34779 bool temp3
= false ;
34780 PyObject
* obj0
= 0 ;
34781 PyObject
* obj1
= 0 ;
34782 PyObject
* obj2
= 0 ;
34783 char * kwnames
[] = {
34784 (char *) "self",(char *) "item",(char *) "text", NULL
34787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34789 if (!SWIG_IsOK(res1
)) {
34790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34792 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34794 if (!SWIG_IsOK(res2
)) {
34795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34800 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34802 arg3
= wxString_in_helper(obj2
);
34803 if (arg3
== NULL
) SWIG_fail
;
34807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34808 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34809 wxPyEndAllowThreads(__tstate
);
34810 if (PyErr_Occurred()) SWIG_fail
;
34812 resultobj
= SWIG_Py_Void();
34827 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34828 PyObject
*resultobj
= 0;
34829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34830 wxTreeItemId
*arg2
= 0 ;
34832 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34841 PyObject
* obj0
= 0 ;
34842 PyObject
* obj1
= 0 ;
34843 PyObject
* obj2
= 0 ;
34844 PyObject
* obj3
= 0 ;
34845 char * kwnames
[] = {
34846 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34851 if (!SWIG_IsOK(res1
)) {
34852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34854 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34856 if (!SWIG_IsOK(res2
)) {
34857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34862 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34864 if (!SWIG_IsOK(ecode3
)) {
34865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34867 arg3
= static_cast< int >(val3
);
34869 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34870 if (!SWIG_IsOK(ecode4
)) {
34871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34873 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34877 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34878 wxPyEndAllowThreads(__tstate
);
34879 if (PyErr_Occurred()) SWIG_fail
;
34881 resultobj
= SWIG_Py_Void();
34888 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34889 PyObject
*resultobj
= 0;
34890 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34891 wxTreeItemId
*arg2
= 0 ;
34892 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34898 PyObject
* obj0
= 0 ;
34899 PyObject
* obj1
= 0 ;
34900 PyObject
* obj2
= 0 ;
34901 char * kwnames
[] = {
34902 (char *) "self",(char *) "item",(char *) "data", NULL
34905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34907 if (!SWIG_IsOK(res1
)) {
34908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34910 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34911 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34912 if (!SWIG_IsOK(res2
)) {
34913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34918 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34919 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34920 if (!SWIG_IsOK(res3
)) {
34921 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34925 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34926 wxPyEndAllowThreads(__tstate
);
34927 if (PyErr_Occurred()) SWIG_fail
;
34929 resultobj
= SWIG_Py_Void();
34936 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34937 PyObject
*resultobj
= 0;
34938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34939 wxTreeItemId
*arg2
= 0 ;
34940 PyObject
*arg3
= (PyObject
*) 0 ;
34945 PyObject
* obj0
= 0 ;
34946 PyObject
* obj1
= 0 ;
34947 PyObject
* obj2
= 0 ;
34948 char * kwnames
[] = {
34949 (char *) "self",(char *) "item",(char *) "obj", NULL
34952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34954 if (!SWIG_IsOK(res1
)) {
34955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34957 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34958 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34959 if (!SWIG_IsOK(res2
)) {
34960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34965 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34969 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34970 wxPyEndAllowThreads(__tstate
);
34971 if (PyErr_Occurred()) SWIG_fail
;
34973 resultobj
= SWIG_Py_Void();
34980 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34981 PyObject
*resultobj
= 0;
34982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34983 wxTreeItemId
*arg2
= 0 ;
34984 bool arg3
= (bool) true ;
34991 PyObject
* obj0
= 0 ;
34992 PyObject
* obj1
= 0 ;
34993 PyObject
* obj2
= 0 ;
34994 char * kwnames
[] = {
34995 (char *) "self",(char *) "item",(char *) "has", NULL
34998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35000 if (!SWIG_IsOK(res1
)) {
35001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35003 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35005 if (!SWIG_IsOK(res2
)) {
35006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35011 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35013 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35014 if (!SWIG_IsOK(ecode3
)) {
35015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35017 arg3
= static_cast< bool >(val3
);
35020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35021 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35022 wxPyEndAllowThreads(__tstate
);
35023 if (PyErr_Occurred()) SWIG_fail
;
35025 resultobj
= SWIG_Py_Void();
35032 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35033 PyObject
*resultobj
= 0;
35034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35035 wxTreeItemId
*arg2
= 0 ;
35036 bool arg3
= (bool) true ;
35043 PyObject
* obj0
= 0 ;
35044 PyObject
* obj1
= 0 ;
35045 PyObject
* obj2
= 0 ;
35046 char * kwnames
[] = {
35047 (char *) "self",(char *) "item",(char *) "bold", NULL
35050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35052 if (!SWIG_IsOK(res1
)) {
35053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35055 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35057 if (!SWIG_IsOK(res2
)) {
35058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35063 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35065 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35066 if (!SWIG_IsOK(ecode3
)) {
35067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35069 arg3
= static_cast< bool >(val3
);
35072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35073 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35074 wxPyEndAllowThreads(__tstate
);
35075 if (PyErr_Occurred()) SWIG_fail
;
35077 resultobj
= SWIG_Py_Void();
35084 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35085 PyObject
*resultobj
= 0;
35086 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35087 wxTreeItemId
*arg2
= 0 ;
35088 bool arg3
= (bool) true ;
35095 PyObject
* obj0
= 0 ;
35096 PyObject
* obj1
= 0 ;
35097 PyObject
* obj2
= 0 ;
35098 char * kwnames
[] = {
35099 (char *) "self",(char *) "item",(char *) "highlight", NULL
35102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35104 if (!SWIG_IsOK(res1
)) {
35105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35107 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35108 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35109 if (!SWIG_IsOK(res2
)) {
35110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35115 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35117 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35118 if (!SWIG_IsOK(ecode3
)) {
35119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35121 arg3
= static_cast< bool >(val3
);
35124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35125 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35126 wxPyEndAllowThreads(__tstate
);
35127 if (PyErr_Occurred()) SWIG_fail
;
35129 resultobj
= SWIG_Py_Void();
35136 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35137 PyObject
*resultobj
= 0;
35138 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35139 wxTreeItemId
*arg2
= 0 ;
35140 wxColour
*arg3
= 0 ;
35146 PyObject
* obj0
= 0 ;
35147 PyObject
* obj1
= 0 ;
35148 PyObject
* obj2
= 0 ;
35149 char * kwnames
[] = {
35150 (char *) "self",(char *) "item",(char *) "col", NULL
35153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35155 if (!SWIG_IsOK(res1
)) {
35156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35158 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35159 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35160 if (!SWIG_IsOK(res2
)) {
35161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35166 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35169 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35173 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35174 wxPyEndAllowThreads(__tstate
);
35175 if (PyErr_Occurred()) SWIG_fail
;
35177 resultobj
= SWIG_Py_Void();
35184 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35185 PyObject
*resultobj
= 0;
35186 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35187 wxTreeItemId
*arg2
= 0 ;
35188 wxColour
*arg3
= 0 ;
35194 PyObject
* obj0
= 0 ;
35195 PyObject
* obj1
= 0 ;
35196 PyObject
* obj2
= 0 ;
35197 char * kwnames
[] = {
35198 (char *) "self",(char *) "item",(char *) "col", NULL
35201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35203 if (!SWIG_IsOK(res1
)) {
35204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35206 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35207 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35208 if (!SWIG_IsOK(res2
)) {
35209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35214 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35217 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35221 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35222 wxPyEndAllowThreads(__tstate
);
35223 if (PyErr_Occurred()) SWIG_fail
;
35225 resultobj
= SWIG_Py_Void();
35232 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35233 PyObject
*resultobj
= 0;
35234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35235 wxTreeItemId
*arg2
= 0 ;
35243 PyObject
* obj0
= 0 ;
35244 PyObject
* obj1
= 0 ;
35245 PyObject
* obj2
= 0 ;
35246 char * kwnames
[] = {
35247 (char *) "self",(char *) "item",(char *) "font", NULL
35250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35252 if (!SWIG_IsOK(res1
)) {
35253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35255 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35257 if (!SWIG_IsOK(res2
)) {
35258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35263 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35264 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35265 if (!SWIG_IsOK(res3
)) {
35266 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35271 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35274 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35275 wxPyEndAllowThreads(__tstate
);
35276 if (PyErr_Occurred()) SWIG_fail
;
35278 resultobj
= SWIG_Py_Void();
35285 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35286 PyObject
*resultobj
= 0;
35287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35288 wxTreeItemId
*arg2
= 0 ;
35294 PyObject
* obj0
= 0 ;
35295 PyObject
* obj1
= 0 ;
35296 char * kwnames
[] = {
35297 (char *) "self",(char *) "item", NULL
35300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35302 if (!SWIG_IsOK(res1
)) {
35303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35305 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35307 if (!SWIG_IsOK(res2
)) {
35308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35313 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35316 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35317 wxPyEndAllowThreads(__tstate
);
35318 if (PyErr_Occurred()) SWIG_fail
;
35321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35329 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35330 PyObject
*resultobj
= 0;
35331 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35332 wxTreeItemId
*arg2
= 0 ;
35338 PyObject
* obj0
= 0 ;
35339 PyObject
* obj1
= 0 ;
35340 char * kwnames
[] = {
35341 (char *) "self",(char *) "item", NULL
35344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35346 if (!SWIG_IsOK(res1
)) {
35347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35349 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35350 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35351 if (!SWIG_IsOK(res2
)) {
35352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35357 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35360 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35361 wxPyEndAllowThreads(__tstate
);
35362 if (PyErr_Occurred()) SWIG_fail
;
35365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35373 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35374 PyObject
*resultobj
= 0;
35375 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35376 wxTreeItemId
*arg2
= 0 ;
35382 PyObject
* obj0
= 0 ;
35383 PyObject
* obj1
= 0 ;
35384 char * kwnames
[] = {
35385 (char *) "self",(char *) "item", NULL
35388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35390 if (!SWIG_IsOK(res1
)) {
35391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35393 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35395 if (!SWIG_IsOK(res2
)) {
35396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35401 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35404 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35405 wxPyEndAllowThreads(__tstate
);
35406 if (PyErr_Occurred()) SWIG_fail
;
35409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35417 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35418 PyObject
*resultobj
= 0;
35419 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35420 wxTreeItemId
*arg2
= 0 ;
35426 PyObject
* obj0
= 0 ;
35427 PyObject
* obj1
= 0 ;
35428 char * kwnames
[] = {
35429 (char *) "self",(char *) "item", NULL
35432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35434 if (!SWIG_IsOK(res1
)) {
35435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35437 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35438 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35439 if (!SWIG_IsOK(res2
)) {
35440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35445 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35448 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35449 wxPyEndAllowThreads(__tstate
);
35450 if (PyErr_Occurred()) SWIG_fail
;
35453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35461 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35462 PyObject
*resultobj
= 0;
35463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35464 wxTreeItemId
*arg2
= 0 ;
35470 PyObject
* obj0
= 0 ;
35471 PyObject
* obj1
= 0 ;
35472 char * kwnames
[] = {
35473 (char *) "self",(char *) "item", NULL
35476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35478 if (!SWIG_IsOK(res1
)) {
35479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35481 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35482 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35483 if (!SWIG_IsOK(res2
)) {
35484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35489 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35492 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35493 wxPyEndAllowThreads(__tstate
);
35494 if (PyErr_Occurred()) SWIG_fail
;
35497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35505 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35506 PyObject
*resultobj
= 0;
35507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35508 wxTreeItemId
*arg2
= 0 ;
35509 bool arg3
= (bool) true ;
35517 PyObject
* obj0
= 0 ;
35518 PyObject
* obj1
= 0 ;
35519 PyObject
* obj2
= 0 ;
35520 char * kwnames
[] = {
35521 (char *) "self",(char *) "item",(char *) "recursively", NULL
35524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35526 if (!SWIG_IsOK(res1
)) {
35527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35529 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35531 if (!SWIG_IsOK(res2
)) {
35532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35537 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35539 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35540 if (!SWIG_IsOK(ecode3
)) {
35541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35543 arg3
= static_cast< bool >(val3
);
35546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35547 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35548 wxPyEndAllowThreads(__tstate
);
35549 if (PyErr_Occurred()) SWIG_fail
;
35551 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35558 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35559 PyObject
*resultobj
= 0;
35560 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35561 wxTreeItemId result
;
35564 PyObject
*swig_obj
[1] ;
35566 if (!args
) SWIG_fail
;
35567 swig_obj
[0] = args
;
35568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35569 if (!SWIG_IsOK(res1
)) {
35570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35572 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35575 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35576 wxPyEndAllowThreads(__tstate
);
35577 if (PyErr_Occurred()) SWIG_fail
;
35579 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35586 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35587 PyObject
*resultobj
= 0;
35588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35589 wxTreeItemId result
;
35592 PyObject
*swig_obj
[1] ;
35594 if (!args
) SWIG_fail
;
35595 swig_obj
[0] = args
;
35596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35597 if (!SWIG_IsOK(res1
)) {
35598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35600 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35603 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35604 wxPyEndAllowThreads(__tstate
);
35605 if (PyErr_Occurred()) SWIG_fail
;
35607 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35614 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35615 PyObject
*resultobj
= 0;
35616 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35617 PyObject
*result
= 0 ;
35620 PyObject
*swig_obj
[1] ;
35622 if (!args
) SWIG_fail
;
35623 swig_obj
[0] = args
;
35624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35625 if (!SWIG_IsOK(res1
)) {
35626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35628 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35631 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35632 wxPyEndAllowThreads(__tstate
);
35633 if (PyErr_Occurred()) SWIG_fail
;
35635 resultobj
= result
;
35642 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35643 PyObject
*resultobj
= 0;
35644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35645 wxTreeItemId
*arg2
= 0 ;
35646 wxTreeItemId result
;
35651 PyObject
* obj0
= 0 ;
35652 PyObject
* obj1
= 0 ;
35653 char * kwnames
[] = {
35654 (char *) "self",(char *) "item", NULL
35657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35659 if (!SWIG_IsOK(res1
)) {
35660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35662 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35663 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35664 if (!SWIG_IsOK(res2
)) {
35665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35670 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35673 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35674 wxPyEndAllowThreads(__tstate
);
35675 if (PyErr_Occurred()) SWIG_fail
;
35677 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35684 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35685 PyObject
*resultobj
= 0;
35686 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35687 wxTreeItemId
*arg2
= 0 ;
35688 PyObject
*result
= 0 ;
35693 PyObject
* obj0
= 0 ;
35694 PyObject
* obj1
= 0 ;
35695 char * kwnames
[] = {
35696 (char *) "self",(char *) "item", NULL
35699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35701 if (!SWIG_IsOK(res1
)) {
35702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35704 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35706 if (!SWIG_IsOK(res2
)) {
35707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35712 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35715 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35716 wxPyEndAllowThreads(__tstate
);
35717 if (PyErr_Occurred()) SWIG_fail
;
35719 resultobj
= result
;
35726 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35727 PyObject
*resultobj
= 0;
35728 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35729 wxTreeItemId
*arg2
= 0 ;
35730 void *arg3
= (void *) 0 ;
35731 PyObject
*result
= 0 ;
35737 PyObject
* obj0
= 0 ;
35738 PyObject
* obj1
= 0 ;
35739 PyObject
* obj2
= 0 ;
35740 char * kwnames
[] = {
35741 (char *) "self",(char *) "item",(char *) "cookie", NULL
35744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35746 if (!SWIG_IsOK(res1
)) {
35747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35749 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35750 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35751 if (!SWIG_IsOK(res2
)) {
35752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35757 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35758 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35759 if (!SWIG_IsOK(res3
)) {
35760 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35764 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35765 wxPyEndAllowThreads(__tstate
);
35766 if (PyErr_Occurred()) SWIG_fail
;
35768 resultobj
= result
;
35775 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35776 PyObject
*resultobj
= 0;
35777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35778 wxTreeItemId
*arg2
= 0 ;
35779 wxTreeItemId result
;
35784 PyObject
* obj0
= 0 ;
35785 PyObject
* obj1
= 0 ;
35786 char * kwnames
[] = {
35787 (char *) "self",(char *) "item", NULL
35790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35792 if (!SWIG_IsOK(res1
)) {
35793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35795 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35797 if (!SWIG_IsOK(res2
)) {
35798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35803 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35806 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35807 wxPyEndAllowThreads(__tstate
);
35808 if (PyErr_Occurred()) SWIG_fail
;
35810 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35817 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35818 PyObject
*resultobj
= 0;
35819 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35820 wxTreeItemId
*arg2
= 0 ;
35821 wxTreeItemId result
;
35826 PyObject
* obj0
= 0 ;
35827 PyObject
* obj1
= 0 ;
35828 char * kwnames
[] = {
35829 (char *) "self",(char *) "item", NULL
35832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35834 if (!SWIG_IsOK(res1
)) {
35835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35837 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35838 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35839 if (!SWIG_IsOK(res2
)) {
35840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35845 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35848 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35849 wxPyEndAllowThreads(__tstate
);
35850 if (PyErr_Occurred()) SWIG_fail
;
35852 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35859 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35860 PyObject
*resultobj
= 0;
35861 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35862 wxTreeItemId
*arg2
= 0 ;
35863 wxTreeItemId result
;
35868 PyObject
* obj0
= 0 ;
35869 PyObject
* obj1
= 0 ;
35870 char * kwnames
[] = {
35871 (char *) "self",(char *) "item", NULL
35874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35876 if (!SWIG_IsOK(res1
)) {
35877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35879 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35881 if (!SWIG_IsOK(res2
)) {
35882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35887 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35890 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35891 wxPyEndAllowThreads(__tstate
);
35892 if (PyErr_Occurred()) SWIG_fail
;
35894 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35901 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35902 PyObject
*resultobj
= 0;
35903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35904 wxTreeItemId result
;
35907 PyObject
*swig_obj
[1] ;
35909 if (!args
) SWIG_fail
;
35910 swig_obj
[0] = args
;
35911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35912 if (!SWIG_IsOK(res1
)) {
35913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35915 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35918 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35919 wxPyEndAllowThreads(__tstate
);
35920 if (PyErr_Occurred()) SWIG_fail
;
35922 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35929 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35930 PyObject
*resultobj
= 0;
35931 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35932 wxTreeItemId
*arg2
= 0 ;
35933 wxTreeItemId result
;
35938 PyObject
* obj0
= 0 ;
35939 PyObject
* obj1
= 0 ;
35940 char * kwnames
[] = {
35941 (char *) "self",(char *) "item", NULL
35944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35946 if (!SWIG_IsOK(res1
)) {
35947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35949 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35951 if (!SWIG_IsOK(res2
)) {
35952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35957 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35960 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35961 wxPyEndAllowThreads(__tstate
);
35962 if (PyErr_Occurred()) SWIG_fail
;
35964 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35971 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35972 PyObject
*resultobj
= 0;
35973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35974 wxTreeItemId
*arg2
= 0 ;
35975 wxTreeItemId result
;
35980 PyObject
* obj0
= 0 ;
35981 PyObject
* obj1
= 0 ;
35982 char * kwnames
[] = {
35983 (char *) "self",(char *) "item", NULL
35986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35988 if (!SWIG_IsOK(res1
)) {
35989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35991 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35992 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35993 if (!SWIG_IsOK(res2
)) {
35994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35999 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36002 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36003 wxPyEndAllowThreads(__tstate
);
36004 if (PyErr_Occurred()) SWIG_fail
;
36006 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36013 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36014 PyObject
*resultobj
= 0;
36015 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36016 wxString
*arg2
= 0 ;
36017 int arg3
= (int) -1 ;
36018 int arg4
= (int) -1 ;
36019 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36020 wxTreeItemId result
;
36023 bool temp2
= false ;
36029 PyObject
* obj0
= 0 ;
36030 PyObject
* obj1
= 0 ;
36031 PyObject
* obj2
= 0 ;
36032 PyObject
* obj3
= 0 ;
36033 PyObject
* obj4
= 0 ;
36034 char * kwnames
[] = {
36035 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36040 if (!SWIG_IsOK(res1
)) {
36041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36043 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36045 arg2
= wxString_in_helper(obj1
);
36046 if (arg2
== NULL
) SWIG_fail
;
36050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36051 if (!SWIG_IsOK(ecode3
)) {
36052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36054 arg3
= static_cast< int >(val3
);
36057 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36058 if (!SWIG_IsOK(ecode4
)) {
36059 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36061 arg4
= static_cast< int >(val4
);
36064 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36065 if (!SWIG_IsOK(res5
)) {
36066 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36071 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36072 wxPyEndAllowThreads(__tstate
);
36073 if (PyErr_Occurred()) SWIG_fail
;
36075 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36090 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36091 PyObject
*resultobj
= 0;
36092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36093 wxTreeItemId
*arg2
= 0 ;
36094 wxString
*arg3
= 0 ;
36095 int arg4
= (int) -1 ;
36096 int arg5
= (int) -1 ;
36097 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36098 wxTreeItemId result
;
36103 bool temp3
= false ;
36109 PyObject
* obj0
= 0 ;
36110 PyObject
* obj1
= 0 ;
36111 PyObject
* obj2
= 0 ;
36112 PyObject
* obj3
= 0 ;
36113 PyObject
* obj4
= 0 ;
36114 PyObject
* obj5
= 0 ;
36115 char * kwnames
[] = {
36116 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36121 if (!SWIG_IsOK(res1
)) {
36122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36124 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36125 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36126 if (!SWIG_IsOK(res2
)) {
36127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36132 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36134 arg3
= wxString_in_helper(obj2
);
36135 if (arg3
== NULL
) SWIG_fail
;
36139 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36140 if (!SWIG_IsOK(ecode4
)) {
36141 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36143 arg4
= static_cast< int >(val4
);
36146 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36147 if (!SWIG_IsOK(ecode5
)) {
36148 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36150 arg5
= static_cast< int >(val5
);
36153 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36154 if (!SWIG_IsOK(res6
)) {
36155 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36160 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36161 wxPyEndAllowThreads(__tstate
);
36162 if (PyErr_Occurred()) SWIG_fail
;
36164 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36179 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36180 PyObject
*resultobj
= 0;
36181 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36182 wxTreeItemId
*arg2
= 0 ;
36183 wxTreeItemId
*arg3
= 0 ;
36184 wxString
*arg4
= 0 ;
36185 int arg5
= (int) -1 ;
36186 int arg6
= (int) -1 ;
36187 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36188 wxTreeItemId result
;
36195 bool temp4
= false ;
36201 PyObject
* obj0
= 0 ;
36202 PyObject
* obj1
= 0 ;
36203 PyObject
* obj2
= 0 ;
36204 PyObject
* obj3
= 0 ;
36205 PyObject
* obj4
= 0 ;
36206 PyObject
* obj5
= 0 ;
36207 PyObject
* obj6
= 0 ;
36208 char * kwnames
[] = {
36209 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36214 if (!SWIG_IsOK(res1
)) {
36215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36217 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36219 if (!SWIG_IsOK(res2
)) {
36220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36225 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36226 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36227 if (!SWIG_IsOK(res3
)) {
36228 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36233 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36235 arg4
= wxString_in_helper(obj3
);
36236 if (arg4
== NULL
) SWIG_fail
;
36240 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36241 if (!SWIG_IsOK(ecode5
)) {
36242 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36244 arg5
= static_cast< int >(val5
);
36247 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36248 if (!SWIG_IsOK(ecode6
)) {
36249 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36251 arg6
= static_cast< int >(val6
);
36254 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36255 if (!SWIG_IsOK(res7
)) {
36256 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36261 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36262 wxPyEndAllowThreads(__tstate
);
36263 if (PyErr_Occurred()) SWIG_fail
;
36265 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36280 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36281 PyObject
*resultobj
= 0;
36282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36283 wxTreeItemId
*arg2
= 0 ;
36285 wxString
*arg4
= 0 ;
36286 int arg5
= (int) -1 ;
36287 int arg6
= (int) -1 ;
36288 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36289 wxTreeItemId result
;
36296 bool temp4
= false ;
36302 PyObject
* obj0
= 0 ;
36303 PyObject
* obj1
= 0 ;
36304 PyObject
* obj2
= 0 ;
36305 PyObject
* obj3
= 0 ;
36306 PyObject
* obj4
= 0 ;
36307 PyObject
* obj5
= 0 ;
36308 PyObject
* obj6
= 0 ;
36309 char * kwnames
[] = {
36310 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36315 if (!SWIG_IsOK(res1
)) {
36316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36318 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36320 if (!SWIG_IsOK(res2
)) {
36321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36326 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36327 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36328 if (!SWIG_IsOK(ecode3
)) {
36329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36331 arg3
= static_cast< size_t >(val3
);
36333 arg4
= wxString_in_helper(obj3
);
36334 if (arg4
== NULL
) SWIG_fail
;
36338 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36339 if (!SWIG_IsOK(ecode5
)) {
36340 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36342 arg5
= static_cast< int >(val5
);
36345 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36346 if (!SWIG_IsOK(ecode6
)) {
36347 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36349 arg6
= static_cast< int >(val6
);
36352 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36353 if (!SWIG_IsOK(res7
)) {
36354 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36359 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36360 wxPyEndAllowThreads(__tstate
);
36361 if (PyErr_Occurred()) SWIG_fail
;
36363 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36378 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36379 PyObject
*resultobj
= 0;
36380 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36381 wxTreeItemId
*arg2
= 0 ;
36382 wxString
*arg3
= 0 ;
36383 int arg4
= (int) -1 ;
36384 int arg5
= (int) -1 ;
36385 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36386 wxTreeItemId result
;
36391 bool temp3
= false ;
36397 PyObject
* obj0
= 0 ;
36398 PyObject
* obj1
= 0 ;
36399 PyObject
* obj2
= 0 ;
36400 PyObject
* obj3
= 0 ;
36401 PyObject
* obj4
= 0 ;
36402 PyObject
* obj5
= 0 ;
36403 char * kwnames
[] = {
36404 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36409 if (!SWIG_IsOK(res1
)) {
36410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36412 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36414 if (!SWIG_IsOK(res2
)) {
36415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36420 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36422 arg3
= wxString_in_helper(obj2
);
36423 if (arg3
== NULL
) SWIG_fail
;
36427 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36428 if (!SWIG_IsOK(ecode4
)) {
36429 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36431 arg4
= static_cast< int >(val4
);
36434 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36435 if (!SWIG_IsOK(ecode5
)) {
36436 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36438 arg5
= static_cast< int >(val5
);
36441 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36442 if (!SWIG_IsOK(res6
)) {
36443 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36448 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36449 wxPyEndAllowThreads(__tstate
);
36450 if (PyErr_Occurred()) SWIG_fail
;
36452 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36467 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36468 PyObject
*resultobj
= 0;
36469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36470 wxTreeItemId
*arg2
= 0 ;
36475 PyObject
* obj0
= 0 ;
36476 PyObject
* obj1
= 0 ;
36477 char * kwnames
[] = {
36478 (char *) "self",(char *) "item", NULL
36481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36483 if (!SWIG_IsOK(res1
)) {
36484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36486 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36487 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36488 if (!SWIG_IsOK(res2
)) {
36489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36494 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36497 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36498 wxPyEndAllowThreads(__tstate
);
36499 if (PyErr_Occurred()) SWIG_fail
;
36501 resultobj
= SWIG_Py_Void();
36508 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36509 PyObject
*resultobj
= 0;
36510 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36511 wxTreeItemId
*arg2
= 0 ;
36516 PyObject
* obj0
= 0 ;
36517 PyObject
* obj1
= 0 ;
36518 char * kwnames
[] = {
36519 (char *) "self",(char *) "item", NULL
36522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36524 if (!SWIG_IsOK(res1
)) {
36525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36527 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36528 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36529 if (!SWIG_IsOK(res2
)) {
36530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36535 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36538 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36539 wxPyEndAllowThreads(__tstate
);
36540 if (PyErr_Occurred()) SWIG_fail
;
36542 resultobj
= SWIG_Py_Void();
36549 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36550 PyObject
*resultobj
= 0;
36551 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36554 PyObject
*swig_obj
[1] ;
36556 if (!args
) SWIG_fail
;
36557 swig_obj
[0] = args
;
36558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36559 if (!SWIG_IsOK(res1
)) {
36560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36562 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36565 (arg1
)->DeleteAllItems();
36566 wxPyEndAllowThreads(__tstate
);
36567 if (PyErr_Occurred()) SWIG_fail
;
36569 resultobj
= SWIG_Py_Void();
36576 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36577 PyObject
*resultobj
= 0;
36578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36579 wxTreeItemId
*arg2
= 0 ;
36584 PyObject
* obj0
= 0 ;
36585 PyObject
* obj1
= 0 ;
36586 char * kwnames
[] = {
36587 (char *) "self",(char *) "item", NULL
36590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36592 if (!SWIG_IsOK(res1
)) {
36593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36595 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36597 if (!SWIG_IsOK(res2
)) {
36598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36603 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36606 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36607 wxPyEndAllowThreads(__tstate
);
36608 if (PyErr_Occurred()) SWIG_fail
;
36610 resultobj
= SWIG_Py_Void();
36617 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36618 PyObject
*resultobj
= 0;
36619 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36620 wxTreeItemId
*arg2
= 0 ;
36625 PyObject
* obj0
= 0 ;
36626 PyObject
* obj1
= 0 ;
36627 char * kwnames
[] = {
36628 (char *) "self",(char *) "item", NULL
36631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36633 if (!SWIG_IsOK(res1
)) {
36634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36636 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36637 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36638 if (!SWIG_IsOK(res2
)) {
36639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36644 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36647 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36648 wxPyEndAllowThreads(__tstate
);
36649 if (PyErr_Occurred()) SWIG_fail
;
36651 resultobj
= SWIG_Py_Void();
36658 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36659 PyObject
*resultobj
= 0;
36660 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36663 PyObject
*swig_obj
[1] ;
36665 if (!args
) SWIG_fail
;
36666 swig_obj
[0] = args
;
36667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36668 if (!SWIG_IsOK(res1
)) {
36669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36671 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36674 (arg1
)->ExpandAll();
36675 wxPyEndAllowThreads(__tstate
);
36676 if (PyErr_Occurred()) SWIG_fail
;
36678 resultobj
= SWIG_Py_Void();
36685 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36686 PyObject
*resultobj
= 0;
36687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36688 wxTreeItemId
*arg2
= 0 ;
36693 PyObject
* obj0
= 0 ;
36694 PyObject
* obj1
= 0 ;
36695 char * kwnames
[] = {
36696 (char *) "self",(char *) "item", NULL
36699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36701 if (!SWIG_IsOK(res1
)) {
36702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36704 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36706 if (!SWIG_IsOK(res2
)) {
36707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36712 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36715 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36716 wxPyEndAllowThreads(__tstate
);
36717 if (PyErr_Occurred()) SWIG_fail
;
36719 resultobj
= SWIG_Py_Void();
36726 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36727 PyObject
*resultobj
= 0;
36728 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36729 wxTreeItemId
*arg2
= 0 ;
36734 PyObject
* obj0
= 0 ;
36735 PyObject
* obj1
= 0 ;
36736 char * kwnames
[] = {
36737 (char *) "self",(char *) "item", NULL
36740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36742 if (!SWIG_IsOK(res1
)) {
36743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36745 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36746 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36747 if (!SWIG_IsOK(res2
)) {
36748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36753 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36756 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36757 wxPyEndAllowThreads(__tstate
);
36758 if (PyErr_Occurred()) SWIG_fail
;
36760 resultobj
= SWIG_Py_Void();
36767 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36768 PyObject
*resultobj
= 0;
36769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36770 wxTreeItemId
*arg2
= 0 ;
36775 PyObject
* obj0
= 0 ;
36776 PyObject
* obj1
= 0 ;
36777 char * kwnames
[] = {
36778 (char *) "self",(char *) "item", NULL
36781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36783 if (!SWIG_IsOK(res1
)) {
36784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36786 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36787 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36788 if (!SWIG_IsOK(res2
)) {
36789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36794 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36797 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36798 wxPyEndAllowThreads(__tstate
);
36799 if (PyErr_Occurred()) SWIG_fail
;
36801 resultobj
= SWIG_Py_Void();
36808 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36809 PyObject
*resultobj
= 0;
36810 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36813 PyObject
*swig_obj
[1] ;
36815 if (!args
) SWIG_fail
;
36816 swig_obj
[0] = args
;
36817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36818 if (!SWIG_IsOK(res1
)) {
36819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36821 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36824 (arg1
)->Unselect();
36825 wxPyEndAllowThreads(__tstate
);
36826 if (PyErr_Occurred()) SWIG_fail
;
36828 resultobj
= SWIG_Py_Void();
36835 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36836 PyObject
*resultobj
= 0;
36837 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36838 wxTreeItemId
*arg2
= 0 ;
36843 PyObject
* obj0
= 0 ;
36844 PyObject
* obj1
= 0 ;
36845 char * kwnames
[] = {
36846 (char *) "self",(char *) "item", NULL
36849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36851 if (!SWIG_IsOK(res1
)) {
36852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36854 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36856 if (!SWIG_IsOK(res2
)) {
36857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36862 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36865 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36866 wxPyEndAllowThreads(__tstate
);
36867 if (PyErr_Occurred()) SWIG_fail
;
36869 resultobj
= SWIG_Py_Void();
36876 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36877 PyObject
*resultobj
= 0;
36878 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36881 PyObject
*swig_obj
[1] ;
36883 if (!args
) SWIG_fail
;
36884 swig_obj
[0] = args
;
36885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36886 if (!SWIG_IsOK(res1
)) {
36887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36889 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36892 (arg1
)->UnselectAll();
36893 wxPyEndAllowThreads(__tstate
);
36894 if (PyErr_Occurred()) SWIG_fail
;
36896 resultobj
= SWIG_Py_Void();
36903 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36904 PyObject
*resultobj
= 0;
36905 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36906 wxTreeItemId
*arg2
= 0 ;
36907 bool arg3
= (bool) true ;
36914 PyObject
* obj0
= 0 ;
36915 PyObject
* obj1
= 0 ;
36916 PyObject
* obj2
= 0 ;
36917 char * kwnames
[] = {
36918 (char *) "self",(char *) "item",(char *) "select", NULL
36921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36923 if (!SWIG_IsOK(res1
)) {
36924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36926 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36928 if (!SWIG_IsOK(res2
)) {
36929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36934 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36936 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36937 if (!SWIG_IsOK(ecode3
)) {
36938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36940 arg3
= static_cast< bool >(val3
);
36943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36944 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36945 wxPyEndAllowThreads(__tstate
);
36946 if (PyErr_Occurred()) SWIG_fail
;
36948 resultobj
= SWIG_Py_Void();
36955 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36956 PyObject
*resultobj
= 0;
36957 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36958 wxTreeItemId
*arg2
= 0 ;
36963 PyObject
* obj0
= 0 ;
36964 PyObject
* obj1
= 0 ;
36965 char * kwnames
[] = {
36966 (char *) "self",(char *) "item", NULL
36969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36971 if (!SWIG_IsOK(res1
)) {
36972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36974 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36976 if (!SWIG_IsOK(res2
)) {
36977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36982 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36985 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36986 wxPyEndAllowThreads(__tstate
);
36987 if (PyErr_Occurred()) SWIG_fail
;
36989 resultobj
= SWIG_Py_Void();
36996 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36997 PyObject
*resultobj
= 0;
36998 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36999 wxTreeItemId
*arg2
= 0 ;
37004 PyObject
* obj0
= 0 ;
37005 PyObject
* obj1
= 0 ;
37006 char * kwnames
[] = {
37007 (char *) "self",(char *) "item", NULL
37010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37012 if (!SWIG_IsOK(res1
)) {
37013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37015 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37017 if (!SWIG_IsOK(res2
)) {
37018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37023 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37026 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37027 wxPyEndAllowThreads(__tstate
);
37028 if (PyErr_Occurred()) SWIG_fail
;
37030 resultobj
= SWIG_Py_Void();
37037 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37038 PyObject
*resultobj
= 0;
37039 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37040 wxTreeItemId
*arg2
= 0 ;
37045 PyObject
* obj0
= 0 ;
37046 PyObject
* obj1
= 0 ;
37047 char * kwnames
[] = {
37048 (char *) "self",(char *) "item", NULL
37051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37053 if (!SWIG_IsOK(res1
)) {
37054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37056 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37057 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37058 if (!SWIG_IsOK(res2
)) {
37059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37064 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37067 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37068 wxPyEndAllowThreads(__tstate
);
37069 if (PyErr_Occurred()) SWIG_fail
;
37071 resultobj
= SWIG_Py_Void();
37078 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37079 PyObject
*resultobj
= 0;
37080 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37081 wxTreeItemId
*arg2
= 0 ;
37086 PyObject
* obj0
= 0 ;
37087 PyObject
* obj1
= 0 ;
37088 char * kwnames
[] = {
37089 (char *) "self",(char *) "item", NULL
37092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37094 if (!SWIG_IsOK(res1
)) {
37095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37097 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37098 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37099 if (!SWIG_IsOK(res2
)) {
37100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37105 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37108 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37109 wxPyEndAllowThreads(__tstate
);
37110 if (PyErr_Occurred()) SWIG_fail
;
37112 resultobj
= SWIG_Py_Void();
37119 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37120 PyObject
*resultobj
= 0;
37121 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37122 wxTextCtrl
*result
= 0 ;
37125 PyObject
*swig_obj
[1] ;
37127 if (!args
) SWIG_fail
;
37128 swig_obj
[0] = args
;
37129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37130 if (!SWIG_IsOK(res1
)) {
37131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37133 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37136 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37137 wxPyEndAllowThreads(__tstate
);
37138 if (PyErr_Occurred()) SWIG_fail
;
37141 resultobj
= wxPyMake_wxObject(result
, 0);
37149 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37150 PyObject
*resultobj
= 0;
37151 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37152 wxTreeItemId
*arg2
= 0 ;
37157 PyObject
* obj0
= 0 ;
37158 PyObject
* obj1
= 0 ;
37159 char * kwnames
[] = {
37160 (char *) "self",(char *) "item", NULL
37163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37165 if (!SWIG_IsOK(res1
)) {
37166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37168 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37170 if (!SWIG_IsOK(res2
)) {
37171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37176 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37179 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37180 wxPyEndAllowThreads(__tstate
);
37181 if (PyErr_Occurred()) SWIG_fail
;
37183 resultobj
= SWIG_Py_Void();
37190 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37191 PyObject
*resultobj
= 0;
37192 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37193 wxPoint
*arg2
= 0 ;
37195 wxTreeItemId result
;
37200 int res3
= SWIG_TMPOBJ
;
37201 PyObject
* obj0
= 0 ;
37202 PyObject
* obj1
= 0 ;
37203 char * kwnames
[] = {
37204 (char *) "self",(char *) "point", NULL
37208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37210 if (!SWIG_IsOK(res1
)) {
37211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37213 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37216 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37220 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37221 wxPyEndAllowThreads(__tstate
);
37222 if (PyErr_Occurred()) SWIG_fail
;
37224 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37225 if (SWIG_IsTmpObj(res3
)) {
37226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37228 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37237 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37238 PyObject
*resultobj
= 0;
37239 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37240 wxTreeItemId
*arg2
= 0 ;
37241 bool arg3
= (bool) false ;
37242 PyObject
*result
= 0 ;
37249 PyObject
* obj0
= 0 ;
37250 PyObject
* obj1
= 0 ;
37251 PyObject
* obj2
= 0 ;
37252 char * kwnames
[] = {
37253 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37258 if (!SWIG_IsOK(res1
)) {
37259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37261 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37262 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37263 if (!SWIG_IsOK(res2
)) {
37264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37269 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37271 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37272 if (!SWIG_IsOK(ecode3
)) {
37273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37275 arg3
= static_cast< bool >(val3
);
37278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37279 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37280 wxPyEndAllowThreads(__tstate
);
37281 if (PyErr_Occurred()) SWIG_fail
;
37283 resultobj
= result
;
37290 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37291 PyObject
*resultobj
= 0;
37292 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37293 SwigValueWrapper
<wxVisualAttributes
> result
;
37296 PyObject
* obj0
= 0 ;
37297 char * kwnames
[] = {
37298 (char *) "variant", NULL
37301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37303 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37304 if (!SWIG_IsOK(ecode1
)) {
37305 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37307 arg1
= static_cast< wxWindowVariant
>(val1
);
37310 if (!wxPyCheckForApp()) SWIG_fail
;
37311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37312 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37313 wxPyEndAllowThreads(__tstate
);
37314 if (PyErr_Occurred()) SWIG_fail
;
37316 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37323 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37324 PyObject
*resultobj
= 0;
37325 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37331 PyObject
* obj0
= 0 ;
37332 PyObject
* obj1
= 0 ;
37333 char * kwnames
[] = {
37334 (char *) "self",(char *) "q", NULL
37337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37339 if (!SWIG_IsOK(res1
)) {
37340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37342 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37343 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37344 if (!SWIG_IsOK(ecode2
)) {
37345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37347 arg2
= static_cast< bool >(val2
);
37349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37350 (arg1
)->SetQuickBestSize(arg2
);
37351 wxPyEndAllowThreads(__tstate
);
37352 if (PyErr_Occurred()) SWIG_fail
;
37354 resultobj
= SWIG_Py_Void();
37361 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37362 PyObject
*resultobj
= 0;
37363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37367 PyObject
*swig_obj
[1] ;
37369 if (!args
) SWIG_fail
;
37370 swig_obj
[0] = args
;
37371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37372 if (!SWIG_IsOK(res1
)) {
37373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37375 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37378 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37379 wxPyEndAllowThreads(__tstate
);
37380 if (PyErr_Occurred()) SWIG_fail
;
37383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37391 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37394 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37395 return SWIG_Py_Void();
37398 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37399 return SWIG_Python_InitShadowInstance(args
);
37402 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37403 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37408 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37409 PyObject
*pyobj
= 0;
37413 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37415 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37422 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37423 PyObject
*resultobj
= 0;
37424 wxWindow
*arg1
= (wxWindow
*) 0 ;
37425 int arg2
= (int) (int)-1 ;
37426 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37427 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37428 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37429 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37430 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37431 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37432 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37433 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37434 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37435 int arg8
= (int) 0 ;
37436 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37437 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37438 wxGenericDirCtrl
*result
= 0 ;
37443 bool temp3
= false ;
37448 bool temp7
= false ;
37451 bool temp9
= false ;
37452 PyObject
* obj0
= 0 ;
37453 PyObject
* obj1
= 0 ;
37454 PyObject
* obj2
= 0 ;
37455 PyObject
* obj3
= 0 ;
37456 PyObject
* obj4
= 0 ;
37457 PyObject
* obj5
= 0 ;
37458 PyObject
* obj6
= 0 ;
37459 PyObject
* obj7
= 0 ;
37460 PyObject
* obj8
= 0 ;
37461 char * kwnames
[] = {
37462 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37467 if (!SWIG_IsOK(res1
)) {
37468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37470 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37473 if (!SWIG_IsOK(ecode2
)) {
37474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37476 arg2
= static_cast< int >(val2
);
37480 arg3
= wxString_in_helper(obj2
);
37481 if (arg3
== NULL
) SWIG_fail
;
37488 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37494 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37498 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37499 if (!SWIG_IsOK(ecode6
)) {
37500 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37502 arg6
= static_cast< long >(val6
);
37506 arg7
= wxString_in_helper(obj6
);
37507 if (arg7
== NULL
) SWIG_fail
;
37512 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37513 if (!SWIG_IsOK(ecode8
)) {
37514 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37516 arg8
= static_cast< int >(val8
);
37520 arg9
= wxString_in_helper(obj8
);
37521 if (arg9
== NULL
) SWIG_fail
;
37526 if (!wxPyCheckForApp()) SWIG_fail
;
37527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37528 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37529 wxPyEndAllowThreads(__tstate
);
37530 if (PyErr_Occurred()) SWIG_fail
;
37532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37563 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37564 PyObject
*resultobj
= 0;
37565 wxGenericDirCtrl
*result
= 0 ;
37567 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37569 if (!wxPyCheckForApp()) SWIG_fail
;
37570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37571 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37572 wxPyEndAllowThreads(__tstate
);
37573 if (PyErr_Occurred()) SWIG_fail
;
37575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37582 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37583 PyObject
*resultobj
= 0;
37584 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37585 wxWindow
*arg2
= (wxWindow
*) 0 ;
37586 int arg3
= (int) (int)-1 ;
37587 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37588 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37589 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37590 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37591 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37592 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37593 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37594 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37595 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37596 int arg9
= (int) 0 ;
37597 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37598 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37606 bool temp4
= false ;
37611 bool temp8
= false ;
37614 bool temp10
= false ;
37615 PyObject
* obj0
= 0 ;
37616 PyObject
* obj1
= 0 ;
37617 PyObject
* obj2
= 0 ;
37618 PyObject
* obj3
= 0 ;
37619 PyObject
* obj4
= 0 ;
37620 PyObject
* obj5
= 0 ;
37621 PyObject
* obj6
= 0 ;
37622 PyObject
* obj7
= 0 ;
37623 PyObject
* obj8
= 0 ;
37624 PyObject
* obj9
= 0 ;
37625 char * kwnames
[] = {
37626 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37631 if (!SWIG_IsOK(res1
)) {
37632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37634 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37635 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37636 if (!SWIG_IsOK(res2
)) {
37637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37639 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37642 if (!SWIG_IsOK(ecode3
)) {
37643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37645 arg3
= static_cast< int >(val3
);
37649 arg4
= wxString_in_helper(obj3
);
37650 if (arg4
== NULL
) SWIG_fail
;
37657 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37663 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37667 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37668 if (!SWIG_IsOK(ecode7
)) {
37669 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37671 arg7
= static_cast< long >(val7
);
37675 arg8
= wxString_in_helper(obj7
);
37676 if (arg8
== NULL
) SWIG_fail
;
37681 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37682 if (!SWIG_IsOK(ecode9
)) {
37683 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37685 arg9
= static_cast< int >(val9
);
37689 arg10
= wxString_in_helper(obj9
);
37690 if (arg10
== NULL
) SWIG_fail
;
37695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37696 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37697 wxPyEndAllowThreads(__tstate
);
37698 if (PyErr_Occurred()) SWIG_fail
;
37701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37733 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37734 PyObject
*resultobj
= 0;
37735 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37736 wxString
*arg2
= 0 ;
37740 bool temp2
= false ;
37741 PyObject
* obj0
= 0 ;
37742 PyObject
* obj1
= 0 ;
37743 char * kwnames
[] = {
37744 (char *) "self",(char *) "path", NULL
37747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37749 if (!SWIG_IsOK(res1
)) {
37750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37752 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37754 arg2
= wxString_in_helper(obj1
);
37755 if (arg2
== NULL
) SWIG_fail
;
37759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37760 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37761 wxPyEndAllowThreads(__tstate
);
37762 if (PyErr_Occurred()) SWIG_fail
;
37765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37781 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37782 PyObject
*resultobj
= 0;
37783 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37784 wxString
*arg2
= 0 ;
37788 bool temp2
= false ;
37789 PyObject
* obj0
= 0 ;
37790 PyObject
* obj1
= 0 ;
37791 char * kwnames
[] = {
37792 (char *) "self",(char *) "path", NULL
37795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37797 if (!SWIG_IsOK(res1
)) {
37798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37800 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37802 arg2
= wxString_in_helper(obj1
);
37803 if (arg2
== NULL
) SWIG_fail
;
37807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37808 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37809 wxPyEndAllowThreads(__tstate
);
37810 if (PyErr_Occurred()) SWIG_fail
;
37813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37829 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37830 PyObject
*resultobj
= 0;
37831 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37835 PyObject
*swig_obj
[1] ;
37837 if (!args
) SWIG_fail
;
37838 swig_obj
[0] = args
;
37839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37840 if (!SWIG_IsOK(res1
)) {
37841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37843 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37846 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37847 wxPyEndAllowThreads(__tstate
);
37848 if (PyErr_Occurred()) SWIG_fail
;
37852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37863 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37864 PyObject
*resultobj
= 0;
37865 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37866 wxString
*arg2
= 0 ;
37869 bool temp2
= false ;
37870 PyObject
* obj0
= 0 ;
37871 PyObject
* obj1
= 0 ;
37872 char * kwnames
[] = {
37873 (char *) "self",(char *) "path", NULL
37876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37878 if (!SWIG_IsOK(res1
)) {
37879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37881 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37883 arg2
= wxString_in_helper(obj1
);
37884 if (arg2
== NULL
) SWIG_fail
;
37888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37889 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37890 wxPyEndAllowThreads(__tstate
);
37891 if (PyErr_Occurred()) SWIG_fail
;
37893 resultobj
= SWIG_Py_Void();
37908 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37909 PyObject
*resultobj
= 0;
37910 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37914 PyObject
*swig_obj
[1] ;
37916 if (!args
) SWIG_fail
;
37917 swig_obj
[0] = args
;
37918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37919 if (!SWIG_IsOK(res1
)) {
37920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37922 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37925 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37926 wxPyEndAllowThreads(__tstate
);
37927 if (PyErr_Occurred()) SWIG_fail
;
37931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37942 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37943 PyObject
*resultobj
= 0;
37944 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37948 PyObject
*swig_obj
[1] ;
37950 if (!args
) SWIG_fail
;
37951 swig_obj
[0] = args
;
37952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37953 if (!SWIG_IsOK(res1
)) {
37954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37956 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37959 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37960 wxPyEndAllowThreads(__tstate
);
37961 if (PyErr_Occurred()) SWIG_fail
;
37965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37976 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37977 PyObject
*resultobj
= 0;
37978 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37979 wxString
*arg2
= 0 ;
37982 bool temp2
= false ;
37983 PyObject
* obj0
= 0 ;
37984 PyObject
* obj1
= 0 ;
37985 char * kwnames
[] = {
37986 (char *) "self",(char *) "path", NULL
37989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37991 if (!SWIG_IsOK(res1
)) {
37992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37994 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37996 arg2
= wxString_in_helper(obj1
);
37997 if (arg2
== NULL
) SWIG_fail
;
38001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38002 (arg1
)->SetPath((wxString
const &)*arg2
);
38003 wxPyEndAllowThreads(__tstate
);
38004 if (PyErr_Occurred()) SWIG_fail
;
38006 resultobj
= SWIG_Py_Void();
38021 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38022 PyObject
*resultobj
= 0;
38023 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38029 PyObject
* obj0
= 0 ;
38030 PyObject
* obj1
= 0 ;
38031 char * kwnames
[] = {
38032 (char *) "self",(char *) "show", NULL
38035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38037 if (!SWIG_IsOK(res1
)) {
38038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38040 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38041 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38042 if (!SWIG_IsOK(ecode2
)) {
38043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38045 arg2
= static_cast< bool >(val2
);
38047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38048 (arg1
)->ShowHidden(arg2
);
38049 wxPyEndAllowThreads(__tstate
);
38050 if (PyErr_Occurred()) SWIG_fail
;
38052 resultobj
= SWIG_Py_Void();
38059 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38060 PyObject
*resultobj
= 0;
38061 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38065 PyObject
*swig_obj
[1] ;
38067 if (!args
) SWIG_fail
;
38068 swig_obj
[0] = args
;
38069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38070 if (!SWIG_IsOK(res1
)) {
38071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38073 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38076 result
= (bool)(arg1
)->GetShowHidden();
38077 wxPyEndAllowThreads(__tstate
);
38078 if (PyErr_Occurred()) SWIG_fail
;
38081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38089 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38090 PyObject
*resultobj
= 0;
38091 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38095 PyObject
*swig_obj
[1] ;
38097 if (!args
) SWIG_fail
;
38098 swig_obj
[0] = args
;
38099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38100 if (!SWIG_IsOK(res1
)) {
38101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38103 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38106 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38107 wxPyEndAllowThreads(__tstate
);
38108 if (PyErr_Occurred()) SWIG_fail
;
38112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38123 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38124 PyObject
*resultobj
= 0;
38125 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38126 wxString
*arg2
= 0 ;
38129 bool temp2
= false ;
38130 PyObject
* obj0
= 0 ;
38131 PyObject
* obj1
= 0 ;
38132 char * kwnames
[] = {
38133 (char *) "self",(char *) "filter", NULL
38136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38138 if (!SWIG_IsOK(res1
)) {
38139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38141 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38143 arg2
= wxString_in_helper(obj1
);
38144 if (arg2
== NULL
) SWIG_fail
;
38148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38149 (arg1
)->SetFilter((wxString
const &)*arg2
);
38150 wxPyEndAllowThreads(__tstate
);
38151 if (PyErr_Occurred()) SWIG_fail
;
38153 resultobj
= SWIG_Py_Void();
38168 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38169 PyObject
*resultobj
= 0;
38170 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38174 PyObject
*swig_obj
[1] ;
38176 if (!args
) SWIG_fail
;
38177 swig_obj
[0] = args
;
38178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38179 if (!SWIG_IsOK(res1
)) {
38180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38182 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38185 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38186 wxPyEndAllowThreads(__tstate
);
38187 if (PyErr_Occurred()) SWIG_fail
;
38189 resultobj
= SWIG_From_int(static_cast< int >(result
));
38196 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38197 PyObject
*resultobj
= 0;
38198 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38204 PyObject
* obj0
= 0 ;
38205 PyObject
* obj1
= 0 ;
38206 char * kwnames
[] = {
38207 (char *) "self",(char *) "n", NULL
38210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38212 if (!SWIG_IsOK(res1
)) {
38213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38215 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38217 if (!SWIG_IsOK(ecode2
)) {
38218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38220 arg2
= static_cast< int >(val2
);
38222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38223 (arg1
)->SetFilterIndex(arg2
);
38224 wxPyEndAllowThreads(__tstate
);
38225 if (PyErr_Occurred()) SWIG_fail
;
38227 resultobj
= SWIG_Py_Void();
38234 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38235 PyObject
*resultobj
= 0;
38236 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38237 wxTreeItemId result
;
38240 PyObject
*swig_obj
[1] ;
38242 if (!args
) SWIG_fail
;
38243 swig_obj
[0] = args
;
38244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38245 if (!SWIG_IsOK(res1
)) {
38246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38248 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38251 result
= (arg1
)->GetRootId();
38252 wxPyEndAllowThreads(__tstate
);
38253 if (PyErr_Occurred()) SWIG_fail
;
38255 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38262 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38263 PyObject
*resultobj
= 0;
38264 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38265 wxPyTreeCtrl
*result
= 0 ;
38268 PyObject
*swig_obj
[1] ;
38270 if (!args
) SWIG_fail
;
38271 swig_obj
[0] = args
;
38272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38273 if (!SWIG_IsOK(res1
)) {
38274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38276 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38279 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38280 wxPyEndAllowThreads(__tstate
);
38281 if (PyErr_Occurred()) SWIG_fail
;
38284 resultobj
= wxPyMake_wxObject(result
, 0);
38292 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38293 PyObject
*resultobj
= 0;
38294 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38295 wxDirFilterListCtrl
*result
= 0 ;
38298 PyObject
*swig_obj
[1] ;
38300 if (!args
) SWIG_fail
;
38301 swig_obj
[0] = args
;
38302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38303 if (!SWIG_IsOK(res1
)) {
38304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38306 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38309 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38310 wxPyEndAllowThreads(__tstate
);
38311 if (PyErr_Occurred()) SWIG_fail
;
38313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38320 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38321 PyObject
*resultobj
= 0;
38322 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38323 wxTreeItemId arg2
;
38324 wxString
*arg3
= 0 ;
38326 wxTreeItemId result
;
38331 bool temp3
= false ;
38333 int res4
= SWIG_TMPOBJ
;
38334 PyObject
* obj0
= 0 ;
38335 PyObject
* obj1
= 0 ;
38336 PyObject
* obj2
= 0 ;
38337 char * kwnames
[] = {
38338 (char *) "self",(char *) "parentId",(char *) "path", NULL
38342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38344 if (!SWIG_IsOK(res1
)) {
38345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38347 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38350 if (!SWIG_IsOK(res2
)) {
38351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38356 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38358 if (SWIG_IsNewObj(res2
)) delete temp
;
38362 arg3
= wxString_in_helper(obj2
);
38363 if (arg3
== NULL
) SWIG_fail
;
38367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38368 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38369 wxPyEndAllowThreads(__tstate
);
38370 if (PyErr_Occurred()) SWIG_fail
;
38372 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38373 if (SWIG_IsTmpObj(res4
)) {
38374 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38376 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38393 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38394 PyObject
*resultobj
= 0;
38395 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38398 PyObject
*swig_obj
[1] ;
38400 if (!args
) SWIG_fail
;
38401 swig_obj
[0] = args
;
38402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38403 if (!SWIG_IsOK(res1
)) {
38404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38406 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38409 (arg1
)->DoResize();
38410 wxPyEndAllowThreads(__tstate
);
38411 if (PyErr_Occurred()) SWIG_fail
;
38413 resultobj
= SWIG_Py_Void();
38420 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38421 PyObject
*resultobj
= 0;
38422 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38425 PyObject
*swig_obj
[1] ;
38427 if (!args
) SWIG_fail
;
38428 swig_obj
[0] = args
;
38429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38430 if (!SWIG_IsOK(res1
)) {
38431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38433 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38436 (arg1
)->ReCreateTree();
38437 wxPyEndAllowThreads(__tstate
);
38438 if (PyErr_Occurred()) SWIG_fail
;
38440 resultobj
= SWIG_Py_Void();
38447 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38450 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38451 return SWIG_Py_Void();
38454 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38455 return SWIG_Python_InitShadowInstance(args
);
38458 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38459 PyObject
*resultobj
= 0;
38460 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38461 int arg2
= (int) (int)-1 ;
38462 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38463 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38464 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38465 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38466 long arg5
= (long) 0 ;
38467 wxDirFilterListCtrl
*result
= 0 ;
38476 PyObject
* obj0
= 0 ;
38477 PyObject
* obj1
= 0 ;
38478 PyObject
* obj2
= 0 ;
38479 PyObject
* obj3
= 0 ;
38480 PyObject
* obj4
= 0 ;
38481 char * kwnames
[] = {
38482 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38487 if (!SWIG_IsOK(res1
)) {
38488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38490 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38493 if (!SWIG_IsOK(ecode2
)) {
38494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38496 arg2
= static_cast< int >(val2
);
38501 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38507 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38511 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38512 if (!SWIG_IsOK(ecode5
)) {
38513 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38515 arg5
= static_cast< long >(val5
);
38518 if (!wxPyCheckForApp()) SWIG_fail
;
38519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38520 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38521 wxPyEndAllowThreads(__tstate
);
38522 if (PyErr_Occurred()) SWIG_fail
;
38524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38531 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38532 PyObject
*resultobj
= 0;
38533 wxDirFilterListCtrl
*result
= 0 ;
38535 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38537 if (!wxPyCheckForApp()) SWIG_fail
;
38538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38539 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38540 wxPyEndAllowThreads(__tstate
);
38541 if (PyErr_Occurred()) SWIG_fail
;
38543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38550 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38551 PyObject
*resultobj
= 0;
38552 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38553 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38554 int arg3
= (int) (int)-1 ;
38555 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38556 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38557 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38558 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38559 long arg6
= (long) 0 ;
38571 PyObject
* obj0
= 0 ;
38572 PyObject
* obj1
= 0 ;
38573 PyObject
* obj2
= 0 ;
38574 PyObject
* obj3
= 0 ;
38575 PyObject
* obj4
= 0 ;
38576 PyObject
* obj5
= 0 ;
38577 char * kwnames
[] = {
38578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38583 if (!SWIG_IsOK(res1
)) {
38584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38586 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38588 if (!SWIG_IsOK(res2
)) {
38589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38591 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38594 if (!SWIG_IsOK(ecode3
)) {
38595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38597 arg3
= static_cast< int >(val3
);
38602 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38608 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38612 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38613 if (!SWIG_IsOK(ecode6
)) {
38614 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38616 arg6
= static_cast< long >(val6
);
38619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38620 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38621 wxPyEndAllowThreads(__tstate
);
38622 if (PyErr_Occurred()) SWIG_fail
;
38625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38633 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38634 PyObject
*resultobj
= 0;
38635 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38636 wxString
*arg2
= 0 ;
38640 bool temp2
= false ;
38643 PyObject
* obj0
= 0 ;
38644 PyObject
* obj1
= 0 ;
38645 PyObject
* obj2
= 0 ;
38646 char * kwnames
[] = {
38647 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38652 if (!SWIG_IsOK(res1
)) {
38653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38655 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38657 arg2
= wxString_in_helper(obj1
);
38658 if (arg2
== NULL
) SWIG_fail
;
38661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38662 if (!SWIG_IsOK(ecode3
)) {
38663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38665 arg3
= static_cast< int >(val3
);
38667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38668 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38669 wxPyEndAllowThreads(__tstate
);
38670 if (PyErr_Occurred()) SWIG_fail
;
38672 resultobj
= SWIG_Py_Void();
38687 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38690 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38691 return SWIG_Py_Void();
38694 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38695 return SWIG_Python_InitShadowInstance(args
);
38698 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38699 PyObject
*resultobj
= 0;
38700 wxWindow
*arg1
= (wxWindow
*) 0 ;
38701 int arg2
= (int) (int)-1 ;
38702 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38703 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38704 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38705 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38706 long arg5
= (long) 0 ;
38707 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38708 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38709 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38710 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38711 wxPyControl
*result
= 0 ;
38722 bool temp7
= false ;
38723 PyObject
* obj0
= 0 ;
38724 PyObject
* obj1
= 0 ;
38725 PyObject
* obj2
= 0 ;
38726 PyObject
* obj3
= 0 ;
38727 PyObject
* obj4
= 0 ;
38728 PyObject
* obj5
= 0 ;
38729 PyObject
* obj6
= 0 ;
38730 char * kwnames
[] = {
38731 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38736 if (!SWIG_IsOK(res1
)) {
38737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38739 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38742 if (!SWIG_IsOK(ecode2
)) {
38743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38745 arg2
= static_cast< int >(val2
);
38750 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38756 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38760 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38761 if (!SWIG_IsOK(ecode5
)) {
38762 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38764 arg5
= static_cast< long >(val5
);
38767 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38768 if (!SWIG_IsOK(res6
)) {
38769 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38774 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38778 arg7
= wxString_in_helper(obj6
);
38779 if (arg7
== NULL
) SWIG_fail
;
38784 if (!wxPyCheckForApp()) SWIG_fail
;
38785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38786 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38787 wxPyEndAllowThreads(__tstate
);
38788 if (PyErr_Occurred()) SWIG_fail
;
38790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38805 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38806 PyObject
*resultobj
= 0;
38807 wxPyControl
*result
= 0 ;
38809 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38811 if (!wxPyCheckForApp()) SWIG_fail
;
38812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38813 result
= (wxPyControl
*)new wxPyControl();
38814 wxPyEndAllowThreads(__tstate
);
38815 if (PyErr_Occurred()) SWIG_fail
;
38817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38824 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38825 PyObject
*resultobj
= 0;
38826 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38827 PyObject
*arg2
= (PyObject
*) 0 ;
38828 PyObject
*arg3
= (PyObject
*) 0 ;
38831 PyObject
* obj0
= 0 ;
38832 PyObject
* obj1
= 0 ;
38833 PyObject
* obj2
= 0 ;
38834 char * kwnames
[] = {
38835 (char *) "self",(char *) "self",(char *) "_class", NULL
38838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38840 if (!SWIG_IsOK(res1
)) {
38841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38843 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38848 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38849 wxPyEndAllowThreads(__tstate
);
38850 if (PyErr_Occurred()) SWIG_fail
;
38852 resultobj
= SWIG_Py_Void();
38859 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38860 PyObject
*resultobj
= 0;
38861 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38862 wxDC
*arg2
= (wxDC
*) 0 ;
38868 PyObject
* obj0
= 0 ;
38869 PyObject
* obj1
= 0 ;
38870 char * kwnames
[] = {
38871 (char *) "self",(char *) "dc", NULL
38874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38876 if (!SWIG_IsOK(res1
)) {
38877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38879 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38881 if (!SWIG_IsOK(res2
)) {
38882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38884 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38887 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38888 wxPyEndAllowThreads(__tstate
);
38889 if (PyErr_Occurred()) SWIG_fail
;
38892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38900 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38901 PyObject
*resultobj
= 0;
38902 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38917 PyObject
* obj0
= 0 ;
38918 PyObject
* obj1
= 0 ;
38919 PyObject
* obj2
= 0 ;
38920 PyObject
* obj3
= 0 ;
38921 PyObject
* obj4
= 0 ;
38922 char * kwnames
[] = {
38923 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38928 if (!SWIG_IsOK(res1
)) {
38929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38931 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38933 if (!SWIG_IsOK(ecode2
)) {
38934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38936 arg2
= static_cast< int >(val2
);
38937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38938 if (!SWIG_IsOK(ecode3
)) {
38939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38941 arg3
= static_cast< int >(val3
);
38942 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38943 if (!SWIG_IsOK(ecode4
)) {
38944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38946 arg4
= static_cast< int >(val4
);
38947 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38948 if (!SWIG_IsOK(ecode5
)) {
38949 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38951 arg5
= static_cast< int >(val5
);
38953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38954 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38955 wxPyEndAllowThreads(__tstate
);
38956 if (PyErr_Occurred()) SWIG_fail
;
38958 resultobj
= SWIG_Py_Void();
38965 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38966 PyObject
*resultobj
= 0;
38967 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38972 int arg6
= (int) wxSIZE_AUTO
;
38985 PyObject
* obj0
= 0 ;
38986 PyObject
* obj1
= 0 ;
38987 PyObject
* obj2
= 0 ;
38988 PyObject
* obj3
= 0 ;
38989 PyObject
* obj4
= 0 ;
38990 PyObject
* obj5
= 0 ;
38991 char * kwnames
[] = {
38992 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38997 if (!SWIG_IsOK(res1
)) {
38998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39000 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39002 if (!SWIG_IsOK(ecode2
)) {
39003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39005 arg2
= static_cast< int >(val2
);
39006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39007 if (!SWIG_IsOK(ecode3
)) {
39008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39010 arg3
= static_cast< int >(val3
);
39011 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39012 if (!SWIG_IsOK(ecode4
)) {
39013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39015 arg4
= static_cast< int >(val4
);
39016 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39017 if (!SWIG_IsOK(ecode5
)) {
39018 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39020 arg5
= static_cast< int >(val5
);
39022 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39023 if (!SWIG_IsOK(ecode6
)) {
39024 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39026 arg6
= static_cast< int >(val6
);
39029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39030 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39031 wxPyEndAllowThreads(__tstate
);
39032 if (PyErr_Occurred()) SWIG_fail
;
39034 resultobj
= SWIG_Py_Void();
39041 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39042 PyObject
*resultobj
= 0;
39043 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39052 PyObject
* obj0
= 0 ;
39053 PyObject
* obj1
= 0 ;
39054 PyObject
* obj2
= 0 ;
39055 char * kwnames
[] = {
39056 (char *) "self",(char *) "width",(char *) "height", NULL
39059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39061 if (!SWIG_IsOK(res1
)) {
39062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39064 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39066 if (!SWIG_IsOK(ecode2
)) {
39067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39069 arg2
= static_cast< int >(val2
);
39070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39071 if (!SWIG_IsOK(ecode3
)) {
39072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39074 arg3
= static_cast< int >(val3
);
39076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39077 (arg1
)->DoSetClientSize(arg2
,arg3
);
39078 wxPyEndAllowThreads(__tstate
);
39079 if (PyErr_Occurred()) SWIG_fail
;
39081 resultobj
= SWIG_Py_Void();
39088 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39089 PyObject
*resultobj
= 0;
39090 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39099 PyObject
* obj0
= 0 ;
39100 PyObject
* obj1
= 0 ;
39101 PyObject
* obj2
= 0 ;
39102 char * kwnames
[] = {
39103 (char *) "self",(char *) "x",(char *) "y", NULL
39106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39108 if (!SWIG_IsOK(res1
)) {
39109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39111 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39113 if (!SWIG_IsOK(ecode2
)) {
39114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39116 arg2
= static_cast< int >(val2
);
39117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39118 if (!SWIG_IsOK(ecode3
)) {
39119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39121 arg3
= static_cast< int >(val3
);
39123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39124 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39125 wxPyEndAllowThreads(__tstate
);
39126 if (PyErr_Occurred()) SWIG_fail
;
39128 resultobj
= SWIG_Py_Void();
39135 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39136 PyObject
*resultobj
= 0;
39137 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39138 int *arg2
= (int *) 0 ;
39139 int *arg3
= (int *) 0 ;
39143 int res2
= SWIG_TMPOBJ
;
39145 int res3
= SWIG_TMPOBJ
;
39146 PyObject
*swig_obj
[1] ;
39150 if (!args
) SWIG_fail
;
39151 swig_obj
[0] = args
;
39152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39153 if (!SWIG_IsOK(res1
)) {
39154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39156 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39159 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39160 wxPyEndAllowThreads(__tstate
);
39161 if (PyErr_Occurred()) SWIG_fail
;
39163 resultobj
= SWIG_Py_Void();
39164 if (SWIG_IsTmpObj(res2
)) {
39165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39167 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39170 if (SWIG_IsTmpObj(res3
)) {
39171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39173 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39182 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39183 PyObject
*resultobj
= 0;
39184 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39185 int *arg2
= (int *) 0 ;
39186 int *arg3
= (int *) 0 ;
39190 int res2
= SWIG_TMPOBJ
;
39192 int res3
= SWIG_TMPOBJ
;
39193 PyObject
*swig_obj
[1] ;
39197 if (!args
) SWIG_fail
;
39198 swig_obj
[0] = args
;
39199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39200 if (!SWIG_IsOK(res1
)) {
39201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39203 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39206 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39207 wxPyEndAllowThreads(__tstate
);
39208 if (PyErr_Occurred()) SWIG_fail
;
39210 resultobj
= SWIG_Py_Void();
39211 if (SWIG_IsTmpObj(res2
)) {
39212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39214 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39217 if (SWIG_IsTmpObj(res3
)) {
39218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39220 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39229 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39230 PyObject
*resultobj
= 0;
39231 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39232 int *arg2
= (int *) 0 ;
39233 int *arg3
= (int *) 0 ;
39237 int res2
= SWIG_TMPOBJ
;
39239 int res3
= SWIG_TMPOBJ
;
39240 PyObject
*swig_obj
[1] ;
39244 if (!args
) SWIG_fail
;
39245 swig_obj
[0] = args
;
39246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39247 if (!SWIG_IsOK(res1
)) {
39248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39250 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39253 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39254 wxPyEndAllowThreads(__tstate
);
39255 if (PyErr_Occurred()) SWIG_fail
;
39257 resultobj
= SWIG_Py_Void();
39258 if (SWIG_IsTmpObj(res2
)) {
39259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39261 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39264 if (SWIG_IsTmpObj(res3
)) {
39265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39267 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39276 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39277 PyObject
*resultobj
= 0;
39278 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39282 PyObject
*swig_obj
[1] ;
39284 if (!args
) SWIG_fail
;
39285 swig_obj
[0] = args
;
39286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39287 if (!SWIG_IsOK(res1
)) {
39288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39290 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39293 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39294 wxPyEndAllowThreads(__tstate
);
39295 if (PyErr_Occurred()) SWIG_fail
;
39297 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39304 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39305 PyObject
*resultobj
= 0;
39306 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39310 PyObject
*swig_obj
[1] ;
39312 if (!args
) SWIG_fail
;
39313 swig_obj
[0] = args
;
39314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39315 if (!SWIG_IsOK(res1
)) {
39316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39318 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39321 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39322 wxPyEndAllowThreads(__tstate
);
39323 if (PyErr_Occurred()) SWIG_fail
;
39325 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39332 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39333 PyObject
*resultobj
= 0;
39334 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39335 SwigValueWrapper
<wxVisualAttributes
> result
;
39338 PyObject
*swig_obj
[1] ;
39340 if (!args
) SWIG_fail
;
39341 swig_obj
[0] = args
;
39342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39343 if (!SWIG_IsOK(res1
)) {
39344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39346 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39349 result
= (arg1
)->GetDefaultAttributes();
39350 wxPyEndAllowThreads(__tstate
);
39351 if (PyErr_Occurred()) SWIG_fail
;
39353 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39360 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39361 PyObject
*resultobj
= 0;
39362 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39365 PyObject
*swig_obj
[1] ;
39367 if (!args
) SWIG_fail
;
39368 swig_obj
[0] = args
;
39369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39370 if (!SWIG_IsOK(res1
)) {
39371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39373 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39376 (arg1
)->OnInternalIdle();
39377 wxPyEndAllowThreads(__tstate
);
39378 if (PyErr_Occurred()) SWIG_fail
;
39380 resultobj
= SWIG_Py_Void();
39387 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39390 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39391 return SWIG_Py_Void();
39394 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39395 return SWIG_Python_InitShadowInstance(args
);
39398 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39399 PyObject
*resultobj
= 0;
39400 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39401 int arg2
= (int) 0 ;
39402 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39403 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39404 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39405 wxHelpEvent
*result
= 0 ;
39413 PyObject
* obj0
= 0 ;
39414 PyObject
* obj1
= 0 ;
39415 PyObject
* obj2
= 0 ;
39416 PyObject
* obj3
= 0 ;
39417 char * kwnames
[] = {
39418 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39423 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39424 if (!SWIG_IsOK(ecode1
)) {
39425 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39427 arg1
= static_cast< wxEventType
>(val1
);
39430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39431 if (!SWIG_IsOK(ecode2
)) {
39432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39434 arg2
= static_cast< int >(val2
);
39439 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39443 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39444 if (!SWIG_IsOK(ecode4
)) {
39445 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39447 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39451 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39452 wxPyEndAllowThreads(__tstate
);
39453 if (PyErr_Occurred()) SWIG_fail
;
39455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39462 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39463 PyObject
*resultobj
= 0;
39464 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39468 PyObject
*swig_obj
[1] ;
39470 if (!args
) SWIG_fail
;
39471 swig_obj
[0] = args
;
39472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39473 if (!SWIG_IsOK(res1
)) {
39474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39476 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39479 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39480 wxPyEndAllowThreads(__tstate
);
39481 if (PyErr_Occurred()) SWIG_fail
;
39483 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39490 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39491 PyObject
*resultobj
= 0;
39492 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39493 wxPoint
*arg2
= 0 ;
39497 PyObject
* obj0
= 0 ;
39498 PyObject
* obj1
= 0 ;
39499 char * kwnames
[] = {
39500 (char *) "self",(char *) "pos", NULL
39503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39505 if (!SWIG_IsOK(res1
)) {
39506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39508 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39511 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39515 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39516 wxPyEndAllowThreads(__tstate
);
39517 if (PyErr_Occurred()) SWIG_fail
;
39519 resultobj
= SWIG_Py_Void();
39526 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39527 PyObject
*resultobj
= 0;
39528 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39529 wxString
*result
= 0 ;
39532 PyObject
*swig_obj
[1] ;
39534 if (!args
) SWIG_fail
;
39535 swig_obj
[0] = args
;
39536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39537 if (!SWIG_IsOK(res1
)) {
39538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39540 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39544 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39545 result
= (wxString
*) &_result_ref
;
39547 wxPyEndAllowThreads(__tstate
);
39548 if (PyErr_Occurred()) SWIG_fail
;
39552 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39554 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39563 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39564 PyObject
*resultobj
= 0;
39565 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39566 wxString
*arg2
= 0 ;
39569 bool temp2
= false ;
39570 PyObject
* obj0
= 0 ;
39571 PyObject
* obj1
= 0 ;
39572 char * kwnames
[] = {
39573 (char *) "self",(char *) "link", NULL
39576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39578 if (!SWIG_IsOK(res1
)) {
39579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39581 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39583 arg2
= wxString_in_helper(obj1
);
39584 if (arg2
== NULL
) SWIG_fail
;
39588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39589 (arg1
)->SetLink((wxString
const &)*arg2
);
39590 wxPyEndAllowThreads(__tstate
);
39591 if (PyErr_Occurred()) SWIG_fail
;
39593 resultobj
= SWIG_Py_Void();
39608 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39609 PyObject
*resultobj
= 0;
39610 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39611 wxString
*result
= 0 ;
39614 PyObject
*swig_obj
[1] ;
39616 if (!args
) SWIG_fail
;
39617 swig_obj
[0] = args
;
39618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39619 if (!SWIG_IsOK(res1
)) {
39620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39622 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39626 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39627 result
= (wxString
*) &_result_ref
;
39629 wxPyEndAllowThreads(__tstate
);
39630 if (PyErr_Occurred()) SWIG_fail
;
39634 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39636 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39645 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39646 PyObject
*resultobj
= 0;
39647 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39648 wxString
*arg2
= 0 ;
39651 bool temp2
= false ;
39652 PyObject
* obj0
= 0 ;
39653 PyObject
* obj1
= 0 ;
39654 char * kwnames
[] = {
39655 (char *) "self",(char *) "target", NULL
39658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39660 if (!SWIG_IsOK(res1
)) {
39661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39663 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39665 arg2
= wxString_in_helper(obj1
);
39666 if (arg2
== NULL
) SWIG_fail
;
39670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39671 (arg1
)->SetTarget((wxString
const &)*arg2
);
39672 wxPyEndAllowThreads(__tstate
);
39673 if (PyErr_Occurred()) SWIG_fail
;
39675 resultobj
= SWIG_Py_Void();
39690 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39691 PyObject
*resultobj
= 0;
39692 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39693 wxHelpEvent::Origin result
;
39696 PyObject
*swig_obj
[1] ;
39698 if (!args
) SWIG_fail
;
39699 swig_obj
[0] = args
;
39700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39701 if (!SWIG_IsOK(res1
)) {
39702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39704 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39707 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39708 wxPyEndAllowThreads(__tstate
);
39709 if (PyErr_Occurred()) SWIG_fail
;
39711 resultobj
= SWIG_From_int(static_cast< int >(result
));
39718 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39719 PyObject
*resultobj
= 0;
39720 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39721 wxHelpEvent::Origin arg2
;
39726 PyObject
* obj0
= 0 ;
39727 PyObject
* obj1
= 0 ;
39728 char * kwnames
[] = {
39729 (char *) "self",(char *) "origin", NULL
39732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39734 if (!SWIG_IsOK(res1
)) {
39735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39737 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39739 if (!SWIG_IsOK(ecode2
)) {
39740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39742 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39745 (arg1
)->SetOrigin(arg2
);
39746 wxPyEndAllowThreads(__tstate
);
39747 if (PyErr_Occurred()) SWIG_fail
;
39749 resultobj
= SWIG_Py_Void();
39756 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39759 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39760 return SWIG_Py_Void();
39763 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39764 return SWIG_Python_InitShadowInstance(args
);
39767 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39768 PyObject
*resultobj
= 0;
39769 wxWindow
*arg1
= (wxWindow
*) NULL
;
39770 bool arg2
= (bool) true ;
39771 wxContextHelp
*result
= 0 ;
39776 PyObject
* obj0
= 0 ;
39777 PyObject
* obj1
= 0 ;
39778 char * kwnames
[] = {
39779 (char *) "window",(char *) "doNow", NULL
39782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39785 if (!SWIG_IsOK(res1
)) {
39786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39788 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39791 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39792 if (!SWIG_IsOK(ecode2
)) {
39793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39795 arg2
= static_cast< bool >(val2
);
39798 if (!wxPyCheckForApp()) SWIG_fail
;
39799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39800 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39801 wxPyEndAllowThreads(__tstate
);
39802 if (PyErr_Occurred()) SWIG_fail
;
39804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39811 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39812 PyObject
*resultobj
= 0;
39813 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39816 PyObject
*swig_obj
[1] ;
39818 if (!args
) SWIG_fail
;
39819 swig_obj
[0] = args
;
39820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39821 if (!SWIG_IsOK(res1
)) {
39822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39824 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39829 wxPyEndAllowThreads(__tstate
);
39830 if (PyErr_Occurred()) SWIG_fail
;
39832 resultobj
= SWIG_Py_Void();
39839 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39840 PyObject
*resultobj
= 0;
39841 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39842 wxWindow
*arg2
= (wxWindow
*) NULL
;
39848 PyObject
* obj0
= 0 ;
39849 PyObject
* obj1
= 0 ;
39850 char * kwnames
[] = {
39851 (char *) "self",(char *) "window", NULL
39854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39856 if (!SWIG_IsOK(res1
)) {
39857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39859 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39861 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39862 if (!SWIG_IsOK(res2
)) {
39863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39865 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39869 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39870 wxPyEndAllowThreads(__tstate
);
39871 if (PyErr_Occurred()) SWIG_fail
;
39874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39882 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39883 PyObject
*resultobj
= 0;
39884 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39888 PyObject
*swig_obj
[1] ;
39890 if (!args
) SWIG_fail
;
39891 swig_obj
[0] = args
;
39892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39893 if (!SWIG_IsOK(res1
)) {
39894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39896 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39899 result
= (bool)(arg1
)->EndContextHelp();
39900 wxPyEndAllowThreads(__tstate
);
39901 if (PyErr_Occurred()) SWIG_fail
;
39904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39912 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39914 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39915 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39916 return SWIG_Py_Void();
39919 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39920 return SWIG_Python_InitShadowInstance(args
);
39923 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39924 PyObject
*resultobj
= 0;
39925 wxWindow
*arg1
= (wxWindow
*) 0 ;
39926 int arg2
= (int) wxID_CONTEXT_HELP
;
39927 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39928 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39929 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39930 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39931 long arg5
= (long) wxBU_AUTODRAW
;
39932 wxContextHelpButton
*result
= 0 ;
39941 PyObject
* obj0
= 0 ;
39942 PyObject
* obj1
= 0 ;
39943 PyObject
* obj2
= 0 ;
39944 PyObject
* obj3
= 0 ;
39945 PyObject
* obj4
= 0 ;
39946 char * kwnames
[] = {
39947 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39952 if (!SWIG_IsOK(res1
)) {
39953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39955 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39958 if (!SWIG_IsOK(ecode2
)) {
39959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39961 arg2
= static_cast< int >(val2
);
39966 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39972 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39976 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39977 if (!SWIG_IsOK(ecode5
)) {
39978 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39980 arg5
= static_cast< long >(val5
);
39983 if (!wxPyCheckForApp()) SWIG_fail
;
39984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39985 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39986 wxPyEndAllowThreads(__tstate
);
39987 if (PyErr_Occurred()) SWIG_fail
;
39989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39996 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39999 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40000 return SWIG_Py_Void();
40003 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40004 return SWIG_Python_InitShadowInstance(args
);
40007 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40008 PyObject
*resultobj
= 0;
40009 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40012 PyObject
*swig_obj
[1] ;
40014 if (!args
) SWIG_fail
;
40015 swig_obj
[0] = args
;
40016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40017 if (!SWIG_IsOK(res1
)) {
40018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40020 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40025 wxPyEndAllowThreads(__tstate
);
40026 if (PyErr_Occurred()) SWIG_fail
;
40028 resultobj
= SWIG_Py_Void();
40035 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40036 PyObject
*resultobj
= 0;
40037 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40038 wxHelpProvider
*result
= 0 ;
40040 PyObject
* obj0
= 0 ;
40041 char * kwnames
[] = {
40042 (char *) "helpProvider", NULL
40045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40046 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40047 if (!SWIG_IsOK(res1
)) {
40048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40052 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40053 wxPyEndAllowThreads(__tstate
);
40054 if (PyErr_Occurred()) SWIG_fail
;
40056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40063 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40064 PyObject
*resultobj
= 0;
40065 wxHelpProvider
*result
= 0 ;
40067 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40070 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40071 wxPyEndAllowThreads(__tstate
);
40072 if (PyErr_Occurred()) SWIG_fail
;
40074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40081 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40082 PyObject
*resultobj
= 0;
40083 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40084 wxWindow
*arg2
= (wxWindow
*) 0 ;
40090 PyObject
* obj0
= 0 ;
40091 PyObject
* obj1
= 0 ;
40092 char * kwnames
[] = {
40093 (char *) "self",(char *) "window", NULL
40096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40098 if (!SWIG_IsOK(res1
)) {
40099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40101 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40102 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40103 if (!SWIG_IsOK(res2
)) {
40104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40106 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40109 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40110 wxPyEndAllowThreads(__tstate
);
40111 if (PyErr_Occurred()) SWIG_fail
;
40115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40126 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40127 PyObject
*resultobj
= 0;
40128 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40129 wxWindow
*arg2
= (wxWindow
*) 0 ;
40135 PyObject
* obj0
= 0 ;
40136 PyObject
* obj1
= 0 ;
40137 char * kwnames
[] = {
40138 (char *) "self",(char *) "window", NULL
40141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40143 if (!SWIG_IsOK(res1
)) {
40144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40146 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40147 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40148 if (!SWIG_IsOK(res2
)) {
40149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40151 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40154 result
= (bool)(arg1
)->ShowHelp(arg2
);
40155 wxPyEndAllowThreads(__tstate
);
40156 if (PyErr_Occurred()) SWIG_fail
;
40159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40167 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40168 PyObject
*resultobj
= 0;
40169 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40170 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40171 wxPoint
*arg3
= 0 ;
40172 wxHelpEvent::Origin arg4
;
40181 PyObject
* obj0
= 0 ;
40182 PyObject
* obj1
= 0 ;
40183 PyObject
* obj2
= 0 ;
40184 PyObject
* obj3
= 0 ;
40185 char * kwnames
[] = {
40186 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40191 if (!SWIG_IsOK(res1
)) {
40192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40194 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40195 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40196 if (!SWIG_IsOK(res2
)) {
40197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40199 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40202 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40204 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40205 if (!SWIG_IsOK(ecode4
)) {
40206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40208 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40211 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40212 wxPyEndAllowThreads(__tstate
);
40213 if (PyErr_Occurred()) SWIG_fail
;
40216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40224 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40225 PyObject
*resultobj
= 0;
40226 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40227 wxWindow
*arg2
= (wxWindow
*) 0 ;
40228 wxString
*arg3
= 0 ;
40233 bool temp3
= false ;
40234 PyObject
* obj0
= 0 ;
40235 PyObject
* obj1
= 0 ;
40236 PyObject
* obj2
= 0 ;
40237 char * kwnames
[] = {
40238 (char *) "self",(char *) "window",(char *) "text", NULL
40241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40243 if (!SWIG_IsOK(res1
)) {
40244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40246 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40247 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40248 if (!SWIG_IsOK(res2
)) {
40249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40251 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40253 arg3
= wxString_in_helper(obj2
);
40254 if (arg3
== NULL
) SWIG_fail
;
40258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40259 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40260 wxPyEndAllowThreads(__tstate
);
40261 if (PyErr_Occurred()) SWIG_fail
;
40263 resultobj
= SWIG_Py_Void();
40278 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40279 PyObject
*resultobj
= 0;
40280 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40282 wxString
*arg3
= 0 ;
40287 bool temp3
= false ;
40288 PyObject
* obj0
= 0 ;
40289 PyObject
* obj1
= 0 ;
40290 PyObject
* obj2
= 0 ;
40291 char * kwnames
[] = {
40292 (char *) "self",(char *) "id",(char *) "text", NULL
40295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40297 if (!SWIG_IsOK(res1
)) {
40298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40300 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40302 if (!SWIG_IsOK(ecode2
)) {
40303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40305 arg2
= static_cast< int >(val2
);
40307 arg3
= wxString_in_helper(obj2
);
40308 if (arg3
== NULL
) SWIG_fail
;
40312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40313 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40314 wxPyEndAllowThreads(__tstate
);
40315 if (PyErr_Occurred()) SWIG_fail
;
40317 resultobj
= SWIG_Py_Void();
40332 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40333 PyObject
*resultobj
= 0;
40334 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40335 wxWindow
*arg2
= (wxWindow
*) 0 ;
40340 PyObject
* obj0
= 0 ;
40341 PyObject
* obj1
= 0 ;
40342 char * kwnames
[] = {
40343 (char *) "self",(char *) "window", NULL
40346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40348 if (!SWIG_IsOK(res1
)) {
40349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40351 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40353 if (!SWIG_IsOK(res2
)) {
40354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40356 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40359 (arg1
)->RemoveHelp(arg2
);
40360 wxPyEndAllowThreads(__tstate
);
40361 if (PyErr_Occurred()) SWIG_fail
;
40363 resultobj
= SWIG_Py_Void();
40370 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40371 PyObject
*resultobj
= 0;
40372 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40375 PyObject
*swig_obj
[1] ;
40377 if (!args
) SWIG_fail
;
40378 swig_obj
[0] = args
;
40379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40380 if (!SWIG_IsOK(res1
)) {
40381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40383 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40386 wxHelpProvider_Destroy(arg1
);
40387 wxPyEndAllowThreads(__tstate
);
40388 if (PyErr_Occurred()) SWIG_fail
;
40390 resultobj
= SWIG_Py_Void();
40397 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40399 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40400 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40401 return SWIG_Py_Void();
40404 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40405 PyObject
*resultobj
= 0;
40406 wxSimpleHelpProvider
*result
= 0 ;
40408 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40411 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40412 wxPyEndAllowThreads(__tstate
);
40413 if (PyErr_Occurred()) SWIG_fail
;
40415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40422 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40425 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40426 return SWIG_Py_Void();
40429 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40430 return SWIG_Python_InitShadowInstance(args
);
40433 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40434 PyObject
*resultobj
= 0;
40435 wxBitmap
*arg1
= 0 ;
40436 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40437 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40438 wxGenericDragImage
*result
= 0 ;
40443 PyObject
* obj0
= 0 ;
40444 PyObject
* obj1
= 0 ;
40445 char * kwnames
[] = {
40446 (char *) "image",(char *) "cursor", NULL
40449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40450 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40451 if (!SWIG_IsOK(res1
)) {
40452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40457 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40460 if (!SWIG_IsOK(res2
)) {
40461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40466 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40469 if (!wxPyCheckForApp()) SWIG_fail
;
40470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40471 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40472 wxPyEndAllowThreads(__tstate
);
40473 if (PyErr_Occurred()) SWIG_fail
;
40475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40482 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40483 PyObject
*resultobj
= 0;
40485 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40486 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40487 wxGenericDragImage
*result
= 0 ;
40492 PyObject
* obj0
= 0 ;
40493 PyObject
* obj1
= 0 ;
40494 char * kwnames
[] = {
40495 (char *) "image",(char *) "cursor", NULL
40498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40499 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40500 if (!SWIG_IsOK(res1
)) {
40501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40504 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40506 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40508 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40509 if (!SWIG_IsOK(res2
)) {
40510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40515 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40518 if (!wxPyCheckForApp()) SWIG_fail
;
40519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40520 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40521 wxPyEndAllowThreads(__tstate
);
40522 if (PyErr_Occurred()) SWIG_fail
;
40524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40531 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40532 PyObject
*resultobj
= 0;
40533 wxString
*arg1
= 0 ;
40534 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40535 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40536 wxGenericDragImage
*result
= 0 ;
40537 bool temp1
= false ;
40540 PyObject
* obj0
= 0 ;
40541 PyObject
* obj1
= 0 ;
40542 char * kwnames
[] = {
40543 (char *) "str",(char *) "cursor", NULL
40546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40548 arg1
= wxString_in_helper(obj0
);
40549 if (arg1
== NULL
) SWIG_fail
;
40553 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40554 if (!SWIG_IsOK(res2
)) {
40555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40560 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40563 if (!wxPyCheckForApp()) SWIG_fail
;
40564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40565 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40566 wxPyEndAllowThreads(__tstate
);
40567 if (PyErr_Occurred()) SWIG_fail
;
40569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40584 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40585 PyObject
*resultobj
= 0;
40586 wxPyTreeCtrl
*arg1
= 0 ;
40587 wxTreeItemId
*arg2
= 0 ;
40588 wxGenericDragImage
*result
= 0 ;
40593 PyObject
* obj0
= 0 ;
40594 PyObject
* obj1
= 0 ;
40595 char * kwnames
[] = {
40596 (char *) "treeCtrl",(char *) "id", NULL
40599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40600 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40601 if (!SWIG_IsOK(res1
)) {
40602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40607 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40608 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40609 if (!SWIG_IsOK(res2
)) {
40610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40615 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40617 if (!wxPyCheckForApp()) SWIG_fail
;
40618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40619 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40620 wxPyEndAllowThreads(__tstate
);
40621 if (PyErr_Occurred()) SWIG_fail
;
40623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40630 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40631 PyObject
*resultobj
= 0;
40632 wxPyListCtrl
*arg1
= 0 ;
40634 wxGenericDragImage
*result
= 0 ;
40639 PyObject
* obj0
= 0 ;
40640 PyObject
* obj1
= 0 ;
40641 char * kwnames
[] = {
40642 (char *) "listCtrl",(char *) "id", NULL
40645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40646 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40647 if (!SWIG_IsOK(res1
)) {
40648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40653 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40654 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40655 if (!SWIG_IsOK(ecode2
)) {
40656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40658 arg2
= static_cast< long >(val2
);
40660 if (!wxPyCheckForApp()) SWIG_fail
;
40661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40662 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40663 wxPyEndAllowThreads(__tstate
);
40664 if (PyErr_Occurred()) SWIG_fail
;
40666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40673 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40674 PyObject
*resultobj
= 0;
40675 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40678 PyObject
*swig_obj
[1] ;
40680 if (!args
) SWIG_fail
;
40681 swig_obj
[0] = args
;
40682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40683 if (!SWIG_IsOK(res1
)) {
40684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40686 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40691 wxPyEndAllowThreads(__tstate
);
40692 if (PyErr_Occurred()) SWIG_fail
;
40694 resultobj
= SWIG_Py_Void();
40701 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40702 PyObject
*resultobj
= 0;
40703 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40704 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40709 PyObject
* obj0
= 0 ;
40710 PyObject
* obj1
= 0 ;
40711 char * kwnames
[] = {
40712 (char *) "self",(char *) "bitmap", NULL
40715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40717 if (!SWIG_IsOK(res1
)) {
40718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40720 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40722 if (!SWIG_IsOK(res2
)) {
40723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40725 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40728 (arg1
)->SetBackingBitmap(arg2
);
40729 wxPyEndAllowThreads(__tstate
);
40730 if (PyErr_Occurred()) SWIG_fail
;
40732 resultobj
= SWIG_Py_Void();
40739 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40740 PyObject
*resultobj
= 0;
40741 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40742 wxPoint
*arg2
= 0 ;
40743 wxWindow
*arg3
= (wxWindow
*) 0 ;
40744 bool arg4
= (bool) false ;
40745 wxRect
*arg5
= (wxRect
*) NULL
;
40756 PyObject
* obj0
= 0 ;
40757 PyObject
* obj1
= 0 ;
40758 PyObject
* obj2
= 0 ;
40759 PyObject
* obj3
= 0 ;
40760 PyObject
* obj4
= 0 ;
40761 char * kwnames
[] = {
40762 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40767 if (!SWIG_IsOK(res1
)) {
40768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40770 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40773 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40775 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40776 if (!SWIG_IsOK(res3
)) {
40777 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40779 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40781 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40782 if (!SWIG_IsOK(ecode4
)) {
40783 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40785 arg4
= static_cast< bool >(val4
);
40788 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40789 if (!SWIG_IsOK(res5
)) {
40790 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40792 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40796 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40797 wxPyEndAllowThreads(__tstate
);
40798 if (PyErr_Occurred()) SWIG_fail
;
40801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40809 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40810 PyObject
*resultobj
= 0;
40811 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40812 wxPoint
*arg2
= 0 ;
40813 wxWindow
*arg3
= (wxWindow
*) 0 ;
40814 wxWindow
*arg4
= (wxWindow
*) 0 ;
40823 PyObject
* obj0
= 0 ;
40824 PyObject
* obj1
= 0 ;
40825 PyObject
* obj2
= 0 ;
40826 PyObject
* obj3
= 0 ;
40827 char * kwnames
[] = {
40828 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40833 if (!SWIG_IsOK(res1
)) {
40834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40836 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40839 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40841 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40842 if (!SWIG_IsOK(res3
)) {
40843 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40845 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40846 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40847 if (!SWIG_IsOK(res4
)) {
40848 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40850 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40853 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40854 wxPyEndAllowThreads(__tstate
);
40855 if (PyErr_Occurred()) SWIG_fail
;
40858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40866 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40867 PyObject
*resultobj
= 0;
40868 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40872 PyObject
*swig_obj
[1] ;
40874 if (!args
) SWIG_fail
;
40875 swig_obj
[0] = args
;
40876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40877 if (!SWIG_IsOK(res1
)) {
40878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40880 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40883 result
= (bool)(arg1
)->EndDrag();
40884 wxPyEndAllowThreads(__tstate
);
40885 if (PyErr_Occurred()) SWIG_fail
;
40888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40896 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40897 PyObject
*resultobj
= 0;
40898 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40899 wxPoint
*arg2
= 0 ;
40904 PyObject
* obj0
= 0 ;
40905 PyObject
* obj1
= 0 ;
40906 char * kwnames
[] = {
40907 (char *) "self",(char *) "pt", NULL
40910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40912 if (!SWIG_IsOK(res1
)) {
40913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40915 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40918 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40922 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40923 wxPyEndAllowThreads(__tstate
);
40924 if (PyErr_Occurred()) SWIG_fail
;
40927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40935 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40936 PyObject
*resultobj
= 0;
40937 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40941 PyObject
*swig_obj
[1] ;
40943 if (!args
) SWIG_fail
;
40944 swig_obj
[0] = args
;
40945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40946 if (!SWIG_IsOK(res1
)) {
40947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40949 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40952 result
= (bool)(arg1
)->Show();
40953 wxPyEndAllowThreads(__tstate
);
40954 if (PyErr_Occurred()) SWIG_fail
;
40957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40965 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40966 PyObject
*resultobj
= 0;
40967 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40971 PyObject
*swig_obj
[1] ;
40973 if (!args
) SWIG_fail
;
40974 swig_obj
[0] = args
;
40975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40976 if (!SWIG_IsOK(res1
)) {
40977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40979 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40982 result
= (bool)(arg1
)->Hide();
40983 wxPyEndAllowThreads(__tstate
);
40984 if (PyErr_Occurred()) SWIG_fail
;
40987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40995 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40996 PyObject
*resultobj
= 0;
40997 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40998 wxPoint
*arg2
= 0 ;
41003 PyObject
* obj0
= 0 ;
41004 PyObject
* obj1
= 0 ;
41005 char * kwnames
[] = {
41006 (char *) "self",(char *) "pos", NULL
41009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41011 if (!SWIG_IsOK(res1
)) {
41012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41014 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41017 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41021 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41022 wxPyEndAllowThreads(__tstate
);
41023 if (PyErr_Occurred()) SWIG_fail
;
41025 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41032 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41033 PyObject
*resultobj
= 0;
41034 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41036 wxPoint
*arg3
= 0 ;
41043 PyObject
* obj0
= 0 ;
41044 PyObject
* obj1
= 0 ;
41045 PyObject
* obj2
= 0 ;
41046 char * kwnames
[] = {
41047 (char *) "self",(char *) "dc",(char *) "pos", NULL
41050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41052 if (!SWIG_IsOK(res1
)) {
41053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41055 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41057 if (!SWIG_IsOK(res2
)) {
41058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41063 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41066 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41070 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41071 wxPyEndAllowThreads(__tstate
);
41072 if (PyErr_Occurred()) SWIG_fail
;
41075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41083 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41084 PyObject
*resultobj
= 0;
41085 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41087 wxMemoryDC
*arg3
= 0 ;
41099 PyObject
* obj0
= 0 ;
41100 PyObject
* obj1
= 0 ;
41101 PyObject
* obj2
= 0 ;
41102 PyObject
* obj3
= 0 ;
41103 PyObject
* obj4
= 0 ;
41104 char * kwnames
[] = {
41105 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41110 if (!SWIG_IsOK(res1
)) {
41111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41113 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41114 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41115 if (!SWIG_IsOK(res2
)) {
41116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41121 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41122 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41123 if (!SWIG_IsOK(res3
)) {
41124 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41129 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41132 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41136 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41140 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41141 wxPyEndAllowThreads(__tstate
);
41142 if (PyErr_Occurred()) SWIG_fail
;
41145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41153 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41154 PyObject
*resultobj
= 0;
41155 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41156 wxPoint
*arg2
= 0 ;
41157 wxPoint
*arg3
= 0 ;
41169 PyObject
* obj0
= 0 ;
41170 PyObject
* obj1
= 0 ;
41171 PyObject
* obj2
= 0 ;
41172 PyObject
* obj3
= 0 ;
41173 PyObject
* obj4
= 0 ;
41174 char * kwnames
[] = {
41175 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41180 if (!SWIG_IsOK(res1
)) {
41181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41183 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41186 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41190 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41192 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41193 if (!SWIG_IsOK(ecode4
)) {
41194 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41196 arg4
= static_cast< bool >(val4
);
41197 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41198 if (!SWIG_IsOK(ecode5
)) {
41199 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41201 arg5
= static_cast< bool >(val5
);
41203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41204 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41205 wxPyEndAllowThreads(__tstate
);
41206 if (PyErr_Occurred()) SWIG_fail
;
41209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41217 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41220 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41221 return SWIG_Py_Void();
41224 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41225 return SWIG_Python_InitShadowInstance(args
);
41228 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41229 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41234 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41235 PyObject
*pyobj
= 0;
41239 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41241 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41248 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41249 PyObject
*resultobj
= 0;
41250 wxWindow
*arg1
= (wxWindow
*) 0 ;
41251 int arg2
= (int) -1 ;
41252 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41253 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41258 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41259 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41260 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41261 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41262 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41263 wxDatePickerCtrl
*result
= 0 ;
41276 bool temp8
= false ;
41277 PyObject
* obj0
= 0 ;
41278 PyObject
* obj1
= 0 ;
41279 PyObject
* obj2
= 0 ;
41280 PyObject
* obj3
= 0 ;
41281 PyObject
* obj4
= 0 ;
41282 PyObject
* obj5
= 0 ;
41283 PyObject
* obj6
= 0 ;
41284 PyObject
* obj7
= 0 ;
41285 char * kwnames
[] = {
41286 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41291 if (!SWIG_IsOK(res1
)) {
41292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41294 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41297 if (!SWIG_IsOK(ecode2
)) {
41298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41300 arg2
= static_cast< int >(val2
);
41303 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41304 if (!SWIG_IsOK(res3
)) {
41305 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41310 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41315 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41321 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41325 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41326 if (!SWIG_IsOK(ecode6
)) {
41327 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41329 arg6
= static_cast< long >(val6
);
41332 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41333 if (!SWIG_IsOK(res7
)) {
41334 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41339 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41343 arg8
= wxString_in_helper(obj7
);
41344 if (arg8
== NULL
) SWIG_fail
;
41349 if (!wxPyCheckForApp()) SWIG_fail
;
41350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41351 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41352 wxPyEndAllowThreads(__tstate
);
41353 if (PyErr_Occurred()) SWIG_fail
;
41355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41370 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41371 PyObject
*resultobj
= 0;
41372 wxDatePickerCtrl
*result
= 0 ;
41374 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41376 if (!wxPyCheckForApp()) SWIG_fail
;
41377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41378 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41379 wxPyEndAllowThreads(__tstate
);
41380 if (PyErr_Occurred()) SWIG_fail
;
41382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41389 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41390 PyObject
*resultobj
= 0;
41391 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41392 wxWindow
*arg2
= (wxWindow
*) 0 ;
41393 int arg3
= (int) -1 ;
41394 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41395 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41396 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41397 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41398 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41399 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41400 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41401 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41402 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41403 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41404 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41420 bool temp9
= false ;
41421 PyObject
* obj0
= 0 ;
41422 PyObject
* obj1
= 0 ;
41423 PyObject
* obj2
= 0 ;
41424 PyObject
* obj3
= 0 ;
41425 PyObject
* obj4
= 0 ;
41426 PyObject
* obj5
= 0 ;
41427 PyObject
* obj6
= 0 ;
41428 PyObject
* obj7
= 0 ;
41429 PyObject
* obj8
= 0 ;
41430 char * kwnames
[] = {
41431 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41436 if (!SWIG_IsOK(res1
)) {
41437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41439 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41440 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41441 if (!SWIG_IsOK(res2
)) {
41442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41444 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41447 if (!SWIG_IsOK(ecode3
)) {
41448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41450 arg3
= static_cast< int >(val3
);
41453 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41454 if (!SWIG_IsOK(res4
)) {
41455 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41460 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41465 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41471 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41475 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41476 if (!SWIG_IsOK(ecode7
)) {
41477 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41479 arg7
= static_cast< long >(val7
);
41482 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41483 if (!SWIG_IsOK(res8
)) {
41484 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41489 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41493 arg9
= wxString_in_helper(obj8
);
41494 if (arg9
== NULL
) SWIG_fail
;
41499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41501 wxPyEndAllowThreads(__tstate
);
41502 if (PyErr_Occurred()) SWIG_fail
;
41505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41521 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41522 PyObject
*resultobj
= 0;
41523 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41524 wxDateTime
*arg2
= 0 ;
41529 PyObject
* obj0
= 0 ;
41530 PyObject
* obj1
= 0 ;
41531 char * kwnames
[] = {
41532 (char *) "self",(char *) "dt", NULL
41535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41537 if (!SWIG_IsOK(res1
)) {
41538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41540 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41542 if (!SWIG_IsOK(res2
)) {
41543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41548 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41551 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41552 wxPyEndAllowThreads(__tstate
);
41553 if (PyErr_Occurred()) SWIG_fail
;
41555 resultobj
= SWIG_Py_Void();
41562 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41563 PyObject
*resultobj
= 0;
41564 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41568 PyObject
*swig_obj
[1] ;
41570 if (!args
) SWIG_fail
;
41571 swig_obj
[0] = args
;
41572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41573 if (!SWIG_IsOK(res1
)) {
41574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41576 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41579 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41580 wxPyEndAllowThreads(__tstate
);
41581 if (PyErr_Occurred()) SWIG_fail
;
41583 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41590 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41591 PyObject
*resultobj
= 0;
41592 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41593 wxDateTime
*arg2
= 0 ;
41594 wxDateTime
*arg3
= 0 ;
41601 PyObject
* obj0
= 0 ;
41602 PyObject
* obj1
= 0 ;
41603 PyObject
* obj2
= 0 ;
41604 char * kwnames
[] = {
41605 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41610 if (!SWIG_IsOK(res1
)) {
41611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41613 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41615 if (!SWIG_IsOK(res2
)) {
41616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41621 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41622 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41623 if (!SWIG_IsOK(res3
)) {
41624 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41629 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41632 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41633 wxPyEndAllowThreads(__tstate
);
41634 if (PyErr_Occurred()) SWIG_fail
;
41636 resultobj
= SWIG_Py_Void();
41643 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41644 PyObject
*resultobj
= 0;
41645 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41649 PyObject
*swig_obj
[1] ;
41651 if (!args
) SWIG_fail
;
41652 swig_obj
[0] = args
;
41653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41654 if (!SWIG_IsOK(res1
)) {
41655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41657 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41660 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41661 wxPyEndAllowThreads(__tstate
);
41662 if (PyErr_Occurred()) SWIG_fail
;
41664 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41671 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41672 PyObject
*resultobj
= 0;
41673 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41677 PyObject
*swig_obj
[1] ;
41679 if (!args
) SWIG_fail
;
41680 swig_obj
[0] = args
;
41681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41682 if (!SWIG_IsOK(res1
)) {
41683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41685 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41688 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41689 wxPyEndAllowThreads(__tstate
);
41690 if (PyErr_Occurred()) SWIG_fail
;
41692 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41699 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41702 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41703 return SWIG_Py_Void();
41706 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41707 return SWIG_Python_InitShadowInstance(args
);
41710 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41711 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41716 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41717 PyObject
*pyobj
= 0;
41721 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41723 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41730 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41731 PyObject
*resultobj
= 0;
41732 wxWindow
*arg1
= (wxWindow
*) 0 ;
41734 wxString
*arg3
= 0 ;
41735 wxString
*arg4
= 0 ;
41736 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41737 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41738 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41739 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41740 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41741 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41742 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41743 wxHyperlinkCtrl
*result
= 0 ;
41748 bool temp3
= false ;
41749 bool temp4
= false ;
41754 bool temp8
= false ;
41755 PyObject
* obj0
= 0 ;
41756 PyObject
* obj1
= 0 ;
41757 PyObject
* obj2
= 0 ;
41758 PyObject
* obj3
= 0 ;
41759 PyObject
* obj4
= 0 ;
41760 PyObject
* obj5
= 0 ;
41761 PyObject
* obj6
= 0 ;
41762 PyObject
* obj7
= 0 ;
41763 char * kwnames
[] = {
41764 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41769 if (!SWIG_IsOK(res1
)) {
41770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41772 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41774 if (!SWIG_IsOK(ecode2
)) {
41775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41777 arg2
= static_cast< int >(val2
);
41779 arg3
= wxString_in_helper(obj2
);
41780 if (arg3
== NULL
) SWIG_fail
;
41784 arg4
= wxString_in_helper(obj3
);
41785 if (arg4
== NULL
) SWIG_fail
;
41791 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41797 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41801 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41802 if (!SWIG_IsOK(ecode7
)) {
41803 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41805 arg7
= static_cast< long >(val7
);
41809 arg8
= wxString_in_helper(obj7
);
41810 if (arg8
== NULL
) SWIG_fail
;
41815 if (!wxPyCheckForApp()) SWIG_fail
;
41816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41817 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41818 wxPyEndAllowThreads(__tstate
);
41819 if (PyErr_Occurred()) SWIG_fail
;
41821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41852 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41853 PyObject
*resultobj
= 0;
41854 wxHyperlinkCtrl
*result
= 0 ;
41856 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41858 if (!wxPyCheckForApp()) SWIG_fail
;
41859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41860 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41861 wxPyEndAllowThreads(__tstate
);
41862 if (PyErr_Occurred()) SWIG_fail
;
41864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41871 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41872 PyObject
*resultobj
= 0;
41873 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41874 wxWindow
*arg2
= (wxWindow
*) 0 ;
41876 wxString
*arg4
= 0 ;
41877 wxString
*arg5
= 0 ;
41878 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41879 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41880 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41881 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41882 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41883 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41884 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41892 bool temp4
= false ;
41893 bool temp5
= false ;
41898 bool temp9
= false ;
41899 PyObject
* obj0
= 0 ;
41900 PyObject
* obj1
= 0 ;
41901 PyObject
* obj2
= 0 ;
41902 PyObject
* obj3
= 0 ;
41903 PyObject
* obj4
= 0 ;
41904 PyObject
* obj5
= 0 ;
41905 PyObject
* obj6
= 0 ;
41906 PyObject
* obj7
= 0 ;
41907 PyObject
* obj8
= 0 ;
41908 char * kwnames
[] = {
41909 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41914 if (!SWIG_IsOK(res1
)) {
41915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41917 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41918 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41919 if (!SWIG_IsOK(res2
)) {
41920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41922 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41923 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41924 if (!SWIG_IsOK(ecode3
)) {
41925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41927 arg3
= static_cast< int >(val3
);
41929 arg4
= wxString_in_helper(obj3
);
41930 if (arg4
== NULL
) SWIG_fail
;
41934 arg5
= wxString_in_helper(obj4
);
41935 if (arg5
== NULL
) SWIG_fail
;
41941 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41947 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41951 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41952 if (!SWIG_IsOK(ecode8
)) {
41953 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41955 arg8
= static_cast< long >(val8
);
41959 arg9
= wxString_in_helper(obj8
);
41960 if (arg9
== NULL
) SWIG_fail
;
41965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41966 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41967 wxPyEndAllowThreads(__tstate
);
41968 if (PyErr_Occurred()) SWIG_fail
;
41971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42003 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42004 PyObject
*resultobj
= 0;
42005 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42009 PyObject
*swig_obj
[1] ;
42011 if (!args
) SWIG_fail
;
42012 swig_obj
[0] = args
;
42013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42014 if (!SWIG_IsOK(res1
)) {
42015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42017 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42020 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42021 wxPyEndAllowThreads(__tstate
);
42022 if (PyErr_Occurred()) SWIG_fail
;
42024 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42031 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42032 PyObject
*resultobj
= 0;
42033 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42034 wxColour
*arg2
= 0 ;
42038 PyObject
* obj0
= 0 ;
42039 PyObject
* obj1
= 0 ;
42040 char * kwnames
[] = {
42041 (char *) "self",(char *) "colour", NULL
42044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42046 if (!SWIG_IsOK(res1
)) {
42047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42049 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42052 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42056 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42057 wxPyEndAllowThreads(__tstate
);
42058 if (PyErr_Occurred()) SWIG_fail
;
42060 resultobj
= SWIG_Py_Void();
42067 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42068 PyObject
*resultobj
= 0;
42069 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42073 PyObject
*swig_obj
[1] ;
42075 if (!args
) SWIG_fail
;
42076 swig_obj
[0] = args
;
42077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42078 if (!SWIG_IsOK(res1
)) {
42079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42081 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42084 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42085 wxPyEndAllowThreads(__tstate
);
42086 if (PyErr_Occurred()) SWIG_fail
;
42088 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42095 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42096 PyObject
*resultobj
= 0;
42097 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42098 wxColour
*arg2
= 0 ;
42102 PyObject
* obj0
= 0 ;
42103 PyObject
* obj1
= 0 ;
42104 char * kwnames
[] = {
42105 (char *) "self",(char *) "colour", NULL
42108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42110 if (!SWIG_IsOK(res1
)) {
42111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42113 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42116 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42120 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42121 wxPyEndAllowThreads(__tstate
);
42122 if (PyErr_Occurred()) SWIG_fail
;
42124 resultobj
= SWIG_Py_Void();
42131 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42132 PyObject
*resultobj
= 0;
42133 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42137 PyObject
*swig_obj
[1] ;
42139 if (!args
) SWIG_fail
;
42140 swig_obj
[0] = args
;
42141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42142 if (!SWIG_IsOK(res1
)) {
42143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42145 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42148 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42149 wxPyEndAllowThreads(__tstate
);
42150 if (PyErr_Occurred()) SWIG_fail
;
42152 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42159 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42160 PyObject
*resultobj
= 0;
42161 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42162 wxColour
*arg2
= 0 ;
42166 PyObject
* obj0
= 0 ;
42167 PyObject
* obj1
= 0 ;
42168 char * kwnames
[] = {
42169 (char *) "self",(char *) "colour", NULL
42172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42174 if (!SWIG_IsOK(res1
)) {
42175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42177 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42180 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42184 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42185 wxPyEndAllowThreads(__tstate
);
42186 if (PyErr_Occurred()) SWIG_fail
;
42188 resultobj
= SWIG_Py_Void();
42195 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42196 PyObject
*resultobj
= 0;
42197 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42201 PyObject
*swig_obj
[1] ;
42203 if (!args
) SWIG_fail
;
42204 swig_obj
[0] = args
;
42205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42206 if (!SWIG_IsOK(res1
)) {
42207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42209 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42212 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42213 wxPyEndAllowThreads(__tstate
);
42214 if (PyErr_Occurred()) SWIG_fail
;
42218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42229 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42230 PyObject
*resultobj
= 0;
42231 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42232 wxString
*arg2
= 0 ;
42235 bool temp2
= false ;
42236 PyObject
* obj0
= 0 ;
42237 PyObject
* obj1
= 0 ;
42238 char * kwnames
[] = {
42239 (char *) "self",(char *) "url", NULL
42242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42244 if (!SWIG_IsOK(res1
)) {
42245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42247 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42249 arg2
= wxString_in_helper(obj1
);
42250 if (arg2
== NULL
) SWIG_fail
;
42254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42255 (arg1
)->SetURL((wxString
const &)*arg2
);
42256 wxPyEndAllowThreads(__tstate
);
42257 if (PyErr_Occurred()) SWIG_fail
;
42259 resultobj
= SWIG_Py_Void();
42274 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42275 PyObject
*resultobj
= 0;
42276 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42277 bool arg2
= (bool) true ;
42282 PyObject
* obj0
= 0 ;
42283 PyObject
* obj1
= 0 ;
42284 char * kwnames
[] = {
42285 (char *) "self",(char *) "visited", NULL
42288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42290 if (!SWIG_IsOK(res1
)) {
42291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42293 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42295 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42296 if (!SWIG_IsOK(ecode2
)) {
42297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42299 arg2
= static_cast< bool >(val2
);
42302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42303 (arg1
)->SetVisited(arg2
);
42304 wxPyEndAllowThreads(__tstate
);
42305 if (PyErr_Occurred()) SWIG_fail
;
42307 resultobj
= SWIG_Py_Void();
42314 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42315 PyObject
*resultobj
= 0;
42316 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42320 PyObject
*swig_obj
[1] ;
42322 if (!args
) SWIG_fail
;
42323 swig_obj
[0] = args
;
42324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42325 if (!SWIG_IsOK(res1
)) {
42326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42328 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42331 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42332 wxPyEndAllowThreads(__tstate
);
42333 if (PyErr_Occurred()) SWIG_fail
;
42336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42344 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42347 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42348 return SWIG_Py_Void();
42351 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42352 return SWIG_Python_InitShadowInstance(args
);
42355 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42356 PyObject
*resultobj
= 0;
42357 wxObject
*arg1
= (wxObject
*) 0 ;
42359 wxString
*arg3
= 0 ;
42360 wxHyperlinkEvent
*result
= 0 ;
42365 bool temp3
= false ;
42366 PyObject
* obj0
= 0 ;
42367 PyObject
* obj1
= 0 ;
42368 PyObject
* obj2
= 0 ;
42369 char * kwnames
[] = {
42370 (char *) "generator",(char *) "id",(char *) "url", NULL
42373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42375 if (!SWIG_IsOK(res1
)) {
42376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42378 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42380 if (!SWIG_IsOK(ecode2
)) {
42381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42383 arg2
= static_cast< int >(val2
);
42385 arg3
= wxString_in_helper(obj2
);
42386 if (arg3
== NULL
) SWIG_fail
;
42390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42391 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42392 wxPyEndAllowThreads(__tstate
);
42393 if (PyErr_Occurred()) SWIG_fail
;
42395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42410 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42411 PyObject
*resultobj
= 0;
42412 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42416 PyObject
*swig_obj
[1] ;
42418 if (!args
) SWIG_fail
;
42419 swig_obj
[0] = args
;
42420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42421 if (!SWIG_IsOK(res1
)) {
42422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42424 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42427 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42428 wxPyEndAllowThreads(__tstate
);
42429 if (PyErr_Occurred()) SWIG_fail
;
42433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42444 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42445 PyObject
*resultobj
= 0;
42446 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42447 wxString
*arg2
= 0 ;
42450 bool temp2
= false ;
42451 PyObject
* obj0
= 0 ;
42452 PyObject
* obj1
= 0 ;
42453 char * kwnames
[] = {
42454 (char *) "self",(char *) "url", NULL
42457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42459 if (!SWIG_IsOK(res1
)) {
42460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42462 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42464 arg2
= wxString_in_helper(obj1
);
42465 if (arg2
== NULL
) SWIG_fail
;
42469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42470 (arg1
)->SetURL((wxString
const &)*arg2
);
42471 wxPyEndAllowThreads(__tstate
);
42472 if (PyErr_Occurred()) SWIG_fail
;
42474 resultobj
= SWIG_Py_Void();
42489 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42492 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42493 return SWIG_Py_Void();
42496 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42497 return SWIG_Python_InitShadowInstance(args
);
42500 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42501 PyObject
*resultobj
= 0;
42502 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42503 wxWindow
*arg2
= (wxWindow
*) 0 ;
42505 wxString
const &arg4_defvalue
= wxEmptyString
;
42506 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42507 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42508 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42509 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42510 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42511 long arg7
= (long) 0 ;
42512 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42513 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42514 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42515 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42523 bool temp4
= false ;
42530 bool temp9
= false ;
42531 PyObject
* obj0
= 0 ;
42532 PyObject
* obj1
= 0 ;
42533 PyObject
* obj2
= 0 ;
42534 PyObject
* obj3
= 0 ;
42535 PyObject
* obj4
= 0 ;
42536 PyObject
* obj5
= 0 ;
42537 PyObject
* obj6
= 0 ;
42538 PyObject
* obj7
= 0 ;
42539 PyObject
* obj8
= 0 ;
42540 char * kwnames
[] = {
42541 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42546 if (!SWIG_IsOK(res1
)) {
42547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42549 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42550 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42551 if (!SWIG_IsOK(res2
)) {
42552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42554 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42556 if (!SWIG_IsOK(ecode3
)) {
42557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42559 arg3
= static_cast< int >(val3
);
42562 arg4
= wxString_in_helper(obj3
);
42563 if (arg4
== NULL
) SWIG_fail
;
42570 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42576 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42580 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42581 if (!SWIG_IsOK(ecode7
)) {
42582 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42584 arg7
= static_cast< long >(val7
);
42587 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42588 if (!SWIG_IsOK(res8
)) {
42589 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42594 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42598 arg9
= wxString_in_helper(obj8
);
42599 if (arg9
== NULL
) SWIG_fail
;
42604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42605 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42606 wxPyEndAllowThreads(__tstate
);
42607 if (PyErr_Occurred()) SWIG_fail
;
42610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42634 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42635 PyObject
*resultobj
= 0;
42636 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42642 PyObject
* obj0
= 0 ;
42643 PyObject
* obj1
= 0 ;
42644 char * kwnames
[] = {
42645 (char *) "self",(char *) "newmargin", NULL
42648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42650 if (!SWIG_IsOK(res1
)) {
42651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42653 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42655 if (!SWIG_IsOK(ecode2
)) {
42656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42658 arg2
= static_cast< int >(val2
);
42660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42661 (arg1
)->SetInternalMargin(arg2
);
42662 wxPyEndAllowThreads(__tstate
);
42663 if (PyErr_Occurred()) SWIG_fail
;
42665 resultobj
= SWIG_Py_Void();
42672 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42673 PyObject
*resultobj
= 0;
42674 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42678 PyObject
*swig_obj
[1] ;
42680 if (!args
) SWIG_fail
;
42681 swig_obj
[0] = args
;
42682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42683 if (!SWIG_IsOK(res1
)) {
42684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42686 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42689 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42690 wxPyEndAllowThreads(__tstate
);
42691 if (PyErr_Occurred()) SWIG_fail
;
42693 resultobj
= SWIG_From_int(static_cast< int >(result
));
42700 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42701 PyObject
*resultobj
= 0;
42702 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42708 PyObject
* obj0
= 0 ;
42709 PyObject
* obj1
= 0 ;
42710 char * kwnames
[] = {
42711 (char *) "self",(char *) "prop", NULL
42714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42716 if (!SWIG_IsOK(res1
)) {
42717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42719 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42721 if (!SWIG_IsOK(ecode2
)) {
42722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42724 arg2
= static_cast< int >(val2
);
42726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42727 (arg1
)->SetTextCtrlProportion(arg2
);
42728 wxPyEndAllowThreads(__tstate
);
42729 if (PyErr_Occurred()) SWIG_fail
;
42731 resultobj
= SWIG_Py_Void();
42738 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42739 PyObject
*resultobj
= 0;
42740 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42744 PyObject
*swig_obj
[1] ;
42746 if (!args
) SWIG_fail
;
42747 swig_obj
[0] = args
;
42748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42749 if (!SWIG_IsOK(res1
)) {
42750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42752 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42755 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42756 wxPyEndAllowThreads(__tstate
);
42757 if (PyErr_Occurred()) SWIG_fail
;
42759 resultobj
= SWIG_From_int(static_cast< int >(result
));
42766 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42767 PyObject
*resultobj
= 0;
42768 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42774 PyObject
* obj0
= 0 ;
42775 PyObject
* obj1
= 0 ;
42776 char * kwnames
[] = {
42777 (char *) "self",(char *) "prop", NULL
42780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42782 if (!SWIG_IsOK(res1
)) {
42783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42785 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42787 if (!SWIG_IsOK(ecode2
)) {
42788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42790 arg2
= static_cast< int >(val2
);
42792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42793 (arg1
)->SetPickerCtrlProportion(arg2
);
42794 wxPyEndAllowThreads(__tstate
);
42795 if (PyErr_Occurred()) SWIG_fail
;
42797 resultobj
= SWIG_Py_Void();
42804 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42805 PyObject
*resultobj
= 0;
42806 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42810 PyObject
*swig_obj
[1] ;
42812 if (!args
) SWIG_fail
;
42813 swig_obj
[0] = args
;
42814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42815 if (!SWIG_IsOK(res1
)) {
42816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42818 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42821 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42822 wxPyEndAllowThreads(__tstate
);
42823 if (PyErr_Occurred()) SWIG_fail
;
42825 resultobj
= SWIG_From_int(static_cast< int >(result
));
42832 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42833 PyObject
*resultobj
= 0;
42834 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42838 PyObject
*swig_obj
[1] ;
42840 if (!args
) SWIG_fail
;
42841 swig_obj
[0] = args
;
42842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42843 if (!SWIG_IsOK(res1
)) {
42844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42846 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42849 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42850 wxPyEndAllowThreads(__tstate
);
42851 if (PyErr_Occurred()) SWIG_fail
;
42854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42862 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42863 PyObject
*resultobj
= 0;
42864 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42865 bool arg2
= (bool) true ;
42870 PyObject
* obj0
= 0 ;
42871 PyObject
* obj1
= 0 ;
42872 char * kwnames
[] = {
42873 (char *) "self",(char *) "grow", NULL
42876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42878 if (!SWIG_IsOK(res1
)) {
42879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42881 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42883 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42884 if (!SWIG_IsOK(ecode2
)) {
42885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42887 arg2
= static_cast< bool >(val2
);
42890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42891 (arg1
)->SetTextCtrlGrowable(arg2
);
42892 wxPyEndAllowThreads(__tstate
);
42893 if (PyErr_Occurred()) SWIG_fail
;
42895 resultobj
= SWIG_Py_Void();
42902 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42903 PyObject
*resultobj
= 0;
42904 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42908 PyObject
*swig_obj
[1] ;
42910 if (!args
) SWIG_fail
;
42911 swig_obj
[0] = args
;
42912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42913 if (!SWIG_IsOK(res1
)) {
42914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42916 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42919 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42920 wxPyEndAllowThreads(__tstate
);
42921 if (PyErr_Occurred()) SWIG_fail
;
42924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42932 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42933 PyObject
*resultobj
= 0;
42934 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42935 bool arg2
= (bool) true ;
42940 PyObject
* obj0
= 0 ;
42941 PyObject
* obj1
= 0 ;
42942 char * kwnames
[] = {
42943 (char *) "self",(char *) "grow", NULL
42946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42948 if (!SWIG_IsOK(res1
)) {
42949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42951 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42953 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42954 if (!SWIG_IsOK(ecode2
)) {
42955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42957 arg2
= static_cast< bool >(val2
);
42960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42961 (arg1
)->SetPickerCtrlGrowable(arg2
);
42962 wxPyEndAllowThreads(__tstate
);
42963 if (PyErr_Occurred()) SWIG_fail
;
42965 resultobj
= SWIG_Py_Void();
42972 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42973 PyObject
*resultobj
= 0;
42974 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42978 PyObject
*swig_obj
[1] ;
42980 if (!args
) SWIG_fail
;
42981 swig_obj
[0] = args
;
42982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42983 if (!SWIG_IsOK(res1
)) {
42984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42986 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42989 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42990 wxPyEndAllowThreads(__tstate
);
42991 if (PyErr_Occurred()) SWIG_fail
;
42994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43002 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43003 PyObject
*resultobj
= 0;
43004 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43005 wxTextCtrl
*result
= 0 ;
43008 PyObject
*swig_obj
[1] ;
43010 if (!args
) SWIG_fail
;
43011 swig_obj
[0] = args
;
43012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43013 if (!SWIG_IsOK(res1
)) {
43014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43016 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43019 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43020 wxPyEndAllowThreads(__tstate
);
43021 if (PyErr_Occurred()) SWIG_fail
;
43024 resultobj
= wxPyMake_wxObject(result
, 0);
43032 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43033 PyObject
*resultobj
= 0;
43034 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43035 wxControl
*result
= 0 ;
43038 PyObject
*swig_obj
[1] ;
43040 if (!args
) SWIG_fail
;
43041 swig_obj
[0] = args
;
43042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43043 if (!SWIG_IsOK(res1
)) {
43044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43046 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43049 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43050 wxPyEndAllowThreads(__tstate
);
43051 if (PyErr_Occurred()) SWIG_fail
;
43054 resultobj
= wxPyMake_wxObject(result
, 0);
43062 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43065 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43066 return SWIG_Py_Void();
43069 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43070 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43075 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43076 PyObject
*pyobj
= 0;
43080 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43082 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43089 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43090 PyObject
*resultobj
= 0;
43091 wxWindow
*arg1
= (wxWindow
*) 0 ;
43092 int arg2
= (int) -1 ;
43093 wxColour
const &arg3_defvalue
= *wxBLACK
;
43094 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43095 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43096 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43097 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43098 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43099 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43100 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43101 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43102 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43103 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43104 wxColourPickerCtrl
*result
= 0 ;
43116 bool temp8
= false ;
43117 PyObject
* obj0
= 0 ;
43118 PyObject
* obj1
= 0 ;
43119 PyObject
* obj2
= 0 ;
43120 PyObject
* obj3
= 0 ;
43121 PyObject
* obj4
= 0 ;
43122 PyObject
* obj5
= 0 ;
43123 PyObject
* obj6
= 0 ;
43124 PyObject
* obj7
= 0 ;
43125 char * kwnames
[] = {
43126 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43131 if (!SWIG_IsOK(res1
)) {
43132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43137 if (!SWIG_IsOK(ecode2
)) {
43138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43140 arg2
= static_cast< int >(val2
);
43145 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43151 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43157 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43161 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43162 if (!SWIG_IsOK(ecode6
)) {
43163 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43165 arg6
= static_cast< long >(val6
);
43168 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43169 if (!SWIG_IsOK(res7
)) {
43170 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43175 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43179 arg8
= wxString_in_helper(obj7
);
43180 if (arg8
== NULL
) SWIG_fail
;
43185 if (!wxPyCheckForApp()) SWIG_fail
;
43186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43187 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43188 wxPyEndAllowThreads(__tstate
);
43189 if (PyErr_Occurred()) SWIG_fail
;
43191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43206 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43207 PyObject
*resultobj
= 0;
43208 wxColourPickerCtrl
*result
= 0 ;
43210 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43212 if (!wxPyCheckForApp()) SWIG_fail
;
43213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43214 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43215 wxPyEndAllowThreads(__tstate
);
43216 if (PyErr_Occurred()) SWIG_fail
;
43218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43225 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43226 PyObject
*resultobj
= 0;
43227 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43228 wxWindow
*arg2
= (wxWindow
*) 0 ;
43230 wxColour
const &arg4_defvalue
= *wxBLACK
;
43231 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43232 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43233 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43234 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43235 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43236 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43237 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43238 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43239 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43240 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43255 bool temp9
= false ;
43256 PyObject
* obj0
= 0 ;
43257 PyObject
* obj1
= 0 ;
43258 PyObject
* obj2
= 0 ;
43259 PyObject
* obj3
= 0 ;
43260 PyObject
* obj4
= 0 ;
43261 PyObject
* obj5
= 0 ;
43262 PyObject
* obj6
= 0 ;
43263 PyObject
* obj7
= 0 ;
43264 PyObject
* obj8
= 0 ;
43265 char * kwnames
[] = {
43266 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43271 if (!SWIG_IsOK(res1
)) {
43272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43274 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43276 if (!SWIG_IsOK(res2
)) {
43277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43279 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43280 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43281 if (!SWIG_IsOK(ecode3
)) {
43282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43284 arg3
= static_cast< int >(val3
);
43288 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43294 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43300 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43304 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43305 if (!SWIG_IsOK(ecode7
)) {
43306 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43308 arg7
= static_cast< long >(val7
);
43311 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43312 if (!SWIG_IsOK(res8
)) {
43313 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43318 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43322 arg9
= wxString_in_helper(obj8
);
43323 if (arg9
== NULL
) SWIG_fail
;
43328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43329 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43330 wxPyEndAllowThreads(__tstate
);
43331 if (PyErr_Occurred()) SWIG_fail
;
43334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43350 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43351 PyObject
*resultobj
= 0;
43352 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43356 PyObject
*swig_obj
[1] ;
43358 if (!args
) SWIG_fail
;
43359 swig_obj
[0] = args
;
43360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43361 if (!SWIG_IsOK(res1
)) {
43362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43364 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43367 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43368 wxPyEndAllowThreads(__tstate
);
43369 if (PyErr_Occurred()) SWIG_fail
;
43371 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43378 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43379 PyObject
*resultobj
= 0;
43380 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43381 wxColour
*arg2
= 0 ;
43385 PyObject
* obj0
= 0 ;
43386 PyObject
* obj1
= 0 ;
43387 char * kwnames
[] = {
43388 (char *) "self",(char *) "col", NULL
43391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43393 if (!SWIG_IsOK(res1
)) {
43394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43396 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43399 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43403 (arg1
)->SetColour((wxColour
const &)*arg2
);
43404 wxPyEndAllowThreads(__tstate
);
43405 if (PyErr_Occurred()) SWIG_fail
;
43407 resultobj
= SWIG_Py_Void();
43414 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43417 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43418 return SWIG_Py_Void();
43421 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43422 return SWIG_Python_InitShadowInstance(args
);
43425 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43426 PyObject
*resultobj
= 0;
43427 wxObject
*arg1
= (wxObject
*) 0 ;
43429 wxColour
*arg3
= 0 ;
43430 wxColourPickerEvent
*result
= 0 ;
43436 PyObject
* obj0
= 0 ;
43437 PyObject
* obj1
= 0 ;
43438 PyObject
* obj2
= 0 ;
43439 char * kwnames
[] = {
43440 (char *) "generator",(char *) "id",(char *) "col", NULL
43443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43445 if (!SWIG_IsOK(res1
)) {
43446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43448 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43450 if (!SWIG_IsOK(ecode2
)) {
43451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43453 arg2
= static_cast< int >(val2
);
43456 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43460 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43461 wxPyEndAllowThreads(__tstate
);
43462 if (PyErr_Occurred()) SWIG_fail
;
43464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43471 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43472 PyObject
*resultobj
= 0;
43473 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43477 PyObject
*swig_obj
[1] ;
43479 if (!args
) SWIG_fail
;
43480 swig_obj
[0] = args
;
43481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43482 if (!SWIG_IsOK(res1
)) {
43483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43485 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43488 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43489 wxPyEndAllowThreads(__tstate
);
43490 if (PyErr_Occurred()) SWIG_fail
;
43492 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43499 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43500 PyObject
*resultobj
= 0;
43501 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43502 wxColour
*arg2
= 0 ;
43506 PyObject
* obj0
= 0 ;
43507 PyObject
* obj1
= 0 ;
43508 char * kwnames
[] = {
43509 (char *) "self",(char *) "c", NULL
43512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43514 if (!SWIG_IsOK(res1
)) {
43515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43517 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43520 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43524 (arg1
)->SetColour((wxColour
const &)*arg2
);
43525 wxPyEndAllowThreads(__tstate
);
43526 if (PyErr_Occurred()) SWIG_fail
;
43528 resultobj
= SWIG_Py_Void();
43535 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43537 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43538 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43539 return SWIG_Py_Void();
43542 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43543 return SWIG_Python_InitShadowInstance(args
);
43546 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43547 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43552 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43553 PyObject
*pyobj
= 0;
43557 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43559 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43566 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43567 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43572 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43573 PyObject
*pyobj
= 0;
43577 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43579 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43586 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43587 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43592 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43593 PyObject
*pyobj
= 0;
43597 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43599 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43606 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43607 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43612 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43613 PyObject
*pyobj
= 0;
43617 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43619 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43626 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43627 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43632 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43633 PyObject
*pyobj
= 0;
43637 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43639 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43646 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43647 PyObject
*resultobj
= 0;
43648 wxWindow
*arg1
= (wxWindow
*) 0 ;
43649 int arg2
= (int) -1 ;
43650 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43651 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43652 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43653 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43654 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43655 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43656 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43657 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43658 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43659 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43660 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43661 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43662 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43663 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43664 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43665 wxFilePickerCtrl
*result
= 0 ;
43670 bool temp3
= false ;
43671 bool temp4
= false ;
43672 bool temp5
= false ;
43679 bool temp10
= false ;
43680 PyObject
* obj0
= 0 ;
43681 PyObject
* obj1
= 0 ;
43682 PyObject
* obj2
= 0 ;
43683 PyObject
* obj3
= 0 ;
43684 PyObject
* obj4
= 0 ;
43685 PyObject
* obj5
= 0 ;
43686 PyObject
* obj6
= 0 ;
43687 PyObject
* obj7
= 0 ;
43688 PyObject
* obj8
= 0 ;
43689 PyObject
* obj9
= 0 ;
43690 char * kwnames
[] = {
43691 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43696 if (!SWIG_IsOK(res1
)) {
43697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43699 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43702 if (!SWIG_IsOK(ecode2
)) {
43703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43705 arg2
= static_cast< int >(val2
);
43709 arg3
= wxString_in_helper(obj2
);
43710 if (arg3
== NULL
) SWIG_fail
;
43716 arg4
= wxString_in_helper(obj3
);
43717 if (arg4
== NULL
) SWIG_fail
;
43723 arg5
= wxString_in_helper(obj4
);
43724 if (arg5
== NULL
) SWIG_fail
;
43731 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43737 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43741 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43742 if (!SWIG_IsOK(ecode8
)) {
43743 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43745 arg8
= static_cast< long >(val8
);
43748 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43749 if (!SWIG_IsOK(res9
)) {
43750 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43755 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43759 arg10
= wxString_in_helper(obj9
);
43760 if (arg10
== NULL
) SWIG_fail
;
43765 if (!wxPyCheckForApp()) SWIG_fail
;
43766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43767 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
);
43768 wxPyEndAllowThreads(__tstate
);
43769 if (PyErr_Occurred()) SWIG_fail
;
43771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43810 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43811 PyObject
*resultobj
= 0;
43812 wxFilePickerCtrl
*result
= 0 ;
43814 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43816 if (!wxPyCheckForApp()) SWIG_fail
;
43817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43818 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43819 wxPyEndAllowThreads(__tstate
);
43820 if (PyErr_Occurred()) SWIG_fail
;
43822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43829 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43830 PyObject
*resultobj
= 0;
43831 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43832 wxWindow
*arg2
= (wxWindow
*) 0 ;
43833 int arg3
= (int) -1 ;
43834 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43835 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43836 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43837 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43838 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43839 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43840 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43841 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43842 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43843 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43844 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43845 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43846 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43847 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43848 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43856 bool temp4
= false ;
43857 bool temp5
= false ;
43858 bool temp6
= false ;
43865 bool temp11
= false ;
43866 PyObject
* obj0
= 0 ;
43867 PyObject
* obj1
= 0 ;
43868 PyObject
* obj2
= 0 ;
43869 PyObject
* obj3
= 0 ;
43870 PyObject
* obj4
= 0 ;
43871 PyObject
* obj5
= 0 ;
43872 PyObject
* obj6
= 0 ;
43873 PyObject
* obj7
= 0 ;
43874 PyObject
* obj8
= 0 ;
43875 PyObject
* obj9
= 0 ;
43876 PyObject
* obj10
= 0 ;
43877 char * kwnames
[] = {
43878 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43883 if (!SWIG_IsOK(res1
)) {
43884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43886 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43887 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43888 if (!SWIG_IsOK(res2
)) {
43889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43891 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43894 if (!SWIG_IsOK(ecode3
)) {
43895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43897 arg3
= static_cast< int >(val3
);
43901 arg4
= wxString_in_helper(obj3
);
43902 if (arg4
== NULL
) SWIG_fail
;
43908 arg5
= wxString_in_helper(obj4
);
43909 if (arg5
== NULL
) SWIG_fail
;
43915 arg6
= wxString_in_helper(obj5
);
43916 if (arg6
== NULL
) SWIG_fail
;
43923 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43929 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43933 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43934 if (!SWIG_IsOK(ecode9
)) {
43935 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43937 arg9
= static_cast< long >(val9
);
43940 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43941 if (!SWIG_IsOK(res10
)) {
43942 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43947 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43951 arg11
= wxString_in_helper(obj10
);
43952 if (arg11
== NULL
) SWIG_fail
;
43957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43958 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
);
43959 wxPyEndAllowThreads(__tstate
);
43960 if (PyErr_Occurred()) SWIG_fail
;
43963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44003 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44004 PyObject
*resultobj
= 0;
44005 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44009 PyObject
*swig_obj
[1] ;
44011 if (!args
) SWIG_fail
;
44012 swig_obj
[0] = args
;
44013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44014 if (!SWIG_IsOK(res1
)) {
44015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44017 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44020 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44021 wxPyEndAllowThreads(__tstate
);
44022 if (PyErr_Occurred()) SWIG_fail
;
44026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44037 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44038 PyObject
*resultobj
= 0;
44039 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44040 wxString
*arg2
= 0 ;
44043 bool temp2
= false ;
44044 PyObject
* obj0
= 0 ;
44045 PyObject
* obj1
= 0 ;
44046 char * kwnames
[] = {
44047 (char *) "self",(char *) "str", NULL
44050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44052 if (!SWIG_IsOK(res1
)) {
44053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44055 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44057 arg2
= wxString_in_helper(obj1
);
44058 if (arg2
== NULL
) SWIG_fail
;
44062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44063 (arg1
)->SetPath((wxString
const &)*arg2
);
44064 wxPyEndAllowThreads(__tstate
);
44065 if (PyErr_Occurred()) SWIG_fail
;
44067 resultobj
= SWIG_Py_Void();
44082 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44083 PyObject
*resultobj
= 0;
44084 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44085 wxString
*arg2
= 0 ;
44089 bool temp2
= false ;
44090 PyObject
* obj0
= 0 ;
44091 PyObject
* obj1
= 0 ;
44092 char * kwnames
[] = {
44093 (char *) "self",(char *) "path", NULL
44096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44098 if (!SWIG_IsOK(res1
)) {
44099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44101 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44103 arg2
= wxString_in_helper(obj1
);
44104 if (arg2
== NULL
) SWIG_fail
;
44108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44109 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44110 wxPyEndAllowThreads(__tstate
);
44111 if (PyErr_Occurred()) SWIG_fail
;
44114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44130 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44131 PyObject
*resultobj
= 0;
44132 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44136 PyObject
*swig_obj
[1] ;
44138 if (!args
) SWIG_fail
;
44139 swig_obj
[0] = args
;
44140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44141 if (!SWIG_IsOK(res1
)) {
44142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44144 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44147 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44148 wxPyEndAllowThreads(__tstate
);
44149 if (PyErr_Occurred()) SWIG_fail
;
44153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44164 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44167 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44168 return SWIG_Py_Void();
44171 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44172 return SWIG_Python_InitShadowInstance(args
);
44175 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44176 PyObject
*resultobj
= 0;
44177 wxWindow
*arg1
= (wxWindow
*) 0 ;
44178 int arg2
= (int) -1 ;
44179 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44180 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44181 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44182 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44183 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44184 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44185 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44186 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44187 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44188 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44189 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44190 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44191 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44192 wxDirPickerCtrl
*result
= 0 ;
44197 bool temp3
= false ;
44198 bool temp4
= false ;
44205 bool temp9
= false ;
44206 PyObject
* obj0
= 0 ;
44207 PyObject
* obj1
= 0 ;
44208 PyObject
* obj2
= 0 ;
44209 PyObject
* obj3
= 0 ;
44210 PyObject
* obj4
= 0 ;
44211 PyObject
* obj5
= 0 ;
44212 PyObject
* obj6
= 0 ;
44213 PyObject
* obj7
= 0 ;
44214 PyObject
* obj8
= 0 ;
44215 char * kwnames
[] = {
44216 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44221 if (!SWIG_IsOK(res1
)) {
44222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44224 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44227 if (!SWIG_IsOK(ecode2
)) {
44228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44230 arg2
= static_cast< int >(val2
);
44234 arg3
= wxString_in_helper(obj2
);
44235 if (arg3
== NULL
) SWIG_fail
;
44241 arg4
= wxString_in_helper(obj3
);
44242 if (arg4
== NULL
) SWIG_fail
;
44249 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44255 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44259 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44260 if (!SWIG_IsOK(ecode7
)) {
44261 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44263 arg7
= static_cast< long >(val7
);
44266 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44267 if (!SWIG_IsOK(res8
)) {
44268 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44273 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44277 arg9
= wxString_in_helper(obj8
);
44278 if (arg9
== NULL
) SWIG_fail
;
44283 if (!wxPyCheckForApp()) SWIG_fail
;
44284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44285 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
);
44286 wxPyEndAllowThreads(__tstate
);
44287 if (PyErr_Occurred()) SWIG_fail
;
44289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44320 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44321 PyObject
*resultobj
= 0;
44322 wxDirPickerCtrl
*result
= 0 ;
44324 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44326 if (!wxPyCheckForApp()) SWIG_fail
;
44327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44328 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44329 wxPyEndAllowThreads(__tstate
);
44330 if (PyErr_Occurred()) SWIG_fail
;
44332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44339 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44340 PyObject
*resultobj
= 0;
44341 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44342 wxWindow
*arg2
= (wxWindow
*) 0 ;
44343 int arg3
= (int) -1 ;
44344 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44345 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44346 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44347 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44348 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44349 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44350 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44351 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44352 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44353 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44354 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44355 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44356 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44364 bool temp4
= false ;
44365 bool temp5
= false ;
44372 bool temp10
= false ;
44373 PyObject
* obj0
= 0 ;
44374 PyObject
* obj1
= 0 ;
44375 PyObject
* obj2
= 0 ;
44376 PyObject
* obj3
= 0 ;
44377 PyObject
* obj4
= 0 ;
44378 PyObject
* obj5
= 0 ;
44379 PyObject
* obj6
= 0 ;
44380 PyObject
* obj7
= 0 ;
44381 PyObject
* obj8
= 0 ;
44382 PyObject
* obj9
= 0 ;
44383 char * kwnames
[] = {
44384 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44389 if (!SWIG_IsOK(res1
)) {
44390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44392 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44393 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44394 if (!SWIG_IsOK(res2
)) {
44395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44397 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44400 if (!SWIG_IsOK(ecode3
)) {
44401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44403 arg3
= static_cast< int >(val3
);
44407 arg4
= wxString_in_helper(obj3
);
44408 if (arg4
== NULL
) SWIG_fail
;
44414 arg5
= wxString_in_helper(obj4
);
44415 if (arg5
== NULL
) SWIG_fail
;
44422 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44428 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44432 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44433 if (!SWIG_IsOK(ecode8
)) {
44434 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44436 arg8
= static_cast< long >(val8
);
44439 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44440 if (!SWIG_IsOK(res9
)) {
44441 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44446 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44450 arg10
= wxString_in_helper(obj9
);
44451 if (arg10
== NULL
) SWIG_fail
;
44456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44457 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
);
44458 wxPyEndAllowThreads(__tstate
);
44459 if (PyErr_Occurred()) SWIG_fail
;
44462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44494 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44495 PyObject
*resultobj
= 0;
44496 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44500 PyObject
*swig_obj
[1] ;
44502 if (!args
) SWIG_fail
;
44503 swig_obj
[0] = args
;
44504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44505 if (!SWIG_IsOK(res1
)) {
44506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44508 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44511 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44512 wxPyEndAllowThreads(__tstate
);
44513 if (PyErr_Occurred()) SWIG_fail
;
44517 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44519 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44528 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44529 PyObject
*resultobj
= 0;
44530 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44531 wxString
*arg2
= 0 ;
44534 bool temp2
= false ;
44535 PyObject
* obj0
= 0 ;
44536 PyObject
* obj1
= 0 ;
44537 char * kwnames
[] = {
44538 (char *) "self",(char *) "str", NULL
44541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44543 if (!SWIG_IsOK(res1
)) {
44544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44546 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44548 arg2
= wxString_in_helper(obj1
);
44549 if (arg2
== NULL
) SWIG_fail
;
44553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44554 (arg1
)->SetPath((wxString
const &)*arg2
);
44555 wxPyEndAllowThreads(__tstate
);
44556 if (PyErr_Occurred()) SWIG_fail
;
44558 resultobj
= SWIG_Py_Void();
44573 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44574 PyObject
*resultobj
= 0;
44575 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44576 wxString
*arg2
= 0 ;
44580 bool temp2
= false ;
44581 PyObject
* obj0
= 0 ;
44582 PyObject
* obj1
= 0 ;
44583 char * kwnames
[] = {
44584 (char *) "self",(char *) "path", NULL
44587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44589 if (!SWIG_IsOK(res1
)) {
44590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44592 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44594 arg2
= wxString_in_helper(obj1
);
44595 if (arg2
== NULL
) SWIG_fail
;
44599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44600 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44601 wxPyEndAllowThreads(__tstate
);
44602 if (PyErr_Occurred()) SWIG_fail
;
44605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44621 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44622 PyObject
*resultobj
= 0;
44623 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44627 PyObject
*swig_obj
[1] ;
44629 if (!args
) SWIG_fail
;
44630 swig_obj
[0] = args
;
44631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44632 if (!SWIG_IsOK(res1
)) {
44633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44635 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44638 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44639 wxPyEndAllowThreads(__tstate
);
44640 if (PyErr_Occurred()) SWIG_fail
;
44644 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44646 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44655 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44658 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44659 return SWIG_Py_Void();
44662 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44663 return SWIG_Python_InitShadowInstance(args
);
44666 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44667 PyObject
*resultobj
= 0;
44669 wxObject
*arg2
= (wxObject
*) 0 ;
44671 wxString
*arg4
= 0 ;
44672 wxFileDirPickerEvent
*result
= 0 ;
44679 bool temp4
= false ;
44680 PyObject
* obj0
= 0 ;
44681 PyObject
* obj1
= 0 ;
44682 PyObject
* obj2
= 0 ;
44683 PyObject
* obj3
= 0 ;
44684 char * kwnames
[] = {
44685 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44689 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44690 if (!SWIG_IsOK(ecode1
)) {
44691 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44693 arg1
= static_cast< wxEventType
>(val1
);
44694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44695 if (!SWIG_IsOK(res2
)) {
44696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44698 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44700 if (!SWIG_IsOK(ecode3
)) {
44701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44703 arg3
= static_cast< int >(val3
);
44705 arg4
= wxString_in_helper(obj3
);
44706 if (arg4
== NULL
) SWIG_fail
;
44710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44711 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44712 wxPyEndAllowThreads(__tstate
);
44713 if (PyErr_Occurred()) SWIG_fail
;
44715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44730 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44731 PyObject
*resultobj
= 0;
44732 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44736 PyObject
*swig_obj
[1] ;
44738 if (!args
) SWIG_fail
;
44739 swig_obj
[0] = args
;
44740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44741 if (!SWIG_IsOK(res1
)) {
44742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44744 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44747 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44748 wxPyEndAllowThreads(__tstate
);
44749 if (PyErr_Occurred()) SWIG_fail
;
44753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44764 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44765 PyObject
*resultobj
= 0;
44766 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44767 wxString
*arg2
= 0 ;
44770 bool temp2
= false ;
44771 PyObject
* obj0
= 0 ;
44772 PyObject
* obj1
= 0 ;
44773 char * kwnames
[] = {
44774 (char *) "self",(char *) "p", NULL
44777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44779 if (!SWIG_IsOK(res1
)) {
44780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44782 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44784 arg2
= wxString_in_helper(obj1
);
44785 if (arg2
== NULL
) SWIG_fail
;
44789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44790 (arg1
)->SetPath((wxString
const &)*arg2
);
44791 wxPyEndAllowThreads(__tstate
);
44792 if (PyErr_Occurred()) SWIG_fail
;
44794 resultobj
= SWIG_Py_Void();
44809 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44812 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44813 return SWIG_Py_Void();
44816 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44817 return SWIG_Python_InitShadowInstance(args
);
44820 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44821 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44826 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44827 PyObject
*pyobj
= 0;
44831 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44833 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44840 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44841 PyObject
*resultobj
= 0;
44842 wxWindow
*arg1
= (wxWindow
*) 0 ;
44843 int arg2
= (int) -1 ;
44844 wxFont
const &arg3_defvalue
= wxNullFont
;
44845 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44846 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44847 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44848 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44849 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44850 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44851 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44852 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44853 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44854 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44855 wxFontPickerCtrl
*result
= 0 ;
44868 bool temp8
= false ;
44869 PyObject
* obj0
= 0 ;
44870 PyObject
* obj1
= 0 ;
44871 PyObject
* obj2
= 0 ;
44872 PyObject
* obj3
= 0 ;
44873 PyObject
* obj4
= 0 ;
44874 PyObject
* obj5
= 0 ;
44875 PyObject
* obj6
= 0 ;
44876 PyObject
* obj7
= 0 ;
44877 char * kwnames
[] = {
44878 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44883 if (!SWIG_IsOK(res1
)) {
44884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44886 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44889 if (!SWIG_IsOK(ecode2
)) {
44890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44892 arg2
= static_cast< int >(val2
);
44895 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44896 if (!SWIG_IsOK(res3
)) {
44897 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44902 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44907 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44913 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44917 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44918 if (!SWIG_IsOK(ecode6
)) {
44919 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44921 arg6
= static_cast< long >(val6
);
44924 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44925 if (!SWIG_IsOK(res7
)) {
44926 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44931 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44935 arg8
= wxString_in_helper(obj7
);
44936 if (arg8
== NULL
) SWIG_fail
;
44941 if (!wxPyCheckForApp()) SWIG_fail
;
44942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44943 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44944 wxPyEndAllowThreads(__tstate
);
44945 if (PyErr_Occurred()) SWIG_fail
;
44947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44962 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44963 PyObject
*resultobj
= 0;
44964 wxFontPickerCtrl
*result
= 0 ;
44966 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44968 if (!wxPyCheckForApp()) SWIG_fail
;
44969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44970 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44971 wxPyEndAllowThreads(__tstate
);
44972 if (PyErr_Occurred()) SWIG_fail
;
44974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44981 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44982 PyObject
*resultobj
= 0;
44983 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44984 wxWindow
*arg2
= (wxWindow
*) 0 ;
44985 int arg3
= (int) -1 ;
44986 wxFont
const &arg4_defvalue
= wxNullFont
;
44987 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44988 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44989 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44990 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44991 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44992 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44993 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44994 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44995 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44996 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45012 bool temp9
= false ;
45013 PyObject
* obj0
= 0 ;
45014 PyObject
* obj1
= 0 ;
45015 PyObject
* obj2
= 0 ;
45016 PyObject
* obj3
= 0 ;
45017 PyObject
* obj4
= 0 ;
45018 PyObject
* obj5
= 0 ;
45019 PyObject
* obj6
= 0 ;
45020 PyObject
* obj7
= 0 ;
45021 PyObject
* obj8
= 0 ;
45022 char * kwnames
[] = {
45023 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45028 if (!SWIG_IsOK(res1
)) {
45029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45031 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45033 if (!SWIG_IsOK(res2
)) {
45034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45036 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45039 if (!SWIG_IsOK(ecode3
)) {
45040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45042 arg3
= static_cast< int >(val3
);
45045 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45046 if (!SWIG_IsOK(res4
)) {
45047 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45052 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45057 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45063 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45067 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45068 if (!SWIG_IsOK(ecode7
)) {
45069 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45071 arg7
= static_cast< long >(val7
);
45074 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45075 if (!SWIG_IsOK(res8
)) {
45076 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45081 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45085 arg9
= wxString_in_helper(obj8
);
45086 if (arg9
== NULL
) SWIG_fail
;
45091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45092 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45093 wxPyEndAllowThreads(__tstate
);
45094 if (PyErr_Occurred()) SWIG_fail
;
45097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45113 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45114 PyObject
*resultobj
= 0;
45115 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45119 PyObject
*swig_obj
[1] ;
45121 if (!args
) SWIG_fail
;
45122 swig_obj
[0] = args
;
45123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45124 if (!SWIG_IsOK(res1
)) {
45125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45127 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45130 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45131 wxPyEndAllowThreads(__tstate
);
45132 if (PyErr_Occurred()) SWIG_fail
;
45134 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45141 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45142 PyObject
*resultobj
= 0;
45143 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45149 PyObject
* obj0
= 0 ;
45150 PyObject
* obj1
= 0 ;
45151 char * kwnames
[] = {
45152 (char *) "self",(char *) "f", NULL
45155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45157 if (!SWIG_IsOK(res1
)) {
45158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45160 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45161 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45162 if (!SWIG_IsOK(res2
)) {
45163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45168 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45171 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45172 wxPyEndAllowThreads(__tstate
);
45173 if (PyErr_Occurred()) SWIG_fail
;
45175 resultobj
= SWIG_Py_Void();
45182 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45183 PyObject
*resultobj
= 0;
45184 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45185 unsigned int arg2
;
45188 unsigned int val2
;
45190 PyObject
* obj0
= 0 ;
45191 PyObject
* obj1
= 0 ;
45192 char * kwnames
[] = {
45193 (char *) "self",(char *) "max", NULL
45196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45198 if (!SWIG_IsOK(res1
)) {
45199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45201 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45202 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45203 if (!SWIG_IsOK(ecode2
)) {
45204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45206 arg2
= static_cast< unsigned int >(val2
);
45208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45209 (arg1
)->SetMaxPointSize(arg2
);
45210 wxPyEndAllowThreads(__tstate
);
45211 if (PyErr_Occurred()) SWIG_fail
;
45213 resultobj
= SWIG_Py_Void();
45220 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45221 PyObject
*resultobj
= 0;
45222 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45223 unsigned int result
;
45226 PyObject
*swig_obj
[1] ;
45228 if (!args
) SWIG_fail
;
45229 swig_obj
[0] = args
;
45230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45231 if (!SWIG_IsOK(res1
)) {
45232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45234 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45237 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45238 wxPyEndAllowThreads(__tstate
);
45239 if (PyErr_Occurred()) SWIG_fail
;
45241 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45248 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45251 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45252 return SWIG_Py_Void();
45255 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45256 return SWIG_Python_InitShadowInstance(args
);
45259 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45260 PyObject
*resultobj
= 0;
45261 wxObject
*arg1
= (wxObject
*) 0 ;
45264 wxFontPickerEvent
*result
= 0 ;
45271 PyObject
* obj0
= 0 ;
45272 PyObject
* obj1
= 0 ;
45273 PyObject
* obj2
= 0 ;
45274 char * kwnames
[] = {
45275 (char *) "generator",(char *) "id",(char *) "f", NULL
45278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45280 if (!SWIG_IsOK(res1
)) {
45281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45283 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45285 if (!SWIG_IsOK(ecode2
)) {
45286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45288 arg2
= static_cast< int >(val2
);
45289 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45290 if (!SWIG_IsOK(res3
)) {
45291 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45296 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45299 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45300 wxPyEndAllowThreads(__tstate
);
45301 if (PyErr_Occurred()) SWIG_fail
;
45303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45310 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45311 PyObject
*resultobj
= 0;
45312 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45316 PyObject
*swig_obj
[1] ;
45318 if (!args
) SWIG_fail
;
45319 swig_obj
[0] = args
;
45320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45321 if (!SWIG_IsOK(res1
)) {
45322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45324 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45327 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45328 wxPyEndAllowThreads(__tstate
);
45329 if (PyErr_Occurred()) SWIG_fail
;
45331 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45338 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45339 PyObject
*resultobj
= 0;
45340 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45346 PyObject
* obj0
= 0 ;
45347 PyObject
* obj1
= 0 ;
45348 char * kwnames
[] = {
45349 (char *) "self",(char *) "c", NULL
45352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45354 if (!SWIG_IsOK(res1
)) {
45355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45357 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45358 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45359 if (!SWIG_IsOK(res2
)) {
45360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45365 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45368 (arg1
)->SetFont((wxFont
const &)*arg2
);
45369 wxPyEndAllowThreads(__tstate
);
45370 if (PyErr_Occurred()) SWIG_fail
;
45372 resultobj
= SWIG_Py_Void();
45379 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45382 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45383 return SWIG_Py_Void();
45386 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45387 return SWIG_Python_InitShadowInstance(args
);
45390 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45391 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45396 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45397 PyObject
*pyobj
= 0;
45401 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45403 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45410 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45411 PyObject
*resultobj
= 0;
45412 wxWindow
*arg1
= (wxWindow
*) 0 ;
45413 int arg2
= (int) -1 ;
45414 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45415 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45416 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45417 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45418 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45419 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45420 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45421 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45422 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45423 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45424 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45425 wxCollapsiblePane
*result
= 0 ;
45430 bool temp3
= false ;
45437 bool temp8
= false ;
45438 PyObject
* obj0
= 0 ;
45439 PyObject
* obj1
= 0 ;
45440 PyObject
* obj2
= 0 ;
45441 PyObject
* obj3
= 0 ;
45442 PyObject
* obj4
= 0 ;
45443 PyObject
* obj5
= 0 ;
45444 PyObject
* obj6
= 0 ;
45445 PyObject
* obj7
= 0 ;
45446 char * kwnames
[] = {
45447 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45452 if (!SWIG_IsOK(res1
)) {
45453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45455 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45458 if (!SWIG_IsOK(ecode2
)) {
45459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45461 arg2
= static_cast< int >(val2
);
45465 arg3
= wxString_in_helper(obj2
);
45466 if (arg3
== NULL
) SWIG_fail
;
45473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45483 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45484 if (!SWIG_IsOK(ecode6
)) {
45485 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45487 arg6
= static_cast< long >(val6
);
45490 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45491 if (!SWIG_IsOK(res7
)) {
45492 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45497 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45501 arg8
= wxString_in_helper(obj7
);
45502 if (arg8
== NULL
) SWIG_fail
;
45507 if (!wxPyCheckForApp()) SWIG_fail
;
45508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45509 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45510 wxPyEndAllowThreads(__tstate
);
45511 if (PyErr_Occurred()) SWIG_fail
;
45513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45536 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45537 PyObject
*resultobj
= 0;
45538 wxCollapsiblePane
*result
= 0 ;
45540 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45542 if (!wxPyCheckForApp()) SWIG_fail
;
45543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45544 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45545 wxPyEndAllowThreads(__tstate
);
45546 if (PyErr_Occurred()) SWIG_fail
;
45548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45555 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45556 PyObject
*resultobj
= 0;
45557 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45558 wxWindow
*arg2
= (wxWindow
*) 0 ;
45559 int arg3
= (int) -1 ;
45560 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45561 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45562 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45563 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45564 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45565 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45566 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45567 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45568 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45569 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45570 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45578 bool temp4
= false ;
45585 bool temp9
= false ;
45586 PyObject
* obj0
= 0 ;
45587 PyObject
* obj1
= 0 ;
45588 PyObject
* obj2
= 0 ;
45589 PyObject
* obj3
= 0 ;
45590 PyObject
* obj4
= 0 ;
45591 PyObject
* obj5
= 0 ;
45592 PyObject
* obj6
= 0 ;
45593 PyObject
* obj7
= 0 ;
45594 PyObject
* obj8
= 0 ;
45595 char * kwnames
[] = {
45596 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45601 if (!SWIG_IsOK(res1
)) {
45602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45604 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45605 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45606 if (!SWIG_IsOK(res2
)) {
45607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45609 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45612 if (!SWIG_IsOK(ecode3
)) {
45613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45615 arg3
= static_cast< int >(val3
);
45619 arg4
= wxString_in_helper(obj3
);
45620 if (arg4
== NULL
) SWIG_fail
;
45627 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45633 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45637 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45638 if (!SWIG_IsOK(ecode7
)) {
45639 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45641 arg7
= static_cast< long >(val7
);
45644 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45645 if (!SWIG_IsOK(res8
)) {
45646 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45651 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45655 arg9
= wxString_in_helper(obj8
);
45656 if (arg9
== NULL
) SWIG_fail
;
45661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45662 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45663 wxPyEndAllowThreads(__tstate
);
45664 if (PyErr_Occurred()) SWIG_fail
;
45667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45691 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45692 PyObject
*resultobj
= 0;
45693 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45694 bool arg2
= (bool) true ;
45699 PyObject
* obj0
= 0 ;
45700 PyObject
* obj1
= 0 ;
45701 char * kwnames
[] = {
45702 (char *) "self",(char *) "collapse", NULL
45705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45707 if (!SWIG_IsOK(res1
)) {
45708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45710 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45712 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45713 if (!SWIG_IsOK(ecode2
)) {
45714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45716 arg2
= static_cast< bool >(val2
);
45719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45720 (arg1
)->Collapse(arg2
);
45721 wxPyEndAllowThreads(__tstate
);
45722 if (PyErr_Occurred()) SWIG_fail
;
45724 resultobj
= SWIG_Py_Void();
45731 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45732 PyObject
*resultobj
= 0;
45733 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45736 PyObject
*swig_obj
[1] ;
45738 if (!args
) SWIG_fail
;
45739 swig_obj
[0] = args
;
45740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45741 if (!SWIG_IsOK(res1
)) {
45742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45744 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45748 wxPyEndAllowThreads(__tstate
);
45749 if (PyErr_Occurred()) SWIG_fail
;
45751 resultobj
= SWIG_Py_Void();
45758 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45759 PyObject
*resultobj
= 0;
45760 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45764 PyObject
*swig_obj
[1] ;
45766 if (!args
) SWIG_fail
;
45767 swig_obj
[0] = args
;
45768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45769 if (!SWIG_IsOK(res1
)) {
45770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45772 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45775 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45776 wxPyEndAllowThreads(__tstate
);
45777 if (PyErr_Occurred()) SWIG_fail
;
45780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45788 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45789 PyObject
*resultobj
= 0;
45790 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45794 PyObject
*swig_obj
[1] ;
45796 if (!args
) SWIG_fail
;
45797 swig_obj
[0] = args
;
45798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45799 if (!SWIG_IsOK(res1
)) {
45800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45802 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45805 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
45806 wxPyEndAllowThreads(__tstate
);
45807 if (PyErr_Occurred()) SWIG_fail
;
45810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45818 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45819 PyObject
*resultobj
= 0;
45820 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45821 wxWindow
*result
= 0 ;
45824 PyObject
*swig_obj
[1] ;
45826 if (!args
) SWIG_fail
;
45827 swig_obj
[0] = args
;
45828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45829 if (!SWIG_IsOK(res1
)) {
45830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45832 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45835 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
45836 wxPyEndAllowThreads(__tstate
);
45837 if (PyErr_Occurred()) SWIG_fail
;
45840 resultobj
= wxPyMake_wxObject(result
, 0);
45848 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45851 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
45852 return SWIG_Py_Void();
45855 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45856 return SWIG_Python_InitShadowInstance(args
);
45859 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45860 PyObject
*resultobj
= 0;
45861 wxObject
*arg1
= (wxObject
*) 0 ;
45864 wxCollapsiblePaneEvent
*result
= 0 ;
45871 PyObject
* obj0
= 0 ;
45872 PyObject
* obj1
= 0 ;
45873 PyObject
* obj2
= 0 ;
45874 char * kwnames
[] = {
45875 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45880 if (!SWIG_IsOK(res1
)) {
45881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45883 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45885 if (!SWIG_IsOK(ecode2
)) {
45886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45888 arg2
= static_cast< int >(val2
);
45889 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45890 if (!SWIG_IsOK(ecode3
)) {
45891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45893 arg3
= static_cast< bool >(val3
);
45895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45896 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
45897 wxPyEndAllowThreads(__tstate
);
45898 if (PyErr_Occurred()) SWIG_fail
;
45900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
45907 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45908 PyObject
*resultobj
= 0;
45909 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45913 PyObject
*swig_obj
[1] ;
45915 if (!args
) SWIG_fail
;
45916 swig_obj
[0] = args
;
45917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45918 if (!SWIG_IsOK(res1
)) {
45919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
45921 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45924 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
45925 wxPyEndAllowThreads(__tstate
);
45926 if (PyErr_Occurred()) SWIG_fail
;
45929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45937 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45938 PyObject
*resultobj
= 0;
45939 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45945 PyObject
* obj0
= 0 ;
45946 PyObject
* obj1
= 0 ;
45947 char * kwnames
[] = {
45948 (char *) "self",(char *) "c", NULL
45951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45953 if (!SWIG_IsOK(res1
)) {
45954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
45956 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45957 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45958 if (!SWIG_IsOK(ecode2
)) {
45959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
45961 arg2
= static_cast< bool >(val2
);
45963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45964 (arg1
)->SetCollapsed(arg2
);
45965 wxPyEndAllowThreads(__tstate
);
45966 if (PyErr_Occurred()) SWIG_fail
;
45968 resultobj
= SWIG_Py_Void();
45975 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45978 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
45979 return SWIG_Py_Void();
45982 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45983 return SWIG_Python_InitShadowInstance(args
);
45986 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
45987 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
45992 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
45993 PyObject
*pyobj
= 0;
45997 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
45999 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46006 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46007 PyObject
*resultobj
= 0;
46008 wxWindow
*arg1
= (wxWindow
*) 0 ;
46009 int arg2
= (int) -1 ;
46010 wxString
const &arg3_defvalue
= wxEmptyString
;
46011 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46012 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46013 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46014 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46015 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46016 long arg6
= (long) 0 ;
46017 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46018 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46019 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46020 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46021 wxSearchCtrl
*result
= 0 ;
46026 bool temp3
= false ;
46033 bool temp8
= false ;
46034 PyObject
* obj0
= 0 ;
46035 PyObject
* obj1
= 0 ;
46036 PyObject
* obj2
= 0 ;
46037 PyObject
* obj3
= 0 ;
46038 PyObject
* obj4
= 0 ;
46039 PyObject
* obj5
= 0 ;
46040 PyObject
* obj6
= 0 ;
46041 PyObject
* obj7
= 0 ;
46042 char * kwnames
[] = {
46043 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46048 if (!SWIG_IsOK(res1
)) {
46049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46051 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46054 if (!SWIG_IsOK(ecode2
)) {
46055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46057 arg2
= static_cast< int >(val2
);
46061 arg3
= wxString_in_helper(obj2
);
46062 if (arg3
== NULL
) SWIG_fail
;
46069 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46075 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46079 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46080 if (!SWIG_IsOK(ecode6
)) {
46081 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46083 arg6
= static_cast< long >(val6
);
46086 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46087 if (!SWIG_IsOK(res7
)) {
46088 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46091 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46093 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46097 arg8
= wxString_in_helper(obj7
);
46098 if (arg8
== NULL
) SWIG_fail
;
46103 if (!wxPyCheckForApp()) SWIG_fail
;
46104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46105 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46106 wxPyEndAllowThreads(__tstate
);
46107 if (PyErr_Occurred()) SWIG_fail
;
46109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46132 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46133 PyObject
*resultobj
= 0;
46134 wxSearchCtrl
*result
= 0 ;
46136 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46138 if (!wxPyCheckForApp()) SWIG_fail
;
46139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46140 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46141 wxPyEndAllowThreads(__tstate
);
46142 if (PyErr_Occurred()) SWIG_fail
;
46144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46151 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46152 PyObject
*resultobj
= 0;
46153 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46154 wxWindow
*arg2
= (wxWindow
*) 0 ;
46155 int arg3
= (int) -1 ;
46156 wxString
const &arg4_defvalue
= wxEmptyString
;
46157 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46158 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46159 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46160 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46161 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46162 long arg7
= (long) 0 ;
46163 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46164 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46165 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46166 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46174 bool temp4
= false ;
46181 bool temp9
= false ;
46182 PyObject
* obj0
= 0 ;
46183 PyObject
* obj1
= 0 ;
46184 PyObject
* obj2
= 0 ;
46185 PyObject
* obj3
= 0 ;
46186 PyObject
* obj4
= 0 ;
46187 PyObject
* obj5
= 0 ;
46188 PyObject
* obj6
= 0 ;
46189 PyObject
* obj7
= 0 ;
46190 PyObject
* obj8
= 0 ;
46191 char * kwnames
[] = {
46192 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46197 if (!SWIG_IsOK(res1
)) {
46198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46200 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46202 if (!SWIG_IsOK(res2
)) {
46203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46205 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46208 if (!SWIG_IsOK(ecode3
)) {
46209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46211 arg3
= static_cast< int >(val3
);
46215 arg4
= wxString_in_helper(obj3
);
46216 if (arg4
== NULL
) SWIG_fail
;
46223 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46229 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46233 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46234 if (!SWIG_IsOK(ecode7
)) {
46235 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46237 arg7
= static_cast< long >(val7
);
46240 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46241 if (!SWIG_IsOK(res8
)) {
46242 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46247 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46251 arg9
= wxString_in_helper(obj8
);
46252 if (arg9
== NULL
) SWIG_fail
;
46257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46258 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46259 wxPyEndAllowThreads(__tstate
);
46260 if (PyErr_Occurred()) SWIG_fail
;
46263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46287 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46288 PyObject
*resultobj
= 0;
46289 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46290 wxMenu
*arg2
= (wxMenu
*) 0 ;
46295 PyObject
* obj0
= 0 ;
46296 PyObject
* obj1
= 0 ;
46297 char * kwnames
[] = {
46298 (char *) "self",(char *) "menu", NULL
46301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46303 if (!SWIG_IsOK(res1
)) {
46304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46306 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46307 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46308 if (!SWIG_IsOK(res2
)) {
46309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46311 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46314 (arg1
)->SetMenu(arg2
);
46315 wxPyEndAllowThreads(__tstate
);
46316 if (PyErr_Occurred()) SWIG_fail
;
46318 resultobj
= SWIG_Py_Void();
46325 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46326 PyObject
*resultobj
= 0;
46327 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46328 wxMenu
*result
= 0 ;
46331 PyObject
*swig_obj
[1] ;
46333 if (!args
) SWIG_fail
;
46334 swig_obj
[0] = args
;
46335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46336 if (!SWIG_IsOK(res1
)) {
46337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46339 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46342 result
= (wxMenu
*)(arg1
)->GetMenu();
46343 wxPyEndAllowThreads(__tstate
);
46344 if (PyErr_Occurred()) SWIG_fail
;
46347 resultobj
= wxPyMake_wxObject(result
, 0);
46355 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowSearchButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46356 PyObject
*resultobj
= 0;
46357 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46363 PyObject
* obj0
= 0 ;
46364 PyObject
* obj1
= 0 ;
46365 char * kwnames
[] = {
46366 (char *) "self",(char *) "show", NULL
46369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46371 if (!SWIG_IsOK(res1
)) {
46372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46374 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46375 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46376 if (!SWIG_IsOK(ecode2
)) {
46377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46379 arg2
= static_cast< bool >(val2
);
46381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46382 (arg1
)->ShowSearchButton(arg2
);
46383 wxPyEndAllowThreads(__tstate
);
46384 if (PyErr_Occurred()) SWIG_fail
;
46386 resultobj
= SWIG_Py_Void();
46393 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46394 PyObject
*resultobj
= 0;
46395 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46399 PyObject
*swig_obj
[1] ;
46401 if (!args
) SWIG_fail
;
46402 swig_obj
[0] = args
;
46403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46404 if (!SWIG_IsOK(res1
)) {
46405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46407 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46410 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsSearchButtonVisible();
46411 wxPyEndAllowThreads(__tstate
);
46412 if (PyErr_Occurred()) SWIG_fail
;
46415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46423 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46424 PyObject
*resultobj
= 0;
46425 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46431 PyObject
* obj0
= 0 ;
46432 PyObject
* obj1
= 0 ;
46433 char * kwnames
[] = {
46434 (char *) "self",(char *) "show", NULL
46437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46439 if (!SWIG_IsOK(res1
)) {
46440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46442 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46443 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46444 if (!SWIG_IsOK(ecode2
)) {
46445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46447 arg2
= static_cast< bool >(val2
);
46449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46450 (arg1
)->ShowCancelButton(arg2
);
46451 wxPyEndAllowThreads(__tstate
);
46452 if (PyErr_Occurred()) SWIG_fail
;
46454 resultobj
= SWIG_Py_Void();
46461 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46462 PyObject
*resultobj
= 0;
46463 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46467 PyObject
*swig_obj
[1] ;
46469 if (!args
) SWIG_fail
;
46470 swig_obj
[0] = args
;
46471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46472 if (!SWIG_IsOK(res1
)) {
46473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46475 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46478 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsCancelButtonVisible();
46479 wxPyEndAllowThreads(__tstate
);
46480 if (PyErr_Occurred()) SWIG_fail
;
46483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46491 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46492 PyObject
*resultobj
= 0;
46493 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46494 wxBitmap
*arg2
= 0 ;
46499 PyObject
* obj0
= 0 ;
46500 PyObject
* obj1
= 0 ;
46501 char * kwnames
[] = {
46502 (char *) "self",(char *)"arg2", NULL
46505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46507 if (!SWIG_IsOK(res1
)) {
46508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46510 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46512 if (!SWIG_IsOK(res2
)) {
46513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46518 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46521 wxSearchCtrl_SetSearchBitmap(arg1
,(wxBitmap
const &)*arg2
);
46522 wxPyEndAllowThreads(__tstate
);
46523 if (PyErr_Occurred()) SWIG_fail
;
46525 resultobj
= SWIG_Py_Void();
46532 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46533 PyObject
*resultobj
= 0;
46534 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46535 wxBitmap
*arg2
= 0 ;
46540 PyObject
* obj0
= 0 ;
46541 PyObject
* obj1
= 0 ;
46542 char * kwnames
[] = {
46543 (char *) "self",(char *)"arg2", NULL
46546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46548 if (!SWIG_IsOK(res1
)) {
46549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46551 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46553 if (!SWIG_IsOK(res2
)) {
46554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46559 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46562 wxSearchCtrl_SetSearchMenuBitmap(arg1
,(wxBitmap
const &)*arg2
);
46563 wxPyEndAllowThreads(__tstate
);
46564 if (PyErr_Occurred()) SWIG_fail
;
46566 resultobj
= SWIG_Py_Void();
46573 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46574 PyObject
*resultobj
= 0;
46575 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46576 wxBitmap
*arg2
= 0 ;
46581 PyObject
* obj0
= 0 ;
46582 PyObject
* obj1
= 0 ;
46583 char * kwnames
[] = {
46584 (char *) "self",(char *)"arg2", NULL
46587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46589 if (!SWIG_IsOK(res1
)) {
46590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46592 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46594 if (!SWIG_IsOK(res2
)) {
46595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46600 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46603 wxSearchCtrl_SetCancelBitmap(arg1
,(wxBitmap
const &)*arg2
);
46604 wxPyEndAllowThreads(__tstate
);
46605 if (PyErr_Occurred()) SWIG_fail
;
46607 resultobj
= SWIG_Py_Void();
46614 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46617 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
46618 return SWIG_Py_Void();
46621 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46622 return SWIG_Python_InitShadowInstance(args
);
46625 static PyMethodDef SwigMethods
[] = {
46626 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46628 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46630 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46631 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46633 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46634 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46636 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46638 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46639 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46640 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46641 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46642 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46646 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46648 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46649 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46650 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46651 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46652 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46654 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46655 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46656 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46657 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46659 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46661 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46662 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46663 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46664 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46665 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46666 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46667 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46669 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46671 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46672 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46674 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46675 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46676 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46677 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46678 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46679 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46680 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46681 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46682 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46683 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46684 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46685 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46686 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46687 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46688 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46689 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46690 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46691 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46692 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46693 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46694 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46695 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46696 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46697 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46698 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46699 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46700 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46701 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46702 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46703 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46704 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46705 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46707 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46709 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46710 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46711 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46712 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46713 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46715 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46717 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46718 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46720 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46723 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46724 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46726 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46727 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46728 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46729 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46730 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46731 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46732 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46733 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46734 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46735 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46736 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46737 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46738 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46739 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46740 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46741 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46742 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46743 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46744 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46745 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46746 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46747 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46748 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46749 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46750 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46751 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46752 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46753 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46754 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46755 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46756 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46757 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46758 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46759 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46760 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
46761 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46762 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46763 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46764 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46765 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
46766 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46767 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46769 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46770 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46771 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
46772 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
46773 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46774 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
46775 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46776 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46777 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46778 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
46779 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
46780 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46781 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
46782 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
46783 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46784 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46785 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46786 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46787 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46788 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46789 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46790 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46791 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46792 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
46793 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
46794 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
46795 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
46796 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
46797 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
46798 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
46799 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46800 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
46801 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
46802 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
46803 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
46804 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
46805 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
46806 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
46807 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
46808 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
46809 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
46810 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46811 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
46812 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
46813 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46814 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
46815 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46816 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
46817 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46818 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
46819 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46820 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46821 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46822 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46823 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
46824 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
46825 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
46826 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
46827 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
46828 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
46829 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
46830 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
46831 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46832 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46833 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46834 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46835 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
46836 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
46837 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46838 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46839 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46840 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46841 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46842 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46843 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46844 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46845 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
46846 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46847 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46848 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46849 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46850 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46851 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
46852 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
46853 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
46854 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
46855 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
46856 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
46857 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
46858 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
46859 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
46860 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
46861 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46862 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
46863 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
46864 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
46865 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46866 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
46867 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46868 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46869 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
46870 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46871 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46872 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46873 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
46874 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
46875 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46876 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
46877 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
46878 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
46879 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
46880 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
46881 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46882 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
46883 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46884 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
46885 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
46886 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
46887 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
46888 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
46889 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46890 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46891 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
46892 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
46893 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46894 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
46895 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46896 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
46897 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
46898 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
46899 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46900 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46901 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46902 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46903 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
46904 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46905 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
46906 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
46907 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
46909 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46910 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
46911 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46912 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46913 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46914 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
46915 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
46916 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46917 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46918 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
46919 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
46920 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46921 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
46922 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46923 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
46924 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
46925 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
46927 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46928 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46929 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
46930 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
46931 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46932 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
46933 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46934 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46935 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46936 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46937 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46938 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46939 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46940 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
46941 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
46942 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46944 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46946 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46947 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
46949 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
46950 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46951 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
46952 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46953 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
46954 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46955 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46956 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
46957 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
46958 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46959 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
46960 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46961 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
46962 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46963 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
46965 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
46966 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46967 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46968 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
46971 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
46972 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46973 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
46974 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46975 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
46976 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
46977 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46978 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
46979 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
46980 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
46981 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46982 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46983 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
46984 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
46985 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46986 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
46987 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46988 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46989 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
46990 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46991 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
46992 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
46993 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
46994 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46995 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
46996 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
46997 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46998 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46999 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47001 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47002 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47003 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47004 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47006 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47007 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47008 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47009 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47010 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47011 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47012 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47013 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47014 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47015 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47016 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47017 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47018 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47020 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47022 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47024 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47025 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47026 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47027 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47028 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47029 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47031 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47032 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47033 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47034 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47036 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47037 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47039 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47041 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47042 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47043 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47044 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47045 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47046 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47047 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47048 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47049 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47050 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47051 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47052 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47053 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47054 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47055 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47056 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47057 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47058 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47059 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47060 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47061 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47062 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47063 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47064 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47065 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47066 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47067 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47068 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47069 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47071 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47072 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47074 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47075 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47076 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47077 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47078 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47079 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47080 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47081 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47082 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47083 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47084 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47085 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47086 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47087 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47088 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47089 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47090 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47091 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47092 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47093 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47094 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47095 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47096 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47097 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47098 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47099 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47100 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47101 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47102 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47103 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47104 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47105 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47106 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47107 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47108 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47109 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47110 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47111 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47112 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47113 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47114 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47115 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47116 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47117 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47118 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47119 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47120 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47121 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47122 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47123 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47124 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47125 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47126 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47127 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47128 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47129 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47130 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47131 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47132 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47133 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47134 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47135 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47136 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47137 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47138 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47139 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47140 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47141 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47142 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47144 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47145 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47146 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47147 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47148 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47150 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47151 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47152 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47153 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47154 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47155 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47157 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47158 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47159 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47160 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47161 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47162 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47164 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47165 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47166 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47167 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47168 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47169 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47170 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47171 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47172 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47173 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47174 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47175 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47176 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47177 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47178 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47179 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47180 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47181 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47182 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47183 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47184 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47185 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47186 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47187 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47188 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47189 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47190 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47191 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47192 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47193 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47194 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47195 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47196 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47197 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47198 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47199 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47200 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47201 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47203 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47204 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47205 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47206 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47207 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47208 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47209 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47210 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47211 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47212 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47213 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47214 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47215 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47216 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47217 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47218 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47219 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47220 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47221 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47222 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47223 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47224 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47225 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47226 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47227 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47228 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47229 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47230 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47231 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47232 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47233 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47234 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47235 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47236 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47237 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47238 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47239 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47240 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47241 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47242 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47243 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47244 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47245 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47246 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47247 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47248 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47249 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47250 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47251 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47252 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47253 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47254 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47255 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47256 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47257 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47258 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47259 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47260 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47261 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47262 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47263 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47264 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47265 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47266 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47267 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47268 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47269 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47270 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47271 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47272 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47273 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47274 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47275 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47276 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47277 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47278 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47279 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47280 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47281 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47282 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47283 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47284 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47285 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47286 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47287 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47288 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47289 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47290 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47291 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47292 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47293 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47294 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47295 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47296 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47297 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47298 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47299 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47300 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47301 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47302 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47303 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47304 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47305 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47306 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47307 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47308 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47309 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47310 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47311 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47312 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47313 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47314 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47315 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47316 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47317 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47318 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47319 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47320 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47321 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47322 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47323 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47324 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47325 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47326 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47327 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47328 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47329 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47330 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47331 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47332 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47333 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47334 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47335 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47336 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47337 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47338 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47339 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47340 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47341 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47342 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47343 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47344 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47345 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47346 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47347 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47348 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47349 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47350 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47351 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47352 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47353 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47354 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47355 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47356 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47357 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47358 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47359 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47360 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47361 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47362 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47363 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47364 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47365 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47366 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47367 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47368 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47369 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47370 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47371 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47372 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47373 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47374 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47375 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47376 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47377 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47378 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47379 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47380 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47381 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47382 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47383 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47384 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47385 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47386 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47387 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47388 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47389 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47390 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47391 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47392 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47393 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47394 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47395 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47396 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47397 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47398 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47399 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47400 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47401 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47402 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47403 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47404 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47405 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47406 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47407 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47408 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47409 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47410 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47411 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47412 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47413 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47414 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47415 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47416 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47417 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47418 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47419 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47420 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47421 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47422 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47423 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47424 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47425 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47426 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47427 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47428 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47429 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47430 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47431 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47432 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47433 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47434 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47435 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47436 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47437 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47438 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47439 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47440 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47441 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47442 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47443 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47444 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47445 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47446 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47447 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47448 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47449 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47450 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47452 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47453 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47454 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47455 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47456 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47457 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47458 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47459 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47460 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47461 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47462 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47463 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47464 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47465 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47466 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47467 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47468 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47469 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47470 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47471 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47472 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47473 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47474 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47475 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47476 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47477 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47478 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47479 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47480 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47481 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47482 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47483 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47484 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47485 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47486 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47487 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47488 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47489 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47490 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47491 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47492 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47493 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47494 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47495 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47496 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47497 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47498 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47499 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47500 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47501 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47502 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47503 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47504 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47505 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47506 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47507 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47508 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47509 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47510 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47511 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47512 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47513 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47514 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47515 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47516 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47517 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47518 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47519 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47520 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47521 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47522 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47523 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47524 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47525 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47526 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47527 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47528 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47529 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47530 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47531 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47532 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47533 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47534 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47535 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47536 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47537 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47538 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47539 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47540 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47541 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47542 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47543 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47544 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47545 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47546 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47547 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47548 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47549 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47550 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47551 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47552 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47553 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47554 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47555 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47556 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47557 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47558 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
47559 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47560 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47561 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47562 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
47563 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47564 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
47565 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
47566 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47567 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47568 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47569 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47570 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
47571 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
47572 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47573 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
47574 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47575 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47576 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
47577 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47578 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
47579 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
47580 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47581 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47582 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47583 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
47584 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47585 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
47586 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47587 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
47588 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47589 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
47590 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47591 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
47592 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47593 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47594 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
47595 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
47596 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
47597 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47598 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
47599 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47600 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
47601 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
47602 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47603 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47604 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
47605 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47606 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
47607 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47608 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
47609 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
47610 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47611 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
47612 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47613 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
47614 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47615 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47616 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47617 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47618 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47619 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47620 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47621 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47622 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47623 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47624 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47625 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47626 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47627 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47628 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47629 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47630 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47631 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47632 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47633 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47634 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47635 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47636 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47637 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47638 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47639 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47640 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47641 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47642 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47643 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47644 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47645 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47646 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47647 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47648 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47649 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47650 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47651 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47652 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47653 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47654 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47655 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47656 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47657 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47658 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47659 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47660 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47661 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47662 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47663 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47664 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47665 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47666 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47667 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47668 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47669 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47670 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47671 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47672 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47673 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47674 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47675 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47676 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47677 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47678 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47679 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47680 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47681 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47682 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
47683 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47684 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47685 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
47686 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction
) _wrap_SearchCtrl_ShowSearchButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47687 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsSearchButtonVisible
, METH_O
, NULL
},
47688 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction
) _wrap_SearchCtrl_ShowCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47689 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsCancelButtonVisible
, METH_O
, NULL
},
47690 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47691 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47692 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47693 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
47694 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
47695 { NULL
, NULL
, 0, NULL
}
47699 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47701 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47702 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47704 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47705 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47707 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47708 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47710 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47711 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47713 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47714 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47716 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47717 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47719 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47720 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47722 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47723 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47725 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47726 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47728 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47729 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47731 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47732 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47734 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47735 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47737 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47738 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47740 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47741 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47743 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47744 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47746 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47747 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47749 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47750 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47752 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
47753 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47755 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
47756 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47758 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
47759 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47761 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
47762 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47764 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
47765 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47767 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
47768 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47770 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
47771 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
47773 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47774 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47776 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47777 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47779 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47780 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47782 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47783 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47785 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47786 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47788 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47789 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47791 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47792 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47794 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47795 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47797 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47798 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47800 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
47801 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47803 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47804 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47806 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47807 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47809 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
47810 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47812 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47813 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47815 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47816 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47818 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47819 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47821 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47822 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47824 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47825 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47827 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
47828 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47830 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47831 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47833 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47834 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47836 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47837 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47839 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47840 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47842 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47843 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47845 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47846 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47848 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47849 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47851 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47852 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47854 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47855 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47857 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47858 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47860 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
47861 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47863 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
47864 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47866 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
47867 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47869 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
47870 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47872 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
47873 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47875 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
47876 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
47878 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
47879 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47881 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
47882 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47884 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47885 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47887 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
47888 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47890 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
47891 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47893 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
47894 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
47896 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
47897 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
47899 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
47900 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
47902 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
47903 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
47905 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
47906 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
47908 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
47909 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
47911 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
47912 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
47914 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
47915 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
47917 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
47918 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
47920 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
47921 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
47923 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
47924 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47926 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
47927 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
47929 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
47930 return (void *)((wxControl
*) ((wxComboBox
*) x
));
47932 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
47933 return (void *)((wxControl
*) ((wxPyControl
*) x
));
47935 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
47936 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
47938 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
47939 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
47941 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47942 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47944 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
47945 return (void *)((wxControl
*) ((wxGauge
*) x
));
47947 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
47948 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
47950 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
47951 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47953 static void *_p_wxListbookTo_p_wxControl(void *x
) {
47954 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
47956 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
47957 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
47959 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
47960 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
47962 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
47963 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
47965 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
47966 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
47968 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
47969 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47971 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
47972 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47974 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
47975 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47977 static void *_p_wxListViewTo_p_wxControl(void *x
) {
47978 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
47980 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
47981 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
47983 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
47984 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
47986 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
47987 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
47989 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
47990 return (void *)((wxControl
*) ((wxStaticText
*) x
));
47992 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
47993 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
47995 static void *_p_wxSliderTo_p_wxControl(void *x
) {
47996 return (void *)((wxControl
*) ((wxSlider
*) x
));
47998 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
47999 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48001 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48002 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48004 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48005 return (void *)((wxControl
*) ((wxButton
*) x
));
48007 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48008 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48010 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48011 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48013 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48014 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48016 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48017 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48019 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48020 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48022 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48023 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48025 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48026 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48028 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48029 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48031 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48032 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48034 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48035 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48037 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48038 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48040 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48041 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48043 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48044 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48046 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48047 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48049 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48050 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48052 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48053 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48055 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48056 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48058 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48059 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48061 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48062 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48064 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48065 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48067 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48068 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48070 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48071 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48073 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48074 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48076 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48077 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48079 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48080 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48082 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48083 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48085 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48086 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48088 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48089 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48091 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48092 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48094 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48095 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48097 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48098 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48100 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48101 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48103 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48104 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48106 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48109 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48110 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48112 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48113 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48115 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48116 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48118 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48119 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48121 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48122 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48124 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48127 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48130 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48133 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48136 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48139 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48140 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48142 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48145 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48148 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48149 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48151 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48154 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48157 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48160 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48163 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48164 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48166 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48169 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48170 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48172 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48173 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48175 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48178 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48181 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48184 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48187 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48190 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48193 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48194 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48196 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48199 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48202 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48205 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48208 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48211 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48214 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48215 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48217 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48220 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48221 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48223 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48224 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48226 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48227 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48229 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48230 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48232 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48233 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48235 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48236 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48238 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48239 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48241 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48242 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48244 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48245 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48247 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48248 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48250 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48251 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48253 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48254 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48256 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48257 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48259 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48260 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48262 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48263 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48265 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48266 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48268 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48269 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48271 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48272 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48274 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48275 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48277 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48278 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48280 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48281 return (void *)((wxObject
*) ((wxSizer
*) x
));
48283 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48284 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48286 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48287 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48289 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48292 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48293 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48295 static void *_p_wxEventTo_p_wxObject(void *x
) {
48296 return (void *)((wxObject
*) ((wxEvent
*) x
));
48298 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48299 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48301 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48302 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48304 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48307 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48308 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48310 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48313 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48316 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48319 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48322 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48323 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48325 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48326 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48328 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48329 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48331 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48332 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48334 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48335 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48337 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48338 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48340 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48341 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48343 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48346 static void *_p_wxControlTo_p_wxObject(void *x
) {
48347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48349 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48352 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48355 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48358 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48361 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48364 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48365 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48367 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48368 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48370 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48371 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48373 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48374 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48376 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48379 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48380 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48382 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48383 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48385 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48388 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48389 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48391 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48392 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48394 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48397 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48398 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48400 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48401 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48403 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48404 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48406 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48407 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48409 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48410 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48412 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48413 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48415 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48416 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48418 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48419 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48421 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48422 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48424 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48425 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48427 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48428 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48430 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48431 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48433 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48434 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48436 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48437 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48439 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48440 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48442 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48443 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48445 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48446 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48448 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48449 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48451 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48452 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48454 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48455 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48457 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48460 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48461 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48463 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48464 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48466 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48467 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48469 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48470 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48472 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48473 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48475 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48476 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48478 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48479 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48481 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48482 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48484 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48485 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48487 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48488 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48490 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48491 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48493 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48494 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48496 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48497 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48499 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48500 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48502 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48503 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48505 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48506 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48508 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48509 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48511 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48512 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48514 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48517 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48520 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48523 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48526 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48527 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48529 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48530 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48532 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48533 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48535 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48536 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48538 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48539 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48541 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48544 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48547 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
48550 static void *_p_wxListItemTo_p_wxObject(void *x
) {
48551 return (void *)((wxObject
*) ((wxListItem
*) x
));
48553 static void *_p_wxImageTo_p_wxObject(void *x
) {
48554 return (void *)((wxObject
*) ((wxImage
*) x
));
48556 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
48557 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
48559 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
48560 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48562 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
48563 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
48565 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
48566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48568 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
48569 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48571 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
48572 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48574 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
48575 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48577 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
48578 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48580 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
48581 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48583 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
48584 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48586 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
48587 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48589 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
48590 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
48592 static void *_p_wxWindowTo_p_wxObject(void *x
) {
48593 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
48595 static void *_p_wxMenuTo_p_wxObject(void *x
) {
48596 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
48598 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
48599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
48601 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
48602 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
48604 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
48605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48607 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
48608 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48610 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
48611 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
48613 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
48614 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
48616 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
48617 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
48619 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
48620 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
48622 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
48623 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
48625 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
48626 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48628 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
48629 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48631 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
48632 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48634 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
48635 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
48637 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
48638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48640 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48641 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48643 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48644 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48646 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48647 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48649 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48652 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48655 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48658 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48659 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48661 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48664 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48667 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48670 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48671 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48673 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48674 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48676 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48679 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48680 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48682 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48683 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48685 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48686 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48688 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48689 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48691 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48692 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48694 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48695 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48697 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48698 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48700 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48701 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48703 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
48704 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48706 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
48707 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48709 static void *_p_wxControlTo_p_wxWindow(void *x
) {
48710 return (void *)((wxWindow
*) ((wxControl
*) x
));
48712 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
48713 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
48715 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
48716 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
48718 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
48719 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
48721 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48722 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48724 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48725 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48727 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48728 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48730 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48731 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48733 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48734 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48736 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48737 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48739 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48740 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48742 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48743 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48745 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48746 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48748 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
48749 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
48751 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
48752 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
48754 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
48755 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
48757 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
48758 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
48760 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
48761 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48763 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
48764 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48766 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
48767 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48769 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
48770 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48772 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
48773 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48775 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
48776 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
48778 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
48779 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
48781 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
48782 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
48784 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
48785 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
48787 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
48788 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
48790 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
48791 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48793 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
48794 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
48796 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
48797 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
48799 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
48800 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48802 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
48803 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48805 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
48806 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
48808 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
48809 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48811 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
48812 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48814 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
48815 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48817 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
48818 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48820 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
48821 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
48823 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48824 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48826 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48827 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48829 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48830 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48832 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48833 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48835 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48836 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48838 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
48839 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48841 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
48842 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48844 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
48845 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48847 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
48848 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48850 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
48851 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48853 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
48854 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48856 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
48857 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48859 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
48860 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
48862 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
48863 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48865 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
48866 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48868 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
48869 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48871 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
48872 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48874 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
48875 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48877 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
48878 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48880 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
48881 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48883 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
48884 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48886 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
48887 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
48889 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
48890 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48892 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
48893 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
48895 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
48896 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48898 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
48899 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48901 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
48902 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48904 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
48905 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48907 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
48908 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
48910 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
48911 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48913 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
48914 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48916 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
48917 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48919 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
48920 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
48922 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
48923 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
48925 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
48926 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
48928 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
48929 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
48931 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48932 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
48933 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};
48934 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
48935 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
48936 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48937 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48938 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48939 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
48940 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48941 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48942 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48943 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48944 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48945 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48946 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48947 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48948 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48949 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48950 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48951 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
48952 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48953 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
48954 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
48955 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48956 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
48957 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48958 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48959 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
48960 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
48961 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48962 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48963 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48964 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48965 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48966 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48967 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
48968 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
48969 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
48970 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
48971 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
48972 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
48973 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
48974 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
48975 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
48976 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
48977 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
48978 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
48979 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
48980 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
48981 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
48982 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
48983 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
48984 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
48985 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
48986 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
48987 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
48988 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
48989 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
48990 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
48991 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
48992 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
48993 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
48994 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
48995 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
48996 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
48997 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
48998 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
48999 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49000 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49001 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49002 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49003 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49004 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49005 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49006 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49007 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49008 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49009 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49010 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49011 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49012 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49013 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49014 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49015 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49016 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49017 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49018 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49019 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49020 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49021 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49022 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49023 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49024 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49025 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49026 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49027 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49028 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49029 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49030 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49031 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49032 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49033 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49034 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49035 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49036 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49037 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49038 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49039 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49040 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49041 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49042 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49043 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49044 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49045 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49046 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49047 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49048 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49049 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49050 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49051 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49052 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49053 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49054 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49055 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49056 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49057 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49058 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49059 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49060 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49061 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49062 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49063 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49064 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49065 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49066 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49067 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49068 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49069 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49070 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49071 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49072 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49073 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49074 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49075 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49076 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49077 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49078 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49079 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49080 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49081 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49082 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49083 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49084 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49085 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49086 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49087 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49088 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49089 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49090 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49091 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49092 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49093 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49094 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49095 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49096 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49097 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49098 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49099 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49100 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49101 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49102 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49103 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49104 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49105 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49106 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49107 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49108 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49109 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49111 static swig_type_info
*swig_type_initial
[] = {
49114 &_swigt__p_form_ops_t
,
49117 &_swigt__p_unsigned_char
,
49118 &_swigt__p_unsigned_int
,
49119 &_swigt__p_unsigned_long
,
49121 &_swigt__p_wxANIHandler
,
49122 &_swigt__p_wxAcceleratorTable
,
49123 &_swigt__p_wxActivateEvent
,
49124 &_swigt__p_wxArrayInt
,
49125 &_swigt__p_wxArrayString
,
49126 &_swigt__p_wxBMPHandler
,
49127 &_swigt__p_wxBitmap
,
49128 &_swigt__p_wxBitmapButton
,
49129 &_swigt__p_wxBookCtrlBase
,
49130 &_swigt__p_wxBookCtrlBaseEvent
,
49131 &_swigt__p_wxBoxSizer
,
49132 &_swigt__p_wxButton
,
49133 &_swigt__p_wxCURHandler
,
49134 &_swigt__p_wxCheckBox
,
49135 &_swigt__p_wxCheckListBox
,
49136 &_swigt__p_wxChildFocusEvent
,
49137 &_swigt__p_wxChoice
,
49138 &_swigt__p_wxChoicebook
,
49139 &_swigt__p_wxChoicebookEvent
,
49140 &_swigt__p_wxClipboardTextEvent
,
49141 &_swigt__p_wxCloseEvent
,
49142 &_swigt__p_wxCollapsiblePane
,
49143 &_swigt__p_wxCollapsiblePaneEvent
,
49144 &_swigt__p_wxColour
,
49145 &_swigt__p_wxColourPickerCtrl
,
49146 &_swigt__p_wxColourPickerEvent
,
49147 &_swigt__p_wxComboBox
,
49148 &_swigt__p_wxCommandEvent
,
49149 &_swigt__p_wxContextHelp
,
49150 &_swigt__p_wxContextHelpButton
,
49151 &_swigt__p_wxContextMenuEvent
,
49152 &_swigt__p_wxControl
,
49153 &_swigt__p_wxControlWithItems
,
49154 &_swigt__p_wxCursor
,
49156 &_swigt__p_wxDateEvent
,
49157 &_swigt__p_wxDatePickerCtrl
,
49158 &_swigt__p_wxDateTime
,
49159 &_swigt__p_wxDirFilterListCtrl
,
49160 &_swigt__p_wxDirPickerCtrl
,
49161 &_swigt__p_wxDisplayChangedEvent
,
49162 &_swigt__p_wxDropFilesEvent
,
49163 &_swigt__p_wxDuplexMode
,
49164 &_swigt__p_wxEraseEvent
,
49165 &_swigt__p_wxEvent
,
49166 &_swigt__p_wxEvtHandler
,
49167 &_swigt__p_wxFSFile
,
49168 &_swigt__p_wxFileDirPickerEvent
,
49169 &_swigt__p_wxFilePickerCtrl
,
49170 &_swigt__p_wxFileSystem
,
49171 &_swigt__p_wxFlexGridSizer
,
49172 &_swigt__p_wxFocusEvent
,
49174 &_swigt__p_wxFontPickerCtrl
,
49175 &_swigt__p_wxFontPickerEvent
,
49176 &_swigt__p_wxGBSizerItem
,
49177 &_swigt__p_wxGIFHandler
,
49178 &_swigt__p_wxGauge
,
49179 &_swigt__p_wxGenericDirCtrl
,
49180 &_swigt__p_wxGenericDragImage
,
49181 &_swigt__p_wxGridBagSizer
,
49182 &_swigt__p_wxGridSizer
,
49183 &_swigt__p_wxHelpEvent
,
49184 &_swigt__p_wxHelpProvider
,
49185 &_swigt__p_wxHyperlinkCtrl
,
49186 &_swigt__p_wxHyperlinkEvent
,
49187 &_swigt__p_wxICOHandler
,
49189 &_swigt__p_wxIconizeEvent
,
49190 &_swigt__p_wxIdleEvent
,
49191 &_swigt__p_wxImage
,
49192 &_swigt__p_wxImageHandler
,
49193 &_swigt__p_wxImageList
,
49194 &_swigt__p_wxIndividualLayoutConstraint
,
49195 &_swigt__p_wxInitDialogEvent
,
49196 &_swigt__p_wxItemContainer
,
49197 &_swigt__p_wxJPEGHandler
,
49198 &_swigt__p_wxKeyEvent
,
49199 &_swigt__p_wxLayoutConstraints
,
49200 &_swigt__p_wxListBox
,
49201 &_swigt__p_wxListEvent
,
49202 &_swigt__p_wxListItem
,
49203 &_swigt__p_wxListItemAttr
,
49204 &_swigt__p_wxListView
,
49205 &_swigt__p_wxListbook
,
49206 &_swigt__p_wxListbookEvent
,
49207 &_swigt__p_wxMaximizeEvent
,
49208 &_swigt__p_wxMemoryDC
,
49210 &_swigt__p_wxMenuBar
,
49211 &_swigt__p_wxMenuEvent
,
49212 &_swigt__p_wxMenuItem
,
49213 &_swigt__p_wxMouseCaptureChangedEvent
,
49214 &_swigt__p_wxMouseCaptureLostEvent
,
49215 &_swigt__p_wxMouseEvent
,
49216 &_swigt__p_wxMoveEvent
,
49217 &_swigt__p_wxNavigationKeyEvent
,
49218 &_swigt__p_wxNcPaintEvent
,
49219 &_swigt__p_wxNotebook
,
49220 &_swigt__p_wxNotebookEvent
,
49221 &_swigt__p_wxNotifyEvent
,
49222 &_swigt__p_wxObject
,
49223 &_swigt__p_wxPCXHandler
,
49224 &_swigt__p_wxPNGHandler
,
49225 &_swigt__p_wxPNMHandler
,
49226 &_swigt__p_wxPaintEvent
,
49227 &_swigt__p_wxPaletteChangedEvent
,
49228 &_swigt__p_wxPaperSize
,
49229 &_swigt__p_wxPickerBase
,
49230 &_swigt__p_wxPoint
,
49231 &_swigt__p_wxPyApp
,
49232 &_swigt__p_wxPyCommandEvent
,
49233 &_swigt__p_wxPyControl
,
49234 &_swigt__p_wxPyEvent
,
49235 &_swigt__p_wxPyImageHandler
,
49236 &_swigt__p_wxPyListCtrl
,
49237 &_swigt__p_wxPySizer
,
49238 &_swigt__p_wxPyTreeCtrl
,
49239 &_swigt__p_wxPyTreeItemData
,
49240 &_swigt__p_wxPyValidator
,
49241 &_swigt__p_wxQueryNewPaletteEvent
,
49242 &_swigt__p_wxRadioBox
,
49243 &_swigt__p_wxRadioButton
,
49245 &_swigt__p_wxScrollBar
,
49246 &_swigt__p_wxScrollEvent
,
49247 &_swigt__p_wxScrollWinEvent
,
49248 &_swigt__p_wxSearchCtrl
,
49249 &_swigt__p_wxSetCursorEvent
,
49250 &_swigt__p_wxShowEvent
,
49251 &_swigt__p_wxSimpleHelpProvider
,
49253 &_swigt__p_wxSizeEvent
,
49254 &_swigt__p_wxSizer
,
49255 &_swigt__p_wxSizerItem
,
49256 &_swigt__p_wxSlider
,
49257 &_swigt__p_wxSpinButton
,
49258 &_swigt__p_wxSpinCtrl
,
49259 &_swigt__p_wxSpinEvent
,
49260 &_swigt__p_wxStaticBitmap
,
49261 &_swigt__p_wxStaticBox
,
49262 &_swigt__p_wxStaticBoxSizer
,
49263 &_swigt__p_wxStaticLine
,
49264 &_swigt__p_wxStaticText
,
49265 &_swigt__p_wxStdDialogButtonSizer
,
49266 &_swigt__p_wxString
,
49267 &_swigt__p_wxSysColourChangedEvent
,
49268 &_swigt__p_wxTGAHandler
,
49269 &_swigt__p_wxTIFFHandler
,
49270 &_swigt__p_wxTextAttr
,
49271 &_swigt__p_wxTextCtrl
,
49272 &_swigt__p_wxTextUrlEvent
,
49273 &_swigt__p_wxToggleButton
,
49274 &_swigt__p_wxToolBar
,
49275 &_swigt__p_wxToolBarBase
,
49276 &_swigt__p_wxToolBarToolBase
,
49277 &_swigt__p_wxToolbook
,
49278 &_swigt__p_wxToolbookEvent
,
49279 &_swigt__p_wxTreeEvent
,
49280 &_swigt__p_wxTreeItemId
,
49281 &_swigt__p_wxTreebook
,
49282 &_swigt__p_wxTreebookEvent
,
49283 &_swigt__p_wxUpdateUIEvent
,
49284 &_swigt__p_wxValidator
,
49285 &_swigt__p_wxVisualAttributes
,
49286 &_swigt__p_wxWindow
,
49287 &_swigt__p_wxWindowBase
,
49288 &_swigt__p_wxWindowCreateEvent
,
49289 &_swigt__p_wxWindowDestroyEvent
,
49290 &_swigt__p_wxXPMHandler
,
49293 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49294 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49295 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49296 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49297 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49298 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49299 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49300 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49301 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49302 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49303 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49304 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49305 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}};
49306 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}};
49307 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}};
49308 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}};
49309 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49310 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49311 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}};
49312 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49313 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49314 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49315 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49316 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49317 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49318 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49319 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49320 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49321 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49322 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49323 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49324 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49325 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49326 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49327 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49328 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49329 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}};
49330 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49331 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49332 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}};
49333 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}};
49334 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49335 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49336 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49337 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49338 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49339 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49340 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49341 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49342 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49343 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49344 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49345 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49346 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49347 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49348 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49349 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49350 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49351 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49352 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49353 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49354 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49355 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49356 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49357 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49358 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49359 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49360 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49361 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49362 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49363 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49364 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49365 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49366 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}};
49367 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49368 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49369 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49370 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
49371 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49372 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49373 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49374 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49375 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49376 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49377 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49378 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49379 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49380 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}};
49381 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49382 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49383 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49384 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49385 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}};
49386 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49387 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}};
49388 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49389 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49390 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49391 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49392 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49393 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49394 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49395 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49396 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49397 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49398 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49399 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}};
49400 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49401 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49402 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49403 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49404 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49405 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49406 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49407 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49408 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49409 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49410 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49411 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49412 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49413 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49414 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49415 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49416 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49417 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49418 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49419 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49420 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49421 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49422 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49423 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49424 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49425 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49426 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49427 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49428 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49429 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49430 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49431 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
49432 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49433 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}};
49434 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49435 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49436 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}};
49437 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49438 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49439 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49440 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49441 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49442 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49443 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49444 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49445 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49446 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49447 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49448 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49449 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49450 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49451 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49452 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49453 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49454 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49455 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49456 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}};
49457 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49458 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49459 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49460 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}};
49461 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49462 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49463 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49464 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49465 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49466 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49467 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49468 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}};
49469 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49470 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}};
49471 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49473 static swig_cast_info
*swig_cast_initial
[] = {
49476 _swigc__p_form_ops_t
,
49479 _swigc__p_unsigned_char
,
49480 _swigc__p_unsigned_int
,
49481 _swigc__p_unsigned_long
,
49483 _swigc__p_wxANIHandler
,
49484 _swigc__p_wxAcceleratorTable
,
49485 _swigc__p_wxActivateEvent
,
49486 _swigc__p_wxArrayInt
,
49487 _swigc__p_wxArrayString
,
49488 _swigc__p_wxBMPHandler
,
49489 _swigc__p_wxBitmap
,
49490 _swigc__p_wxBitmapButton
,
49491 _swigc__p_wxBookCtrlBase
,
49492 _swigc__p_wxBookCtrlBaseEvent
,
49493 _swigc__p_wxBoxSizer
,
49494 _swigc__p_wxButton
,
49495 _swigc__p_wxCURHandler
,
49496 _swigc__p_wxCheckBox
,
49497 _swigc__p_wxCheckListBox
,
49498 _swigc__p_wxChildFocusEvent
,
49499 _swigc__p_wxChoice
,
49500 _swigc__p_wxChoicebook
,
49501 _swigc__p_wxChoicebookEvent
,
49502 _swigc__p_wxClipboardTextEvent
,
49503 _swigc__p_wxCloseEvent
,
49504 _swigc__p_wxCollapsiblePane
,
49505 _swigc__p_wxCollapsiblePaneEvent
,
49506 _swigc__p_wxColour
,
49507 _swigc__p_wxColourPickerCtrl
,
49508 _swigc__p_wxColourPickerEvent
,
49509 _swigc__p_wxComboBox
,
49510 _swigc__p_wxCommandEvent
,
49511 _swigc__p_wxContextHelp
,
49512 _swigc__p_wxContextHelpButton
,
49513 _swigc__p_wxContextMenuEvent
,
49514 _swigc__p_wxControl
,
49515 _swigc__p_wxControlWithItems
,
49516 _swigc__p_wxCursor
,
49518 _swigc__p_wxDateEvent
,
49519 _swigc__p_wxDatePickerCtrl
,
49520 _swigc__p_wxDateTime
,
49521 _swigc__p_wxDirFilterListCtrl
,
49522 _swigc__p_wxDirPickerCtrl
,
49523 _swigc__p_wxDisplayChangedEvent
,
49524 _swigc__p_wxDropFilesEvent
,
49525 _swigc__p_wxDuplexMode
,
49526 _swigc__p_wxEraseEvent
,
49528 _swigc__p_wxEvtHandler
,
49529 _swigc__p_wxFSFile
,
49530 _swigc__p_wxFileDirPickerEvent
,
49531 _swigc__p_wxFilePickerCtrl
,
49532 _swigc__p_wxFileSystem
,
49533 _swigc__p_wxFlexGridSizer
,
49534 _swigc__p_wxFocusEvent
,
49536 _swigc__p_wxFontPickerCtrl
,
49537 _swigc__p_wxFontPickerEvent
,
49538 _swigc__p_wxGBSizerItem
,
49539 _swigc__p_wxGIFHandler
,
49541 _swigc__p_wxGenericDirCtrl
,
49542 _swigc__p_wxGenericDragImage
,
49543 _swigc__p_wxGridBagSizer
,
49544 _swigc__p_wxGridSizer
,
49545 _swigc__p_wxHelpEvent
,
49546 _swigc__p_wxHelpProvider
,
49547 _swigc__p_wxHyperlinkCtrl
,
49548 _swigc__p_wxHyperlinkEvent
,
49549 _swigc__p_wxICOHandler
,
49551 _swigc__p_wxIconizeEvent
,
49552 _swigc__p_wxIdleEvent
,
49554 _swigc__p_wxImageHandler
,
49555 _swigc__p_wxImageList
,
49556 _swigc__p_wxIndividualLayoutConstraint
,
49557 _swigc__p_wxInitDialogEvent
,
49558 _swigc__p_wxItemContainer
,
49559 _swigc__p_wxJPEGHandler
,
49560 _swigc__p_wxKeyEvent
,
49561 _swigc__p_wxLayoutConstraints
,
49562 _swigc__p_wxListBox
,
49563 _swigc__p_wxListEvent
,
49564 _swigc__p_wxListItem
,
49565 _swigc__p_wxListItemAttr
,
49566 _swigc__p_wxListView
,
49567 _swigc__p_wxListbook
,
49568 _swigc__p_wxListbookEvent
,
49569 _swigc__p_wxMaximizeEvent
,
49570 _swigc__p_wxMemoryDC
,
49572 _swigc__p_wxMenuBar
,
49573 _swigc__p_wxMenuEvent
,
49574 _swigc__p_wxMenuItem
,
49575 _swigc__p_wxMouseCaptureChangedEvent
,
49576 _swigc__p_wxMouseCaptureLostEvent
,
49577 _swigc__p_wxMouseEvent
,
49578 _swigc__p_wxMoveEvent
,
49579 _swigc__p_wxNavigationKeyEvent
,
49580 _swigc__p_wxNcPaintEvent
,
49581 _swigc__p_wxNotebook
,
49582 _swigc__p_wxNotebookEvent
,
49583 _swigc__p_wxNotifyEvent
,
49584 _swigc__p_wxObject
,
49585 _swigc__p_wxPCXHandler
,
49586 _swigc__p_wxPNGHandler
,
49587 _swigc__p_wxPNMHandler
,
49588 _swigc__p_wxPaintEvent
,
49589 _swigc__p_wxPaletteChangedEvent
,
49590 _swigc__p_wxPaperSize
,
49591 _swigc__p_wxPickerBase
,
49594 _swigc__p_wxPyCommandEvent
,
49595 _swigc__p_wxPyControl
,
49596 _swigc__p_wxPyEvent
,
49597 _swigc__p_wxPyImageHandler
,
49598 _swigc__p_wxPyListCtrl
,
49599 _swigc__p_wxPySizer
,
49600 _swigc__p_wxPyTreeCtrl
,
49601 _swigc__p_wxPyTreeItemData
,
49602 _swigc__p_wxPyValidator
,
49603 _swigc__p_wxQueryNewPaletteEvent
,
49604 _swigc__p_wxRadioBox
,
49605 _swigc__p_wxRadioButton
,
49607 _swigc__p_wxScrollBar
,
49608 _swigc__p_wxScrollEvent
,
49609 _swigc__p_wxScrollWinEvent
,
49610 _swigc__p_wxSearchCtrl
,
49611 _swigc__p_wxSetCursorEvent
,
49612 _swigc__p_wxShowEvent
,
49613 _swigc__p_wxSimpleHelpProvider
,
49615 _swigc__p_wxSizeEvent
,
49617 _swigc__p_wxSizerItem
,
49618 _swigc__p_wxSlider
,
49619 _swigc__p_wxSpinButton
,
49620 _swigc__p_wxSpinCtrl
,
49621 _swigc__p_wxSpinEvent
,
49622 _swigc__p_wxStaticBitmap
,
49623 _swigc__p_wxStaticBox
,
49624 _swigc__p_wxStaticBoxSizer
,
49625 _swigc__p_wxStaticLine
,
49626 _swigc__p_wxStaticText
,
49627 _swigc__p_wxStdDialogButtonSizer
,
49628 _swigc__p_wxString
,
49629 _swigc__p_wxSysColourChangedEvent
,
49630 _swigc__p_wxTGAHandler
,
49631 _swigc__p_wxTIFFHandler
,
49632 _swigc__p_wxTextAttr
,
49633 _swigc__p_wxTextCtrl
,
49634 _swigc__p_wxTextUrlEvent
,
49635 _swigc__p_wxToggleButton
,
49636 _swigc__p_wxToolBar
,
49637 _swigc__p_wxToolBarBase
,
49638 _swigc__p_wxToolBarToolBase
,
49639 _swigc__p_wxToolbook
,
49640 _swigc__p_wxToolbookEvent
,
49641 _swigc__p_wxTreeEvent
,
49642 _swigc__p_wxTreeItemId
,
49643 _swigc__p_wxTreebook
,
49644 _swigc__p_wxTreebookEvent
,
49645 _swigc__p_wxUpdateUIEvent
,
49646 _swigc__p_wxValidator
,
49647 _swigc__p_wxVisualAttributes
,
49648 _swigc__p_wxWindow
,
49649 _swigc__p_wxWindowBase
,
49650 _swigc__p_wxWindowCreateEvent
,
49651 _swigc__p_wxWindowDestroyEvent
,
49652 _swigc__p_wxXPMHandler
,
49656 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49658 static swig_const_info swig_const_table
[] = {
49659 {0, 0, 0, 0.0, 0, 0}};
49664 /* -----------------------------------------------------------------------------
49665 * Type initialization:
49666 * This problem is tough by the requirement that no dynamic
49667 * memory is used. Also, since swig_type_info structures store pointers to
49668 * swig_cast_info structures and swig_cast_info structures store pointers back
49669 * to swig_type_info structures, we need some lookup code at initialization.
49670 * The idea is that swig generates all the structures that are needed.
49671 * The runtime then collects these partially filled structures.
49672 * The SWIG_InitializeModule function takes these initial arrays out of
49673 * swig_module, and does all the lookup, filling in the swig_module.types
49674 * array with the correct data and linking the correct swig_cast_info
49675 * structures together.
49677 * The generated swig_type_info structures are assigned staticly to an initial
49678 * array. We just loop though that array, and handle each type individually.
49679 * First we lookup if this type has been already loaded, and if so, use the
49680 * loaded structure instead of the generated one. Then we have to fill in the
49681 * cast linked list. The cast data is initially stored in something like a
49682 * two-dimensional array. Each row corresponds to a type (there are the same
49683 * number of rows as there are in the swig_type_initial array). Each entry in
49684 * a column is one of the swig_cast_info structures for that type.
49685 * The cast_initial array is actually an array of arrays, because each row has
49686 * a variable number of columns. So to actually build the cast linked list,
49687 * we find the array of casts associated with the type, and loop through it
49688 * adding the casts to the list. The one last trick we need to do is making
49689 * sure the type pointer in the swig_cast_info struct is correct.
49691 * First off, we lookup the cast->type name to see if it is already loaded.
49692 * There are three cases to handle:
49693 * 1) If the cast->type has already been loaded AND the type we are adding
49694 * casting info to has not been loaded (it is in this module), THEN we
49695 * replace the cast->type pointer with the type pointer that has already
49697 * 2) If BOTH types (the one we are adding casting info to, and the
49698 * cast->type) are loaded, THEN the cast info has already been loaded by
49699 * the previous module so we just ignore it.
49700 * 3) Finally, if cast->type has not already been loaded, then we add that
49701 * swig_cast_info to the linked list (because the cast->type) pointer will
49703 * ----------------------------------------------------------------------------- */
49713 #define SWIGRUNTIME_DEBUG
49717 SWIG_InitializeModule(void *clientdata
) {
49719 swig_module_info
*module_head
;
49720 static int init_run
= 0;
49722 clientdata
= clientdata
;
49724 if (init_run
) return;
49727 /* Initialize the swig_module */
49728 swig_module
.type_initial
= swig_type_initial
;
49729 swig_module
.cast_initial
= swig_cast_initial
;
49731 /* Try and load any already created modules */
49732 module_head
= SWIG_GetModule(clientdata
);
49734 swig_module
.next
= module_head
->next
;
49735 module_head
->next
= &swig_module
;
49737 /* This is the first module loaded */
49738 swig_module
.next
= &swig_module
;
49739 SWIG_SetModule(clientdata
, &swig_module
);
49742 /* Now work on filling in swig_module.types */
49743 #ifdef SWIGRUNTIME_DEBUG
49744 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
49746 for (i
= 0; i
< swig_module
.size
; ++i
) {
49747 swig_type_info
*type
= 0;
49748 swig_type_info
*ret
;
49749 swig_cast_info
*cast
;
49751 #ifdef SWIGRUNTIME_DEBUG
49752 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49755 /* if there is another module already loaded */
49756 if (swig_module
.next
!= &swig_module
) {
49757 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
49760 /* Overwrite clientdata field */
49761 #ifdef SWIGRUNTIME_DEBUG
49762 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
49764 if (swig_module
.type_initial
[i
]->clientdata
) {
49765 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
49766 #ifdef SWIGRUNTIME_DEBUG
49767 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
49771 type
= swig_module
.type_initial
[i
];
49774 /* Insert casting types */
49775 cast
= swig_module
.cast_initial
[i
];
49776 while (cast
->type
) {
49777 /* Don't need to add information already in the list */
49779 #ifdef SWIGRUNTIME_DEBUG
49780 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
49782 if (swig_module
.next
!= &swig_module
) {
49783 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
49784 #ifdef SWIGRUNTIME_DEBUG
49785 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
49789 if (type
== swig_module
.type_initial
[i
]) {
49790 #ifdef SWIGRUNTIME_DEBUG
49791 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
49796 /* Check for casting already in the list */
49797 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
49798 #ifdef SWIGRUNTIME_DEBUG
49799 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
49801 if (!ocast
) ret
= 0;
49806 #ifdef SWIGRUNTIME_DEBUG
49807 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
49810 type
->cast
->prev
= cast
;
49811 cast
->next
= type
->cast
;
49817 /* Set entry in modules->types array equal to the type */
49818 swig_module
.types
[i
] = type
;
49820 swig_module
.types
[i
] = 0;
49822 #ifdef SWIGRUNTIME_DEBUG
49823 printf("**** SWIG_InitializeModule: Cast List ******\n");
49824 for (i
= 0; i
< swig_module
.size
; ++i
) {
49826 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
49827 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49828 while (cast
->type
) {
49829 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
49833 printf("---- Total casts: %d\n",j
);
49835 printf("**** SWIG_InitializeModule: Cast List ******\n");
49839 /* This function will propagate the clientdata field of type to
49840 * any new swig_type_info structures that have been added into the list
49841 * of equivalent types. It is like calling
49842 * SWIG_TypeClientData(type, clientdata) a second time.
49845 SWIG_PropagateClientData(void) {
49847 swig_cast_info
*equiv
;
49848 static int init_run
= 0;
49850 if (init_run
) return;
49853 for (i
= 0; i
< swig_module
.size
; i
++) {
49854 if (swig_module
.types
[i
]->clientdata
) {
49855 equiv
= swig_module
.types
[i
]->cast
;
49857 if (!equiv
->converter
) {
49858 if (equiv
->type
&& !equiv
->type
->clientdata
)
49859 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
49861 equiv
= equiv
->next
;
49881 /* Python-specific SWIG API */
49882 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49883 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49884 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49886 /* -----------------------------------------------------------------------------
49887 * global variable support code.
49888 * ----------------------------------------------------------------------------- */
49890 typedef struct swig_globalvar
{
49891 char *name
; /* Name of global variable */
49892 PyObject
*(*get_attr
)(void); /* Return the current value */
49893 int (*set_attr
)(PyObject
*); /* Set the value */
49894 struct swig_globalvar
*next
;
49897 typedef struct swig_varlinkobject
{
49899 swig_globalvar
*vars
;
49900 } swig_varlinkobject
;
49902 SWIGINTERN PyObject
*
49903 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
49904 return PyString_FromString("<Swig global variables>");
49907 SWIGINTERN PyObject
*
49908 swig_varlink_str(swig_varlinkobject
*v
) {
49909 PyObject
*str
= PyString_FromString("(");
49910 swig_globalvar
*var
;
49911 for (var
= v
->vars
; var
; var
=var
->next
) {
49912 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
49913 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
49915 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
49920 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
49921 PyObject
*str
= swig_varlink_str(v
);
49922 fprintf(fp
,"Swig global variables ");
49923 fprintf(fp
,"%s\n", PyString_AsString(str
));
49929 swig_varlink_dealloc(swig_varlinkobject
*v
) {
49930 swig_globalvar
*var
= v
->vars
;
49932 swig_globalvar
*n
= var
->next
;
49939 SWIGINTERN PyObject
*
49940 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
49941 PyObject
*res
= NULL
;
49942 swig_globalvar
*var
= v
->vars
;
49944 if (strcmp(var
->name
,n
) == 0) {
49945 res
= (*var
->get_attr
)();
49950 if (res
== NULL
&& !PyErr_Occurred()) {
49951 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49957 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
49959 swig_globalvar
*var
= v
->vars
;
49961 if (strcmp(var
->name
,n
) == 0) {
49962 res
= (*var
->set_attr
)(p
);
49967 if (res
== 1 && !PyErr_Occurred()) {
49968 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49973 SWIGINTERN PyTypeObject
*
49974 swig_varlink_type(void) {
49975 static char varlink__doc__
[] = "Swig var link object";
49976 static PyTypeObject varlink_type
;
49977 static int type_init
= 0;
49979 const PyTypeObject tmp
49981 PyObject_HEAD_INIT(NULL
)
49982 0, /* Number of items in variable part (ob_size) */
49983 (char *)"swigvarlink", /* Type name (tp_name) */
49984 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
49985 0, /* Itemsize (tp_itemsize) */
49986 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
49987 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
49988 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
49989 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
49990 0, /* tp_compare */
49991 (reprfunc
) swig_varlink_repr
, /* tp_repr */
49992 0, /* tp_as_number */
49993 0, /* tp_as_sequence */
49994 0, /* tp_as_mapping */
49997 (reprfunc
)swig_varlink_str
, /* tp_str */
49998 0, /* tp_getattro */
49999 0, /* tp_setattro */
50000 0, /* tp_as_buffer */
50002 varlink__doc__
, /* tp_doc */
50003 0, /* tp_traverse */
50005 0, /* tp_richcompare */
50006 0, /* tp_weaklistoffset */
50007 #if PY_VERSION_HEX >= 0x02020000
50008 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50010 #if PY_VERSION_HEX >= 0x02030000
50013 #ifdef COUNT_ALLOCS
50014 0,0,0,0 /* tp_alloc -> tp_next */
50017 varlink_type
= tmp
;
50018 varlink_type
.ob_type
= &PyType_Type
;
50021 return &varlink_type
;
50024 /* Create a variable linking object for use later */
50025 SWIGINTERN PyObject
*
50026 SWIG_Python_newvarlink(void) {
50027 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50031 return ((PyObject
*) result
);
50035 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50036 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50037 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50039 size_t size
= strlen(name
)+1;
50040 gv
->name
= (char *)malloc(size
);
50042 strncpy(gv
->name
,name
,size
);
50043 gv
->get_attr
= get_attr
;
50044 gv
->set_attr
= set_attr
;
50045 gv
->next
= v
->vars
;
50051 SWIGINTERN PyObject
*
50053 static PyObject
*_SWIG_globals
= 0;
50054 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50055 return _SWIG_globals
;
50058 /* -----------------------------------------------------------------------------
50059 * constants/methods manipulation
50060 * ----------------------------------------------------------------------------- */
50062 /* Install Constants */
50064 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50067 for (i
= 0; constants
[i
].type
; ++i
) {
50068 switch(constants
[i
].type
) {
50069 case SWIG_PY_POINTER
:
50070 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50072 case SWIG_PY_BINARY
:
50073 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50080 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50086 /* -----------------------------------------------------------------------------*/
50087 /* Fix SwigMethods to carry the callback ptrs when needed */
50088 /* -----------------------------------------------------------------------------*/
50091 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50092 swig_const_info
*const_table
,
50093 swig_type_info
**types
,
50094 swig_type_info
**types_initial
) {
50096 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50097 const char *c
= methods
[i
].ml_doc
;
50098 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50100 swig_const_info
*ci
= 0;
50101 const char *name
= c
+ 10;
50102 for (j
= 0; const_table
[j
].type
; ++j
) {
50103 if (strncmp(const_table
[j
].name
, name
,
50104 strlen(const_table
[j
].name
)) == 0) {
50105 ci
= &(const_table
[j
]);
50110 size_t shift
= (ci
->ptype
) - types
;
50111 swig_type_info
*ty
= types_initial
[shift
];
50112 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50113 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50114 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50117 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50119 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50121 strncpy(buff
, "swig_ptr: ", 10);
50123 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50124 methods
[i
].ml_doc
= ndoc
;
50136 /* -----------------------------------------------------------------------------*
50137 * Partial Init method
50138 * -----------------------------------------------------------------------------*/
50143 SWIGEXPORT
void SWIG_init(void) {
50146 /* Fix SwigMethods to carry the callback ptrs when needed */
50147 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50149 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50150 d
= PyModule_GetDict(m
);
50152 SWIG_InitializeModule(0);
50153 SWIG_InstallConstants(d
,swig_const_table
);
50156 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50157 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50158 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50159 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50160 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50161 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50162 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50163 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50164 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50165 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50166 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50167 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50168 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50169 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50170 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50171 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50172 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50173 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50174 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50175 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50176 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50177 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50178 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50179 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50180 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50181 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50182 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50183 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50184 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50185 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50186 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50187 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50188 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50189 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50190 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50191 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50192 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50193 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50194 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50195 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50196 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50197 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50198 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50199 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50200 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50201 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50202 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50203 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50204 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50205 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50206 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50207 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50208 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50209 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50210 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50211 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50212 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50213 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50214 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50215 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50216 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50217 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50218 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50219 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50220 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50221 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50222 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50223 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50224 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50225 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50226 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50227 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50228 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50229 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50230 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50231 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50232 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50233 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50234 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50235 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50236 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50237 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50238 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50239 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50240 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50241 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50242 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50243 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50244 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50245 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50246 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50247 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50248 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50249 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50250 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50251 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50252 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50253 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50254 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50255 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50256 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50257 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50258 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50259 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50260 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50261 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50262 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50263 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50264 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50265 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50266 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50267 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50268 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50269 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50270 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50271 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50272 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50273 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50274 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50275 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50276 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50277 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50278 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50279 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50280 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50281 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50282 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50283 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50284 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50285 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50286 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50287 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50288 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50289 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50290 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50291 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50292 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50293 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50294 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50295 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50296 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50297 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50298 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50299 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50300 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50301 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50302 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50303 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50304 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50305 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50306 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50307 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50308 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50309 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50310 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50311 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50312 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50313 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50314 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50315 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50316 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50317 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50318 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50319 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50320 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50321 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50322 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50323 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50324 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50325 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50326 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50327 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50328 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50329 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50330 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50331 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50332 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50333 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50334 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50335 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50336 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50337 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50338 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50339 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50340 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50341 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50342 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50343 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50344 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50345 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50346 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50347 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50348 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50349 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50350 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50351 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50352 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50353 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50354 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50355 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50356 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50357 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50358 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50359 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50360 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50361 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50362 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50363 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50364 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50365 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50366 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50367 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50368 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50369 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50370 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50371 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50372 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50373 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50374 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50375 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50376 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50377 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50378 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50379 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50380 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50381 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50382 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50383 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50384 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50385 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50386 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50387 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50388 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50389 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50390 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50391 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50392 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50393 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50394 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50395 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50396 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50397 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50398 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50399 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50400 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50401 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50402 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50403 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50404 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50405 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50406 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50407 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50408 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50409 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50410 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50411 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50412 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50413 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50414 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50415 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50416 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50418 // Map renamed classes back to their common name for OOR
50419 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50421 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50422 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50423 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50424 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50425 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50426 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50427 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50428 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50429 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50430 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50431 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50432 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50433 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50434 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50435 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50436 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50437 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50438 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50439 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50440 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50441 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50442 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50443 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50444 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50445 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50446 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50447 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50448 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50449 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50450 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50451 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50452 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50453 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50454 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50455 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50456 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50457 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50458 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50459 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50460 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50461 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50462 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50463 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50464 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50465 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50466 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50467 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50468 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50469 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50470 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50471 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50472 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50473 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50474 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50475 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50476 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50478 // Map renamed classes back to their common name for OOR
50479 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50480 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50482 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50483 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50484 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50485 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50486 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50487 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50488 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50489 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50490 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50491 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50492 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50494 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50496 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50497 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50498 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50499 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50500 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50501 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50502 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50503 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50504 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50505 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50506 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50507 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50508 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50509 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50510 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50511 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50512 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50513 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50514 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50515 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50516 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50517 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50518 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50519 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50520 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50521 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50522 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50523 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50524 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50525 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50526 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50527 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50528 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50529 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50530 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50531 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50532 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50533 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50534 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50535 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50536 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50537 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50538 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50539 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
50540 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
50541 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
50542 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
50543 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
50544 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
));
50545 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
));