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_MacCheckSpelling(wxTextCtrl
*self
,bool check
){}
2903 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2904 self
->AppendText(text
);
2906 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2907 return self
->GetValue().Mid(from
, to
- from
);
2909 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2910 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2911 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2912 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2913 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2915 SWIGINTERNINLINE PyObject
*
2916 SWIG_From_unsigned_SS_long (unsigned long value
)
2918 return (value
> LONG_MAX
) ?
2919 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2923 SWIGINTERNINLINE PyObject
*
2924 SWIG_From_size_t (size_t value
)
2926 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2930 SWIGINTERNINLINE PyObject
*
2931 SWIG_From_unsigned_SS_int (unsigned int value
)
2933 return SWIG_From_unsigned_SS_long (value
);
2937 #include <wx/slider.h>
2940 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2941 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2943 #if !wxUSE_TOGGLEBTN
2944 // implement dummy items for platforms that don't have this class
2946 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2948 class wxToggleButton
: public wxControl
2951 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2952 const wxPoint
&, const wxSize
&, long,
2953 const wxValidator
&, const wxString
&)
2954 { wxPyRaiseNotImplemented(); }
2957 { wxPyRaiseNotImplemented(); }
2961 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2963 SWIGINTERNINLINE
int
2964 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2967 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2968 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2972 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2973 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2974 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2976 Py_INCREF(udata
->m_obj
);
2977 return udata
->m_obj
;
2983 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2984 self
->SetClientData(new wxPyUserData(clientData
));
2986 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
){
2987 wxPyUserData
* udata
= NULL
;
2988 if (clientData
&& clientData
!= Py_None
)
2989 udata
= new wxPyUserData(clientData
);
2990 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2991 shortHelp
, longHelp
, udata
);
2993 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
){
2994 wxPyUserData
* udata
= NULL
;
2995 if (clientData
&& clientData
!= Py_None
)
2996 udata
= new wxPyUserData(clientData
);
2997 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2998 shortHelp
, longHelp
, udata
);
3000 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3001 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3003 Py_INCREF(udata
->m_obj
);
3004 return udata
->m_obj
;
3010 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3011 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3014 #include <wx/listctrl.h>
3016 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3017 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3018 // Python aware sorting function for wxPyListCtrl
3019 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3021 PyObject
* func
= (PyObject
*)funcPtr
;
3022 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3024 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3025 PyObject
* result
= PyEval_CallObject(func
, args
);
3028 retval
= PyInt_AsLong(result
);
3032 wxPyEndBlockThreads(blocked
);
3036 // C++ Version of a Python aware class
3037 class wxPyListCtrl
: public wxListCtrl
{
3038 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3040 wxPyListCtrl() : wxListCtrl() {}
3041 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3045 const wxValidator
& validator
,
3046 const wxString
& name
) :
3047 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3049 bool Create(wxWindow
* parent
, wxWindowID id
,
3053 const wxValidator
& validator
,
3054 const wxString
& name
) {
3055 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3058 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3059 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3061 // use the virtual version to avoid a confusing assert in the base class
3062 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3063 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3068 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3070 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3071 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3072 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3073 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3076 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3078 item
.SetMask( wxLIST_MASK_STATE
|
3086 if (self
->GetColumn(col
, item
))
3087 return new wxListItem(item
);
3091 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3092 wxListItem
* info
= new wxListItem
;
3093 info
->m_itemId
= itemId
;
3095 info
->m_mask
= 0xFFFF;
3096 self
->GetItem(*info
);
3099 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3101 self
->GetItemPosition(item
, pos
);
3104 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3106 self
->GetItemRect(item
, rect
, code
);
3109 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3110 if (!PyCallable_Check(func
))
3112 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3114 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3118 return (wxWindow
*)self
->m_mainWin
;
3122 #include <wx/treectrl.h>
3123 #include "wx/wxPython/pytree.h"
3125 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3126 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3127 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3128 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3130 static wxTreeItemId wxNullTreeItemId
;
3132 // C++ version of Python aware wxTreeCtrl
3133 class wxPyTreeCtrl
: public wxTreeCtrl
{
3134 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3136 wxPyTreeCtrl() : wxTreeCtrl() {}
3137 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3141 const wxValidator
& validator
,
3142 const wxString
& name
) :
3143 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3145 bool Create(wxWindow
*parent
, wxWindowID id
,
3149 const wxValidator
& validator
,
3150 const wxString
& name
) {
3151 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3155 int OnCompareItems(const wxTreeItemId
& item1
,
3156 const wxTreeItemId
& item2
) {
3159 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3160 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3161 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3162 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3163 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3167 wxPyEndBlockThreads(blocked
);
3169 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3175 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3178 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3179 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3181 data
= new wxPyTreeItemData();
3182 data
->SetId(item
); // set the id
3183 self
->SetItemData(item
, data
);
3187 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3188 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3190 data
= new wxPyTreeItemData();
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 return data
->GetData();
3196 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3197 data
->SetId(item
); // set the id
3198 self
->SetItemData(item
, data
);
3200 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3201 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3203 data
= new wxPyTreeItemData(obj
);
3204 data
->SetId(item
); // set the id
3205 self
->SetItemData(item
, data
);
3209 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3211 PyObject
* rval
= PyList_New(0);
3212 wxArrayTreeItemIds array
;
3214 num
= self
->GetSelections(array
);
3215 for (x
=0; x
< num
; x
++) {
3216 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3217 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3218 PyList_Append(rval
, item
);
3221 wxPyEndBlockThreads(blocked
);
3224 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3226 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3227 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3228 PyObject
* tup
= PyTuple_New(2);
3229 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3230 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3231 wxPyEndBlockThreads(blocked
);
3234 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3235 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 PyObject
* tup
= PyTuple_New(2);
3238 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3239 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3240 wxPyEndBlockThreads(blocked
);
3243 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3245 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3246 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3247 wxRect
* r
= new wxRect(rect
);
3248 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3249 wxPyEndBlockThreads(blocked
);
3255 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3257 SWIGINTERNINLINE PyObject
*
3258 SWIG_From_bool (bool value
)
3260 return PyBool_FromLong(value
? 1 : 0);
3263 // C++ version of Python aware wxControl
3264 class wxPyControl
: public wxControl
3266 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3268 wxPyControl() : wxControl() {}
3269 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3270 const wxPoint
& pos
= wxDefaultPosition
,
3271 const wxSize
& size
= wxDefaultSize
,
3273 const wxValidator
& validator
=wxDefaultValidator
,
3274 const wxString
& name
= wxPyControlNameStr
)
3275 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3357 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3359 #include <wx/generic/dragimgg.h>
3361 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(&rv
, NULL
);
3367 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3369 self
->GetRange(NULL
, &rv
);
3372 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3373 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3374 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3375 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3376 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3377 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3378 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3379 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3380 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3382 #include <wx/srchctrl.h>
3384 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3388 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3389 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3394 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3395 PyObject
*pyobj
= 0;
3399 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3401 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3408 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
*resultobj
= 0;
3410 wxWindow
*arg1
= (wxWindow
*) 0 ;
3411 int arg2
= (int) -1 ;
3412 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3413 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3414 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3415 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3416 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3417 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3418 long arg6
= (long) 0 ;
3419 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3420 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3421 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3422 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3423 wxButton
*result
= 0 ;
3428 bool temp3
= false ;
3435 bool temp8
= false ;
3436 PyObject
* obj0
= 0 ;
3437 PyObject
* obj1
= 0 ;
3438 PyObject
* obj2
= 0 ;
3439 PyObject
* obj3
= 0 ;
3440 PyObject
* obj4
= 0 ;
3441 PyObject
* obj5
= 0 ;
3442 PyObject
* obj6
= 0 ;
3443 PyObject
* obj7
= 0 ;
3444 char * kwnames
[] = {
3445 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3450 if (!SWIG_IsOK(res1
)) {
3451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3453 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3456 if (!SWIG_IsOK(ecode2
)) {
3457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3459 arg2
= static_cast< int >(val2
);
3463 arg3
= wxString_in_helper(obj2
);
3464 if (arg3
== NULL
) SWIG_fail
;
3471 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3477 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3481 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3482 if (!SWIG_IsOK(ecode6
)) {
3483 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3485 arg6
= static_cast< long >(val6
);
3488 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3489 if (!SWIG_IsOK(res7
)) {
3490 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3495 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3499 arg8
= wxString_in_helper(obj7
);
3500 if (arg8
== NULL
) SWIG_fail
;
3505 if (!wxPyCheckForApp()) SWIG_fail
;
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3534 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3535 PyObject
*resultobj
= 0;
3536 wxButton
*result
= 0 ;
3538 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3540 if (!wxPyCheckForApp()) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (wxButton
*)new wxButton();
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3553 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
*resultobj
= 0;
3555 wxButton
*arg1
= (wxButton
*) 0 ;
3556 wxWindow
*arg2
= (wxWindow
*) 0 ;
3557 int arg3
= (int) -1 ;
3558 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3559 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3560 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3561 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3562 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3563 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3564 long arg7
= (long) 0 ;
3565 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3566 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3567 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3568 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3576 bool temp4
= false ;
3583 bool temp9
= false ;
3584 PyObject
* obj0
= 0 ;
3585 PyObject
* obj1
= 0 ;
3586 PyObject
* obj2
= 0 ;
3587 PyObject
* obj3
= 0 ;
3588 PyObject
* obj4
= 0 ;
3589 PyObject
* obj5
= 0 ;
3590 PyObject
* obj6
= 0 ;
3591 PyObject
* obj7
= 0 ;
3592 PyObject
* obj8
= 0 ;
3593 char * kwnames
[] = {
3594 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3599 if (!SWIG_IsOK(res1
)) {
3600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3602 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3603 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3604 if (!SWIG_IsOK(res2
)) {
3605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3607 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3610 if (!SWIG_IsOK(ecode3
)) {
3611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3613 arg3
= static_cast< int >(val3
);
3617 arg4
= wxString_in_helper(obj3
);
3618 if (arg4
== NULL
) SWIG_fail
;
3625 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3631 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3635 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3636 if (!SWIG_IsOK(ecode7
)) {
3637 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3639 arg7
= static_cast< long >(val7
);
3642 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3643 if (!SWIG_IsOK(res8
)) {
3644 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3649 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3653 arg9
= wxString_in_helper(obj8
);
3654 if (arg9
== NULL
) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3689 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3690 PyObject
*resultobj
= 0;
3691 wxButton
*arg1
= (wxButton
*) 0 ;
3694 PyObject
*swig_obj
[1] ;
3696 if (!args
) SWIG_fail
;
3698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3699 if (!SWIG_IsOK(res1
)) {
3700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3702 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3705 (arg1
)->SetDefault();
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= SWIG_Py_Void();
3716 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3717 PyObject
*resultobj
= 0;
3720 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 result
= wxButton::GetDefaultSize();
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3734 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
= 0;
3736 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3737 SwigValueWrapper
<wxVisualAttributes
> result
;
3740 PyObject
* obj0
= 0 ;
3741 char * kwnames
[] = {
3742 (char *) "variant", NULL
3745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3747 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3748 if (!SWIG_IsOK(ecode1
)) {
3749 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3751 arg1
= static_cast< wxWindowVariant
>(val1
);
3754 if (!wxPyCheckForApp()) SWIG_fail
;
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 result
= wxButton::GetClassDefaultAttributes(arg1
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3760 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3767 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3770 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3771 return SWIG_Py_Void();
3774 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3775 return SWIG_Python_InitShadowInstance(args
);
3778 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
= 0;
3780 wxWindow
*arg1
= (wxWindow
*) 0 ;
3781 int arg2
= (int) -1 ;
3782 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3783 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3784 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3785 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3786 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3787 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3788 long arg6
= (long) wxBU_AUTODRAW
;
3789 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3790 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3791 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3792 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3793 wxBitmapButton
*result
= 0 ;
3806 bool temp8
= false ;
3807 PyObject
* obj0
= 0 ;
3808 PyObject
* obj1
= 0 ;
3809 PyObject
* obj2
= 0 ;
3810 PyObject
* obj3
= 0 ;
3811 PyObject
* obj4
= 0 ;
3812 PyObject
* obj5
= 0 ;
3813 PyObject
* obj6
= 0 ;
3814 PyObject
* obj7
= 0 ;
3815 char * kwnames
[] = {
3816 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3821 if (!SWIG_IsOK(res1
)) {
3822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3824 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3827 if (!SWIG_IsOK(ecode2
)) {
3828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3830 arg2
= static_cast< int >(val2
);
3833 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3834 if (!SWIG_IsOK(res3
)) {
3835 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3840 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3845 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3851 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3855 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3856 if (!SWIG_IsOK(ecode6
)) {
3857 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3859 arg6
= static_cast< long >(val6
);
3862 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3863 if (!SWIG_IsOK(res7
)) {
3864 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3869 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3873 arg8
= wxString_in_helper(obj7
);
3874 if (arg8
== NULL
) SWIG_fail
;
3879 if (!wxPyCheckForApp()) SWIG_fail
;
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3900 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3901 PyObject
*resultobj
= 0;
3902 wxBitmapButton
*result
= 0 ;
3904 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3906 if (!wxPyCheckForApp()) SWIG_fail
;
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 result
= (wxBitmapButton
*)new wxBitmapButton();
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) SWIG_fail
;
3912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3919 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
= 0;
3921 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3922 wxWindow
*arg2
= (wxWindow
*) 0 ;
3923 int arg3
= (int) -1 ;
3924 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3925 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3926 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3927 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3928 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3929 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3930 long arg7
= (long) wxBU_AUTODRAW
;
3931 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3932 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3933 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3934 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3950 bool temp9
= false ;
3951 PyObject
* obj0
= 0 ;
3952 PyObject
* obj1
= 0 ;
3953 PyObject
* obj2
= 0 ;
3954 PyObject
* obj3
= 0 ;
3955 PyObject
* obj4
= 0 ;
3956 PyObject
* obj5
= 0 ;
3957 PyObject
* obj6
= 0 ;
3958 PyObject
* obj7
= 0 ;
3959 PyObject
* obj8
= 0 ;
3960 char * kwnames
[] = {
3961 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3966 if (!SWIG_IsOK(res1
)) {
3967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3969 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3970 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3971 if (!SWIG_IsOK(res2
)) {
3972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3974 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3977 if (!SWIG_IsOK(ecode3
)) {
3978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3980 arg3
= static_cast< int >(val3
);
3983 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3984 if (!SWIG_IsOK(res4
)) {
3985 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3990 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3995 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4001 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4005 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4006 if (!SWIG_IsOK(ecode7
)) {
4007 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4009 arg7
= static_cast< long >(val7
);
4012 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4013 if (!SWIG_IsOK(res8
)) {
4014 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4019 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4023 arg9
= wxString_in_helper(obj8
);
4024 if (arg9
== NULL
) SWIG_fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4051 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4052 PyObject
*resultobj
= 0;
4053 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4057 PyObject
*swig_obj
[1] ;
4059 if (!args
) SWIG_fail
;
4061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4062 if (!SWIG_IsOK(res1
)) {
4063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4065 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 result
= (arg1
)->GetBitmapLabel();
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4079 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4080 PyObject
*resultobj
= 0;
4081 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4085 PyObject
*swig_obj
[1] ;
4087 if (!args
) SWIG_fail
;
4089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4090 if (!SWIG_IsOK(res1
)) {
4091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4093 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 result
= (arg1
)->GetBitmapDisabled();
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4107 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4108 PyObject
*resultobj
= 0;
4109 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4113 PyObject
*swig_obj
[1] ;
4115 if (!args
) SWIG_fail
;
4117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4118 if (!SWIG_IsOK(res1
)) {
4119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4121 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (arg1
)->GetBitmapFocus();
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4135 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4136 PyObject
*resultobj
= 0;
4137 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4141 PyObject
*swig_obj
[1] ;
4143 if (!args
) SWIG_fail
;
4145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4146 if (!SWIG_IsOK(res1
)) {
4147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4149 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (arg1
)->GetBitmapSelected();
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4163 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4164 PyObject
*resultobj
= 0;
4165 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4169 PyObject
*swig_obj
[1] ;
4171 if (!args
) SWIG_fail
;
4173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4174 if (!SWIG_IsOK(res1
)) {
4175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4177 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 result
= (arg1
)->GetBitmapHover();
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4191 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
*resultobj
= 0;
4193 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4194 wxBitmap
*arg2
= 0 ;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4201 char * kwnames
[] = {
4202 (char *) "self",(char *) "bitmap", NULL
4205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4207 if (!SWIG_IsOK(res1
)) {
4208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4210 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4211 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4212 if (!SWIG_IsOK(res2
)) {
4213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4218 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_Py_Void();
4232 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
= 0;
4234 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4235 wxBitmap
*arg2
= 0 ;
4240 PyObject
* obj0
= 0 ;
4241 PyObject
* obj1
= 0 ;
4242 char * kwnames
[] = {
4243 (char *) "self",(char *) "bitmap", NULL
4246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4248 if (!SWIG_IsOK(res1
)) {
4249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4251 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4253 if (!SWIG_IsOK(res2
)) {
4254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4259 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4266 resultobj
= SWIG_Py_Void();
4273 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
= 0;
4275 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4276 wxBitmap
*arg2
= 0 ;
4281 PyObject
* obj0
= 0 ;
4282 PyObject
* obj1
= 0 ;
4283 char * kwnames
[] = {
4284 (char *) "self",(char *) "bitmap", NULL
4287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4289 if (!SWIG_IsOK(res1
)) {
4290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4292 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4293 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4294 if (!SWIG_IsOK(res2
)) {
4295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4300 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4303 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 resultobj
= SWIG_Py_Void();
4314 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
*resultobj
= 0;
4316 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4317 wxBitmap
*arg2
= 0 ;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4324 char * kwnames
[] = {
4325 (char *) "self",(char *) "bitmap", NULL
4328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4330 if (!SWIG_IsOK(res1
)) {
4331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4333 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4335 if (!SWIG_IsOK(res2
)) {
4336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4341 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4348 resultobj
= SWIG_Py_Void();
4355 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
= 0;
4357 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4358 wxBitmap
*arg2
= 0 ;
4363 PyObject
* obj0
= 0 ;
4364 PyObject
* obj1
= 0 ;
4365 char * kwnames
[] = {
4366 (char *) "self",(char *) "hover", NULL
4369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4371 if (!SWIG_IsOK(res1
)) {
4372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4374 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4375 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4376 if (!SWIG_IsOK(res2
)) {
4377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4382 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4386 wxPyEndAllowThreads(__tstate
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4389 resultobj
= SWIG_Py_Void();
4396 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
*resultobj
= 0;
4398 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4407 PyObject
* obj0
= 0 ;
4408 PyObject
* obj1
= 0 ;
4409 PyObject
* obj2
= 0 ;
4410 char * kwnames
[] = {
4411 (char *) "self",(char *) "x",(char *) "y", NULL
4414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4416 if (!SWIG_IsOK(res1
)) {
4417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4419 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4421 if (!SWIG_IsOK(ecode2
)) {
4422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4424 arg2
= static_cast< int >(val2
);
4425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4426 if (!SWIG_IsOK(ecode3
)) {
4427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4429 arg3
= static_cast< int >(val3
);
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 (arg1
)->SetMargins(arg2
,arg3
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= SWIG_Py_Void();
4443 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4444 PyObject
*resultobj
= 0;
4445 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4449 PyObject
*swig_obj
[1] ;
4451 if (!args
) SWIG_fail
;
4453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4454 if (!SWIG_IsOK(res1
)) {
4455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4457 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= SWIG_From_int(static_cast< int >(result
));
4471 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4472 PyObject
*resultobj
= 0;
4473 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4477 PyObject
*swig_obj
[1] ;
4479 if (!args
) SWIG_fail
;
4481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4482 if (!SWIG_IsOK(res1
)) {
4483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4485 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4492 resultobj
= SWIG_From_int(static_cast< int >(result
));
4499 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4502 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4503 return SWIG_Py_Void();
4506 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4507 return SWIG_Python_InitShadowInstance(args
);
4510 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4511 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4516 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4517 PyObject
*pyobj
= 0;
4521 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4523 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4530 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
= 0;
4532 wxWindow
*arg1
= (wxWindow
*) 0 ;
4533 int arg2
= (int) -1 ;
4534 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4535 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4536 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4537 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4538 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4539 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4540 long arg6
= (long) 0 ;
4541 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4542 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4543 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4544 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4545 wxCheckBox
*result
= 0 ;
4550 bool temp3
= false ;
4557 bool temp8
= false ;
4558 PyObject
* obj0
= 0 ;
4559 PyObject
* obj1
= 0 ;
4560 PyObject
* obj2
= 0 ;
4561 PyObject
* obj3
= 0 ;
4562 PyObject
* obj4
= 0 ;
4563 PyObject
* obj5
= 0 ;
4564 PyObject
* obj6
= 0 ;
4565 PyObject
* obj7
= 0 ;
4566 char * kwnames
[] = {
4567 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4572 if (!SWIG_IsOK(res1
)) {
4573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4575 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4578 if (!SWIG_IsOK(ecode2
)) {
4579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4581 arg2
= static_cast< int >(val2
);
4585 arg3
= wxString_in_helper(obj2
);
4586 if (arg3
== NULL
) SWIG_fail
;
4593 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4599 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4603 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4604 if (!SWIG_IsOK(ecode6
)) {
4605 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4607 arg6
= static_cast< long >(val6
);
4610 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4611 if (!SWIG_IsOK(res7
)) {
4612 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4617 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4621 arg8
= wxString_in_helper(obj7
);
4622 if (arg8
== NULL
) SWIG_fail
;
4627 if (!wxPyCheckForApp()) SWIG_fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4656 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4657 PyObject
*resultobj
= 0;
4658 wxCheckBox
*result
= 0 ;
4660 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4662 if (!wxPyCheckForApp()) SWIG_fail
;
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 result
= (wxCheckBox
*)new wxCheckBox();
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4675 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
= 0;
4677 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4678 wxWindow
*arg2
= (wxWindow
*) 0 ;
4679 int arg3
= (int) -1 ;
4680 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4681 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4682 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4683 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4684 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4685 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4686 long arg7
= (long) 0 ;
4687 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4688 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4689 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4690 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4698 bool temp4
= false ;
4705 bool temp9
= false ;
4706 PyObject
* obj0
= 0 ;
4707 PyObject
* obj1
= 0 ;
4708 PyObject
* obj2
= 0 ;
4709 PyObject
* obj3
= 0 ;
4710 PyObject
* obj4
= 0 ;
4711 PyObject
* obj5
= 0 ;
4712 PyObject
* obj6
= 0 ;
4713 PyObject
* obj7
= 0 ;
4714 PyObject
* obj8
= 0 ;
4715 char * kwnames
[] = {
4716 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4721 if (!SWIG_IsOK(res1
)) {
4722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4724 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4725 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4726 if (!SWIG_IsOK(res2
)) {
4727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4729 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4732 if (!SWIG_IsOK(ecode3
)) {
4733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4735 arg3
= static_cast< int >(val3
);
4739 arg4
= wxString_in_helper(obj3
);
4740 if (arg4
== NULL
) SWIG_fail
;
4747 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4753 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4757 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4758 if (!SWIG_IsOK(ecode7
)) {
4759 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4761 arg7
= static_cast< long >(val7
);
4764 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4765 if (!SWIG_IsOK(res8
)) {
4766 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4771 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4775 arg9
= wxString_in_helper(obj8
);
4776 if (arg9
== NULL
) SWIG_fail
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4811 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4812 PyObject
*resultobj
= 0;
4813 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4817 PyObject
*swig_obj
[1] ;
4819 if (!args
) SWIG_fail
;
4821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4822 if (!SWIG_IsOK(res1
)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4825 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= (bool)(arg1
)->GetValue();
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4841 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4842 PyObject
*resultobj
= 0;
4843 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4847 PyObject
*swig_obj
[1] ;
4849 if (!args
) SWIG_fail
;
4851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4852 if (!SWIG_IsOK(res1
)) {
4853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4855 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 result
= (bool)(arg1
)->IsChecked();
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4871 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
= 0;
4873 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4879 PyObject
* obj0
= 0 ;
4880 PyObject
* obj1
= 0 ;
4881 char * kwnames
[] = {
4882 (char *) "self",(char *) "state", NULL
4885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4887 if (!SWIG_IsOK(res1
)) {
4888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4890 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4891 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4892 if (!SWIG_IsOK(ecode2
)) {
4893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4895 arg2
= static_cast< bool >(val2
);
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 (arg1
)->SetValue(arg2
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= SWIG_Py_Void();
4909 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4910 PyObject
*resultobj
= 0;
4911 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4912 wxCheckBoxState result
;
4915 PyObject
*swig_obj
[1] ;
4917 if (!args
) SWIG_fail
;
4919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4920 if (!SWIG_IsOK(res1
)) {
4921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4923 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= SWIG_From_int(static_cast< int >(result
));
4937 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
= 0;
4939 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4940 wxCheckBoxState arg2
;
4945 PyObject
* obj0
= 0 ;
4946 PyObject
* obj1
= 0 ;
4947 char * kwnames
[] = {
4948 (char *) "self",(char *) "state", NULL
4951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4953 if (!SWIG_IsOK(res1
)) {
4954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4956 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4958 if (!SWIG_IsOK(ecode2
)) {
4959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4961 arg2
= static_cast< wxCheckBoxState
>(val2
);
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 (arg1
)->Set3StateValue(arg2
);
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4968 resultobj
= SWIG_Py_Void();
4975 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4976 PyObject
*resultobj
= 0;
4977 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4981 PyObject
*swig_obj
[1] ;
4983 if (!args
) SWIG_fail
;
4985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4986 if (!SWIG_IsOK(res1
)) {
4987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4989 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5005 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5006 PyObject
*resultobj
= 0;
5007 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5011 PyObject
*swig_obj
[1] ;
5013 if (!args
) SWIG_fail
;
5015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5016 if (!SWIG_IsOK(res1
)) {
5017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5019 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5035 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
= 0;
5037 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5038 SwigValueWrapper
<wxVisualAttributes
> result
;
5041 PyObject
* obj0
= 0 ;
5042 char * kwnames
[] = {
5043 (char *) "variant", NULL
5046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5048 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5049 if (!SWIG_IsOK(ecode1
)) {
5050 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5052 arg1
= static_cast< wxWindowVariant
>(val1
);
5055 if (!wxPyCheckForApp()) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5061 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5068 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5071 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5072 return SWIG_Py_Void();
5075 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5076 return SWIG_Python_InitShadowInstance(args
);
5079 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5080 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5085 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5086 PyObject
*pyobj
= 0;
5090 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5092 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5099 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
= 0;
5101 wxWindow
*arg1
= (wxWindow
*) 0 ;
5102 int arg2
= (int) -1 ;
5103 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5104 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5105 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5106 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5107 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5108 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5109 long arg6
= (long) 0 ;
5110 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5111 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5112 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5113 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5114 wxChoice
*result
= 0 ;
5121 bool temp5
= false ;
5126 bool temp8
= false ;
5127 PyObject
* obj0
= 0 ;
5128 PyObject
* obj1
= 0 ;
5129 PyObject
* obj2
= 0 ;
5130 PyObject
* obj3
= 0 ;
5131 PyObject
* obj4
= 0 ;
5132 PyObject
* obj5
= 0 ;
5133 PyObject
* obj6
= 0 ;
5134 PyObject
* obj7
= 0 ;
5135 char * kwnames
[] = {
5136 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5141 if (!SWIG_IsOK(res1
)) {
5142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5144 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5147 if (!SWIG_IsOK(ecode2
)) {
5148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5150 arg2
= static_cast< int >(val2
);
5155 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5161 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5166 if (! PySequence_Check(obj4
)) {
5167 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5170 arg5
= new wxArrayString
;
5172 int i
, len
=PySequence_Length(obj4
);
5173 for (i
=0; i
<len
; i
++) {
5174 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5175 wxString
* s
= wxString_in_helper(item
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5184 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5185 if (!SWIG_IsOK(ecode6
)) {
5186 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5188 arg6
= static_cast< long >(val6
);
5191 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5192 if (!SWIG_IsOK(res7
)) {
5193 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5198 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5202 arg8
= wxString_in_helper(obj7
);
5203 if (arg8
== NULL
) SWIG_fail
;
5208 if (!wxPyCheckForApp()) SWIG_fail
;
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5216 if (temp5
) delete arg5
;
5225 if (temp5
) delete arg5
;
5235 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5236 PyObject
*resultobj
= 0;
5237 wxChoice
*result
= 0 ;
5239 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5241 if (!wxPyCheckForApp()) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 result
= (wxChoice
*)new wxChoice();
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5254 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
= 0;
5256 wxChoice
*arg1
= (wxChoice
*) 0 ;
5257 wxWindow
*arg2
= (wxWindow
*) 0 ;
5258 int arg3
= (int) -1 ;
5259 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5260 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5261 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5262 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5263 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5264 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5265 long arg7
= (long) 0 ;
5266 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5267 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5268 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5269 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5279 bool temp6
= false ;
5284 bool temp9
= false ;
5285 PyObject
* obj0
= 0 ;
5286 PyObject
* obj1
= 0 ;
5287 PyObject
* obj2
= 0 ;
5288 PyObject
* obj3
= 0 ;
5289 PyObject
* obj4
= 0 ;
5290 PyObject
* obj5
= 0 ;
5291 PyObject
* obj6
= 0 ;
5292 PyObject
* obj7
= 0 ;
5293 PyObject
* obj8
= 0 ;
5294 char * kwnames
[] = {
5295 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5300 if (!SWIG_IsOK(res1
)) {
5301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5303 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5305 if (!SWIG_IsOK(res2
)) {
5306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5308 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5311 if (!SWIG_IsOK(ecode3
)) {
5312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5314 arg3
= static_cast< int >(val3
);
5319 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5325 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5330 if (! PySequence_Check(obj5
)) {
5331 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5334 arg6
= new wxArrayString
;
5336 int i
, len
=PySequence_Length(obj5
);
5337 for (i
=0; i
<len
; i
++) {
5338 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5339 wxString
* s
= wxString_in_helper(item
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5348 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5349 if (!SWIG_IsOK(ecode7
)) {
5350 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5352 arg7
= static_cast< long >(val7
);
5355 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5356 if (!SWIG_IsOK(res8
)) {
5357 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5360 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5362 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5366 arg9
= wxString_in_helper(obj8
);
5367 if (arg9
== NULL
) SWIG_fail
;
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5381 if (temp6
) delete arg6
;
5390 if (temp6
) delete arg6
;
5400 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5401 PyObject
*resultobj
= 0;
5402 wxChoice
*arg1
= (wxChoice
*) 0 ;
5406 PyObject
*swig_obj
[1] ;
5408 if (!args
) SWIG_fail
;
5410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5411 if (!SWIG_IsOK(res1
)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5414 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= SWIG_From_int(static_cast< int >(result
));
5428 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
= 0;
5430 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5431 SwigValueWrapper
<wxVisualAttributes
> result
;
5434 PyObject
* obj0
= 0 ;
5435 char * kwnames
[] = {
5436 (char *) "variant", NULL
5439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5441 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5442 if (!SWIG_IsOK(ecode1
)) {
5443 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5445 arg1
= static_cast< wxWindowVariant
>(val1
);
5448 if (!wxPyCheckForApp()) SWIG_fail
;
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5454 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5461 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5464 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5465 return SWIG_Py_Void();
5468 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5469 return SWIG_Python_InitShadowInstance(args
);
5472 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5473 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5478 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5479 PyObject
*pyobj
= 0;
5483 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5485 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5492 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
*resultobj
= 0;
5494 wxWindow
*arg1
= (wxWindow
*) 0 ;
5495 int arg2
= (int) -1 ;
5496 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5497 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5498 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5499 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5500 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5501 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5502 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5503 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5504 long arg7
= (long) 0 ;
5505 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5506 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5507 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5508 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5509 wxComboBox
*result
= 0 ;
5514 bool temp3
= false ;
5517 bool temp6
= false ;
5522 bool temp9
= false ;
5523 PyObject
* obj0
= 0 ;
5524 PyObject
* obj1
= 0 ;
5525 PyObject
* obj2
= 0 ;
5526 PyObject
* obj3
= 0 ;
5527 PyObject
* obj4
= 0 ;
5528 PyObject
* obj5
= 0 ;
5529 PyObject
* obj6
= 0 ;
5530 PyObject
* obj7
= 0 ;
5531 PyObject
* obj8
= 0 ;
5532 char * kwnames
[] = {
5533 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5538 if (!SWIG_IsOK(res1
)) {
5539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5541 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5544 if (!SWIG_IsOK(ecode2
)) {
5545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5547 arg2
= static_cast< int >(val2
);
5551 arg3
= wxString_in_helper(obj2
);
5552 if (arg3
== NULL
) SWIG_fail
;
5559 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5565 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5570 if (! PySequence_Check(obj5
)) {
5571 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5574 arg6
= new wxArrayString
;
5576 int i
, len
=PySequence_Length(obj5
);
5577 for (i
=0; i
<len
; i
++) {
5578 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5579 wxString
* s
= wxString_in_helper(item
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5588 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5589 if (!SWIG_IsOK(ecode7
)) {
5590 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5592 arg7
= static_cast< long >(val7
);
5595 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5596 if (!SWIG_IsOK(res8
)) {
5597 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5602 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5606 arg9
= wxString_in_helper(obj8
);
5607 if (arg9
== NULL
) SWIG_fail
;
5612 if (!wxPyCheckForApp()) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 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
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5624 if (temp6
) delete arg6
;
5637 if (temp6
) delete arg6
;
5647 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5648 PyObject
*resultobj
= 0;
5649 wxComboBox
*result
= 0 ;
5651 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5653 if (!wxPyCheckForApp()) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= (wxComboBox
*)new wxComboBox();
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5666 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
= 0;
5668 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5669 wxWindow
*arg2
= (wxWindow
*) 0 ;
5670 int arg3
= (int) -1 ;
5671 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5672 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5673 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5674 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5675 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5676 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5677 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5678 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5679 long arg8
= (long) 0 ;
5680 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5681 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5682 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5683 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5691 bool temp4
= false ;
5694 bool temp7
= false ;
5699 bool temp10
= false ;
5700 PyObject
* obj0
= 0 ;
5701 PyObject
* obj1
= 0 ;
5702 PyObject
* obj2
= 0 ;
5703 PyObject
* obj3
= 0 ;
5704 PyObject
* obj4
= 0 ;
5705 PyObject
* obj5
= 0 ;
5706 PyObject
* obj6
= 0 ;
5707 PyObject
* obj7
= 0 ;
5708 PyObject
* obj8
= 0 ;
5709 PyObject
* obj9
= 0 ;
5710 char * kwnames
[] = {
5711 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5716 if (!SWIG_IsOK(res1
)) {
5717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5719 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5721 if (!SWIG_IsOK(res2
)) {
5722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5724 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5727 if (!SWIG_IsOK(ecode3
)) {
5728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5730 arg3
= static_cast< int >(val3
);
5734 arg4
= wxString_in_helper(obj3
);
5735 if (arg4
== NULL
) SWIG_fail
;
5742 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5748 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5753 if (! PySequence_Check(obj6
)) {
5754 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5757 arg7
= new wxArrayString
;
5759 int i
, len
=PySequence_Length(obj6
);
5760 for (i
=0; i
<len
; i
++) {
5761 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5762 wxString
* s
= wxString_in_helper(item
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5771 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5772 if (!SWIG_IsOK(ecode8
)) {
5773 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5775 arg8
= static_cast< long >(val8
);
5778 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5779 if (!SWIG_IsOK(res9
)) {
5780 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5785 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5789 arg10
= wxString_in_helper(obj9
);
5790 if (arg10
== NULL
) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 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
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5808 if (temp7
) delete arg7
;
5821 if (temp7
) delete arg7
;
5831 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5832 PyObject
*resultobj
= 0;
5833 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5837 PyObject
*swig_obj
[1] ;
5839 if (!args
) SWIG_fail
;
5841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5842 if (!SWIG_IsOK(res1
)) {
5843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5845 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= ((wxComboBox
const *)arg1
)->GetValue();
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5865 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
= 0;
5867 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5868 wxString
*arg2
= 0 ;
5871 bool temp2
= false ;
5872 PyObject
* obj0
= 0 ;
5873 PyObject
* obj1
= 0 ;
5874 char * kwnames
[] = {
5875 (char *) "self",(char *) "value", NULL
5878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5880 if (!SWIG_IsOK(res1
)) {
5881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5883 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5885 arg2
= wxString_in_helper(obj1
);
5886 if (arg2
== NULL
) SWIG_fail
;
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 (arg1
)->SetValue((wxString
const &)*arg2
);
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= SWIG_Py_Void();
5910 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5911 PyObject
*resultobj
= 0;
5912 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5915 PyObject
*swig_obj
[1] ;
5917 if (!args
) SWIG_fail
;
5919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5920 if (!SWIG_IsOK(res1
)) {
5921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5923 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 resultobj
= SWIG_Py_Void();
5937 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5938 PyObject
*resultobj
= 0;
5939 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5942 PyObject
*swig_obj
[1] ;
5944 if (!args
) SWIG_fail
;
5946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5947 if (!SWIG_IsOK(res1
)) {
5948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5950 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= SWIG_Py_Void();
5964 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5965 PyObject
*resultobj
= 0;
5966 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5969 PyObject
*swig_obj
[1] ;
5971 if (!args
) SWIG_fail
;
5973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5974 if (!SWIG_IsOK(res1
)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5977 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= SWIG_Py_Void();
5991 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
= 0;
5993 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5999 PyObject
* obj0
= 0 ;
6000 PyObject
* obj1
= 0 ;
6001 char * kwnames
[] = {
6002 (char *) "self",(char *) "pos", NULL
6005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6007 if (!SWIG_IsOK(res1
)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6010 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6011 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6012 if (!SWIG_IsOK(ecode2
)) {
6013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6015 arg2
= static_cast< long >(val2
);
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 (arg1
)->SetInsertionPoint(arg2
);
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= SWIG_Py_Void();
6029 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6030 PyObject
*resultobj
= 0;
6031 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6035 PyObject
*swig_obj
[1] ;
6037 if (!args
) SWIG_fail
;
6039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6040 if (!SWIG_IsOK(res1
)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6043 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= SWIG_From_long(static_cast< long >(result
));
6057 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6058 PyObject
*resultobj
= 0;
6059 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6063 PyObject
*swig_obj
[1] ;
6065 if (!args
) SWIG_fail
;
6067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6068 if (!SWIG_IsOK(res1
)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6071 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 resultobj
= SWIG_From_long(static_cast< long >(result
));
6085 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
= 0;
6087 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6090 wxString
*arg4
= 0 ;
6097 bool temp4
= false ;
6098 PyObject
* obj0
= 0 ;
6099 PyObject
* obj1
= 0 ;
6100 PyObject
* obj2
= 0 ;
6101 PyObject
* obj3
= 0 ;
6102 char * kwnames
[] = {
6103 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6108 if (!SWIG_IsOK(res1
)) {
6109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6111 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6112 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6113 if (!SWIG_IsOK(ecode2
)) {
6114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6116 arg2
= static_cast< long >(val2
);
6117 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6118 if (!SWIG_IsOK(ecode3
)) {
6119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6121 arg3
= static_cast< long >(val3
);
6123 arg4
= wxString_in_helper(obj3
);
6124 if (arg4
== NULL
) SWIG_fail
;
6128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6133 resultobj
= SWIG_Py_Void();
6148 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
= 0;
6150 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6159 PyObject
* obj0
= 0 ;
6160 PyObject
* obj1
= 0 ;
6161 PyObject
* obj2
= 0 ;
6162 char * kwnames
[] = {
6163 (char *) "self",(char *) "from",(char *) "to", NULL
6166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6168 if (!SWIG_IsOK(res1
)) {
6169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6171 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6172 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6173 if (!SWIG_IsOK(ecode2
)) {
6174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6176 arg2
= static_cast< long >(val2
);
6177 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6178 if (!SWIG_IsOK(ecode3
)) {
6179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6181 arg3
= static_cast< long >(val3
);
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 (arg1
)->SetSelection(arg2
,arg3
);
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= SWIG_Py_Void();
6195 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6196 PyObject
*resultobj
= 0;
6197 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6198 long *arg2
= (long *) 0 ;
6199 long *arg3
= (long *) 0 ;
6203 int res2
= SWIG_TMPOBJ
;
6205 int res3
= SWIG_TMPOBJ
;
6206 PyObject
*swig_obj
[1] ;
6210 if (!args
) SWIG_fail
;
6212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6213 if (!SWIG_IsOK(res1
)) {
6214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6216 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 (arg1
)->GetSelection(arg2
,arg3
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= SWIG_Py_Void();
6224 if (SWIG_IsTmpObj(res2
)) {
6225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6227 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6230 if (SWIG_IsTmpObj(res3
)) {
6231 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6233 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6234 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6242 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6243 PyObject
*resultobj
= 0;
6244 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6248 PyObject
*swig_obj
[1] ;
6250 if (!args
) SWIG_fail
;
6252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6253 if (!SWIG_IsOK(res1
)) {
6254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6256 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6263 resultobj
= SWIG_From_int(static_cast< int >(result
));
6270 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
= 0;
6272 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6273 wxString
*arg2
= 0 ;
6277 bool temp2
= false ;
6278 PyObject
* obj0
= 0 ;
6279 PyObject
* obj1
= 0 ;
6280 char * kwnames
[] = {
6281 (char *) "self",(char *) "string", NULL
6284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6286 if (!SWIG_IsOK(res1
)) {
6287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6289 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6291 arg2
= wxString_in_helper(obj1
);
6292 if (arg2
== NULL
) SWIG_fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6318 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
= 0;
6320 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6326 PyObject
* obj0
= 0 ;
6327 PyObject
* obj1
= 0 ;
6328 char * kwnames
[] = {
6329 (char *) "self",(char *) "editable", NULL
6332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6334 if (!SWIG_IsOK(res1
)) {
6335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6337 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6338 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6339 if (!SWIG_IsOK(ecode2
)) {
6340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6342 arg2
= static_cast< bool >(val2
);
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 (arg1
)->SetEditable(arg2
);
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 resultobj
= SWIG_Py_Void();
6356 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6357 PyObject
*resultobj
= 0;
6358 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6361 PyObject
*swig_obj
[1] ;
6363 if (!args
) SWIG_fail
;
6365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6366 if (!SWIG_IsOK(res1
)) {
6367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6369 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 (arg1
)->SetInsertionPointEnd();
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= SWIG_Py_Void();
6383 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
*resultobj
= 0;
6385 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6395 PyObject
* obj1
= 0 ;
6396 PyObject
* obj2
= 0 ;
6397 char * kwnames
[] = {
6398 (char *) "self",(char *) "from",(char *) "to", NULL
6401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6403 if (!SWIG_IsOK(res1
)) {
6404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6406 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6407 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6408 if (!SWIG_IsOK(ecode2
)) {
6409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6411 arg2
= static_cast< long >(val2
);
6412 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6413 if (!SWIG_IsOK(ecode3
)) {
6414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6416 arg3
= static_cast< long >(val3
);
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 (arg1
)->Remove(arg2
,arg3
);
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= SWIG_Py_Void();
6430 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6431 PyObject
*resultobj
= 0;
6432 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6436 PyObject
*swig_obj
[1] ;
6438 if (!args
) SWIG_fail
;
6440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6441 if (!SWIG_IsOK(res1
)) {
6442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6444 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6460 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6461 PyObject
*resultobj
= 0;
6462 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6465 PyObject
*swig_obj
[1] ;
6467 if (!args
) SWIG_fail
;
6469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6470 if (!SWIG_IsOK(res1
)) {
6471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6473 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 resultobj
= SWIG_Py_Void();
6487 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6488 PyObject
*resultobj
= 0;
6489 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6492 PyObject
*swig_obj
[1] ;
6494 if (!args
) SWIG_fail
;
6496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6497 if (!SWIG_IsOK(res1
)) {
6498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6500 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= SWIG_Py_Void();
6514 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6515 PyObject
*resultobj
= 0;
6516 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6519 PyObject
*swig_obj
[1] ;
6521 if (!args
) SWIG_fail
;
6523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6524 if (!SWIG_IsOK(res1
)) {
6525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6527 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 (arg1
)->SelectAll();
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= SWIG_Py_Void();
6541 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6542 PyObject
*resultobj
= 0;
6543 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6547 PyObject
*swig_obj
[1] ;
6549 if (!args
) SWIG_fail
;
6551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6552 if (!SWIG_IsOK(res1
)) {
6553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6555 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6571 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6572 PyObject
*resultobj
= 0;
6573 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6577 PyObject
*swig_obj
[1] ;
6579 if (!args
) SWIG_fail
;
6581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6582 if (!SWIG_IsOK(res1
)) {
6583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6585 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6601 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6602 PyObject
*resultobj
= 0;
6603 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6607 PyObject
*swig_obj
[1] ;
6609 if (!args
) SWIG_fail
;
6611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6612 if (!SWIG_IsOK(res1
)) {
6613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6615 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6631 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6632 PyObject
*resultobj
= 0;
6633 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6637 PyObject
*swig_obj
[1] ;
6639 if (!args
) SWIG_fail
;
6641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6642 if (!SWIG_IsOK(res1
)) {
6643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6645 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6661 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6662 PyObject
*resultobj
= 0;
6663 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6667 PyObject
*swig_obj
[1] ;
6669 if (!args
) SWIG_fail
;
6671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6672 if (!SWIG_IsOK(res1
)) {
6673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6675 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6678 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6691 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
*resultobj
= 0;
6693 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6694 SwigValueWrapper
<wxVisualAttributes
> result
;
6697 PyObject
* obj0
= 0 ;
6698 char * kwnames
[] = {
6699 (char *) "variant", NULL
6702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6704 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6705 if (!SWIG_IsOK(ecode1
)) {
6706 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6708 arg1
= static_cast< wxWindowVariant
>(val1
);
6711 if (!wxPyCheckForApp()) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6724 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6727 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6728 return SWIG_Py_Void();
6731 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6732 return SWIG_Python_InitShadowInstance(args
);
6735 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6736 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6741 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6742 PyObject
*pyobj
= 0;
6746 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6748 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6755 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
*resultobj
= 0;
6757 wxWindow
*arg1
= (wxWindow
*) 0 ;
6758 int arg2
= (int) -1 ;
6759 int arg3
= (int) 100 ;
6760 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6761 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6762 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6763 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6764 long arg6
= (long) wxGA_HORIZONTAL
;
6765 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6766 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6767 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6768 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6769 wxGauge
*result
= 0 ;
6782 bool temp8
= false ;
6783 PyObject
* obj0
= 0 ;
6784 PyObject
* obj1
= 0 ;
6785 PyObject
* obj2
= 0 ;
6786 PyObject
* obj3
= 0 ;
6787 PyObject
* obj4
= 0 ;
6788 PyObject
* obj5
= 0 ;
6789 PyObject
* obj6
= 0 ;
6790 PyObject
* obj7
= 0 ;
6791 char * kwnames
[] = {
6792 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6797 if (!SWIG_IsOK(res1
)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6800 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6803 if (!SWIG_IsOK(ecode2
)) {
6804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6806 arg2
= static_cast< int >(val2
);
6809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6810 if (!SWIG_IsOK(ecode3
)) {
6811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6813 arg3
= static_cast< int >(val3
);
6818 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6824 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6828 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6829 if (!SWIG_IsOK(ecode6
)) {
6830 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6832 arg6
= static_cast< long >(val6
);
6835 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6836 if (!SWIG_IsOK(res7
)) {
6837 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6842 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6846 arg8
= wxString_in_helper(obj7
);
6847 if (arg8
== NULL
) SWIG_fail
;
6852 if (!wxPyCheckForApp()) SWIG_fail
;
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6854 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6873 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6874 PyObject
*resultobj
= 0;
6875 wxGauge
*result
= 0 ;
6877 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6879 if (!wxPyCheckForApp()) SWIG_fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 result
= (wxGauge
*)new wxGauge();
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6892 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
= 0;
6894 wxGauge
*arg1
= (wxGauge
*) 0 ;
6895 wxWindow
*arg2
= (wxWindow
*) 0 ;
6896 int arg3
= (int) -1 ;
6897 int arg4
= (int) 100 ;
6898 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6899 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6900 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6901 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6902 long arg7
= (long) wxGA_HORIZONTAL
;
6903 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6904 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6905 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6906 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6922 bool temp9
= false ;
6923 PyObject
* obj0
= 0 ;
6924 PyObject
* obj1
= 0 ;
6925 PyObject
* obj2
= 0 ;
6926 PyObject
* obj3
= 0 ;
6927 PyObject
* obj4
= 0 ;
6928 PyObject
* obj5
= 0 ;
6929 PyObject
* obj6
= 0 ;
6930 PyObject
* obj7
= 0 ;
6931 PyObject
* obj8
= 0 ;
6932 char * kwnames
[] = {
6933 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6938 if (!SWIG_IsOK(res1
)) {
6939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6941 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6942 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6943 if (!SWIG_IsOK(res2
)) {
6944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6946 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6949 if (!SWIG_IsOK(ecode3
)) {
6950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6952 arg3
= static_cast< int >(val3
);
6955 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6956 if (!SWIG_IsOK(ecode4
)) {
6957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6959 arg4
= static_cast< int >(val4
);
6964 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6970 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6974 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6975 if (!SWIG_IsOK(ecode7
)) {
6976 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6978 arg7
= static_cast< long >(val7
);
6981 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6982 if (!SWIG_IsOK(res8
)) {
6983 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6988 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6992 arg9
= wxString_in_helper(obj8
);
6993 if (arg9
== NULL
) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7020 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
= 0;
7022 wxGauge
*arg1
= (wxGauge
*) 0 ;
7028 PyObject
* obj0
= 0 ;
7029 PyObject
* obj1
= 0 ;
7030 char * kwnames
[] = {
7031 (char *) "self",(char *) "range", NULL
7034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7036 if (!SWIG_IsOK(res1
)) {
7037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7039 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7041 if (!SWIG_IsOK(ecode2
)) {
7042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7044 arg2
= static_cast< int >(val2
);
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 (arg1
)->SetRange(arg2
);
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_Py_Void();
7058 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7059 PyObject
*resultobj
= 0;
7060 wxGauge
*arg1
= (wxGauge
*) 0 ;
7064 PyObject
*swig_obj
[1] ;
7066 if (!args
) SWIG_fail
;
7068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7069 if (!SWIG_IsOK(res1
)) {
7070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7072 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_From_int(static_cast< int >(result
));
7086 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
= 0;
7088 wxGauge
*arg1
= (wxGauge
*) 0 ;
7094 PyObject
* obj0
= 0 ;
7095 PyObject
* obj1
= 0 ;
7096 char * kwnames
[] = {
7097 (char *) "self",(char *) "pos", NULL
7100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7102 if (!SWIG_IsOK(res1
)) {
7103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7105 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7107 if (!SWIG_IsOK(ecode2
)) {
7108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7110 arg2
= static_cast< int >(val2
);
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 (arg1
)->SetValue(arg2
);
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= SWIG_Py_Void();
7124 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7125 PyObject
*resultobj
= 0;
7126 wxGauge
*arg1
= (wxGauge
*) 0 ;
7130 PyObject
*swig_obj
[1] ;
7132 if (!args
) SWIG_fail
;
7134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7135 if (!SWIG_IsOK(res1
)) {
7136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7138 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= SWIG_From_int(static_cast< int >(result
));
7152 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7153 PyObject
*resultobj
= 0;
7154 wxGauge
*arg1
= (wxGauge
*) 0 ;
7157 PyObject
*swig_obj
[1] ;
7159 if (!args
) SWIG_fail
;
7161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7162 if (!SWIG_IsOK(res1
)) {
7163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7165 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7172 resultobj
= SWIG_Py_Void();
7179 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7180 PyObject
*resultobj
= 0;
7181 wxGauge
*arg1
= (wxGauge
*) 0 ;
7185 PyObject
*swig_obj
[1] ;
7187 if (!args
) SWIG_fail
;
7189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7190 if (!SWIG_IsOK(res1
)) {
7191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7193 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7197 wxPyEndAllowThreads(__tstate
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7209 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
*resultobj
= 0;
7211 wxGauge
*arg1
= (wxGauge
*) 0 ;
7217 PyObject
* obj0
= 0 ;
7218 PyObject
* obj1
= 0 ;
7219 char * kwnames
[] = {
7220 (char *) "self",(char *) "w", NULL
7223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7225 if (!SWIG_IsOK(res1
)) {
7226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7228 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7230 if (!SWIG_IsOK(ecode2
)) {
7231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7233 arg2
= static_cast< int >(val2
);
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 (arg1
)->SetShadowWidth(arg2
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 resultobj
= SWIG_Py_Void();
7247 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7248 PyObject
*resultobj
= 0;
7249 wxGauge
*arg1
= (wxGauge
*) 0 ;
7253 PyObject
*swig_obj
[1] ;
7255 if (!args
) SWIG_fail
;
7257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7258 if (!SWIG_IsOK(res1
)) {
7259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7261 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= SWIG_From_int(static_cast< int >(result
));
7275 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
= 0;
7277 wxGauge
*arg1
= (wxGauge
*) 0 ;
7283 PyObject
* obj0
= 0 ;
7284 PyObject
* obj1
= 0 ;
7285 char * kwnames
[] = {
7286 (char *) "self",(char *) "w", NULL
7289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7291 if (!SWIG_IsOK(res1
)) {
7292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7294 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7296 if (!SWIG_IsOK(ecode2
)) {
7297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7299 arg2
= static_cast< int >(val2
);
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 (arg1
)->SetBezelFace(arg2
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 resultobj
= SWIG_Py_Void();
7313 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7314 PyObject
*resultobj
= 0;
7315 wxGauge
*arg1
= (wxGauge
*) 0 ;
7319 PyObject
*swig_obj
[1] ;
7321 if (!args
) SWIG_fail
;
7323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7324 if (!SWIG_IsOK(res1
)) {
7325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7327 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= SWIG_From_int(static_cast< int >(result
));
7341 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
= 0;
7343 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7344 SwigValueWrapper
<wxVisualAttributes
> result
;
7347 PyObject
* obj0
= 0 ;
7348 char * kwnames
[] = {
7349 (char *) "variant", NULL
7352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7354 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7355 if (!SWIG_IsOK(ecode1
)) {
7356 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7358 arg1
= static_cast< wxWindowVariant
>(val1
);
7361 if (!wxPyCheckForApp()) SWIG_fail
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7374 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7376 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7377 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7378 return SWIG_Py_Void();
7381 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7382 return SWIG_Python_InitShadowInstance(args
);
7385 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7386 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7391 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7392 PyObject
*pyobj
= 0;
7396 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7398 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7405 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7406 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7411 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7412 PyObject
*pyobj
= 0;
7416 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7418 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7425 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7426 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7431 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7432 PyObject
*pyobj
= 0;
7436 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7438 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7445 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7446 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7451 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7452 PyObject
*pyobj
= 0;
7456 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7458 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7465 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
= 0;
7467 wxWindow
*arg1
= (wxWindow
*) 0 ;
7468 int arg2
= (int) -1 ;
7469 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7470 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7471 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7472 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7473 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7474 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7475 long arg6
= (long) 0 ;
7476 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7477 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7478 wxStaticBox
*result
= 0 ;
7483 bool temp3
= false ;
7488 bool temp7
= false ;
7489 PyObject
* obj0
= 0 ;
7490 PyObject
* obj1
= 0 ;
7491 PyObject
* obj2
= 0 ;
7492 PyObject
* obj3
= 0 ;
7493 PyObject
* obj4
= 0 ;
7494 PyObject
* obj5
= 0 ;
7495 PyObject
* obj6
= 0 ;
7496 char * kwnames
[] = {
7497 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7502 if (!SWIG_IsOK(res1
)) {
7503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7505 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7508 if (!SWIG_IsOK(ecode2
)) {
7509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7511 arg2
= static_cast< int >(val2
);
7515 arg3
= wxString_in_helper(obj2
);
7516 if (arg3
== NULL
) SWIG_fail
;
7523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7533 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7534 if (!SWIG_IsOK(ecode6
)) {
7535 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7537 arg6
= static_cast< long >(val6
);
7541 arg7
= wxString_in_helper(obj6
);
7542 if (arg7
== NULL
) SWIG_fail
;
7547 if (!wxPyCheckForApp()) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7576 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7577 PyObject
*resultobj
= 0;
7578 wxStaticBox
*result
= 0 ;
7580 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7582 if (!wxPyCheckForApp()) SWIG_fail
;
7583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7584 result
= (wxStaticBox
*)new wxStaticBox();
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7595 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
*resultobj
= 0;
7597 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7598 wxWindow
*arg2
= (wxWindow
*) 0 ;
7599 int arg3
= (int) -1 ;
7600 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7601 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7602 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7603 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7604 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7605 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7606 long arg7
= (long) 0 ;
7607 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7608 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7616 bool temp4
= false ;
7621 bool temp8
= false ;
7622 PyObject
* obj0
= 0 ;
7623 PyObject
* obj1
= 0 ;
7624 PyObject
* obj2
= 0 ;
7625 PyObject
* obj3
= 0 ;
7626 PyObject
* obj4
= 0 ;
7627 PyObject
* obj5
= 0 ;
7628 PyObject
* obj6
= 0 ;
7629 PyObject
* obj7
= 0 ;
7630 char * kwnames
[] = {
7631 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7636 if (!SWIG_IsOK(res1
)) {
7637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7639 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7640 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7641 if (!SWIG_IsOK(res2
)) {
7642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7644 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7647 if (!SWIG_IsOK(ecode3
)) {
7648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7650 arg3
= static_cast< int >(val3
);
7654 arg4
= wxString_in_helper(obj3
);
7655 if (arg4
== NULL
) SWIG_fail
;
7662 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7668 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7672 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7673 if (!SWIG_IsOK(ecode7
)) {
7674 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7676 arg7
= static_cast< long >(val7
);
7680 arg8
= wxString_in_helper(obj7
);
7681 if (arg8
== NULL
) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7716 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
= 0;
7718 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7719 SwigValueWrapper
<wxVisualAttributes
> result
;
7722 PyObject
* obj0
= 0 ;
7723 char * kwnames
[] = {
7724 (char *) "variant", NULL
7727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7730 if (!SWIG_IsOK(ecode1
)) {
7731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7733 arg1
= static_cast< wxWindowVariant
>(val1
);
7736 if (!wxPyCheckForApp()) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7742 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7749 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7752 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7753 return SWIG_Py_Void();
7756 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7757 return SWIG_Python_InitShadowInstance(args
);
7760 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
= 0;
7762 wxWindow
*arg1
= (wxWindow
*) 0 ;
7763 int arg2
= (int) -1 ;
7764 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7765 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7766 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7767 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7768 long arg5
= (long) wxLI_HORIZONTAL
;
7769 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7770 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7771 wxStaticLine
*result
= 0 ;
7780 bool temp6
= false ;
7781 PyObject
* obj0
= 0 ;
7782 PyObject
* obj1
= 0 ;
7783 PyObject
* obj2
= 0 ;
7784 PyObject
* obj3
= 0 ;
7785 PyObject
* obj4
= 0 ;
7786 PyObject
* obj5
= 0 ;
7787 char * kwnames
[] = {
7788 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7793 if (!SWIG_IsOK(res1
)) {
7794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7796 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7799 if (!SWIG_IsOK(ecode2
)) {
7800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7802 arg2
= static_cast< int >(val2
);
7807 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7813 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7817 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7818 if (!SWIG_IsOK(ecode5
)) {
7819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7821 arg5
= static_cast< long >(val5
);
7825 arg6
= wxString_in_helper(obj5
);
7826 if (arg6
== NULL
) SWIG_fail
;
7831 if (!wxPyCheckForApp()) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7852 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7853 PyObject
*resultobj
= 0;
7854 wxStaticLine
*result
= 0 ;
7856 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7858 if (!wxPyCheckForApp()) SWIG_fail
;
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 result
= (wxStaticLine
*)new wxStaticLine();
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7871 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
= 0;
7873 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7874 wxWindow
*arg2
= (wxWindow
*) 0 ;
7875 int arg3
= (int) -1 ;
7876 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7877 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7878 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7879 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7880 long arg6
= (long) wxLI_HORIZONTAL
;
7881 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7882 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7894 bool temp7
= false ;
7895 PyObject
* obj0
= 0 ;
7896 PyObject
* obj1
= 0 ;
7897 PyObject
* obj2
= 0 ;
7898 PyObject
* obj3
= 0 ;
7899 PyObject
* obj4
= 0 ;
7900 PyObject
* obj5
= 0 ;
7901 PyObject
* obj6
= 0 ;
7902 char * kwnames
[] = {
7903 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7908 if (!SWIG_IsOK(res1
)) {
7909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7911 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7913 if (!SWIG_IsOK(res2
)) {
7914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7916 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7919 if (!SWIG_IsOK(ecode3
)) {
7920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7922 arg3
= static_cast< int >(val3
);
7927 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7933 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7937 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7938 if (!SWIG_IsOK(ecode6
)) {
7939 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7941 arg6
= static_cast< long >(val6
);
7945 arg7
= wxString_in_helper(obj6
);
7946 if (arg7
== NULL
) SWIG_fail
;
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7973 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7974 PyObject
*resultobj
= 0;
7975 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7979 PyObject
*swig_obj
[1] ;
7981 if (!args
) SWIG_fail
;
7983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7984 if (!SWIG_IsOK(res1
)) {
7985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7987 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8003 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8004 PyObject
*resultobj
= 0;
8007 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 result
= (int)wxStaticLine::GetDefaultSize();
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8014 resultobj
= SWIG_From_int(static_cast< int >(result
));
8021 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
*resultobj
= 0;
8023 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8024 SwigValueWrapper
<wxVisualAttributes
> result
;
8027 PyObject
* obj0
= 0 ;
8028 char * kwnames
[] = {
8029 (char *) "variant", NULL
8032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8034 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8035 if (!SWIG_IsOK(ecode1
)) {
8036 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8038 arg1
= static_cast< wxWindowVariant
>(val1
);
8041 if (!wxPyCheckForApp()) SWIG_fail
;
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8047 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8054 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8057 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8058 return SWIG_Py_Void();
8061 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8062 return SWIG_Python_InitShadowInstance(args
);
8065 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
= 0;
8067 wxWindow
*arg1
= (wxWindow
*) 0 ;
8068 int arg2
= (int) -1 ;
8069 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8070 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8071 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8072 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8073 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8074 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8075 long arg6
= (long) 0 ;
8076 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8077 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8078 wxStaticText
*result
= 0 ;
8083 bool temp3
= false ;
8088 bool temp7
= false ;
8089 PyObject
* obj0
= 0 ;
8090 PyObject
* obj1
= 0 ;
8091 PyObject
* obj2
= 0 ;
8092 PyObject
* obj3
= 0 ;
8093 PyObject
* obj4
= 0 ;
8094 PyObject
* obj5
= 0 ;
8095 PyObject
* obj6
= 0 ;
8096 char * kwnames
[] = {
8097 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8102 if (!SWIG_IsOK(res1
)) {
8103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8105 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8108 if (!SWIG_IsOK(ecode2
)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8111 arg2
= static_cast< int >(val2
);
8115 arg3
= wxString_in_helper(obj2
);
8116 if (arg3
== NULL
) SWIG_fail
;
8123 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8129 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8133 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8134 if (!SWIG_IsOK(ecode6
)) {
8135 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8137 arg6
= static_cast< long >(val6
);
8141 arg7
= wxString_in_helper(obj6
);
8142 if (arg7
== NULL
) SWIG_fail
;
8147 if (!wxPyCheckForApp()) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8150 wxPyEndAllowThreads(__tstate
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8176 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8177 PyObject
*resultobj
= 0;
8178 wxStaticText
*result
= 0 ;
8180 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8182 if (!wxPyCheckForApp()) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 result
= (wxStaticText
*)new wxStaticText();
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8195 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
= 0;
8197 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8198 wxWindow
*arg2
= (wxWindow
*) 0 ;
8199 int arg3
= (int) -1 ;
8200 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8201 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8202 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8203 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8204 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8205 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8206 long arg7
= (long) 0 ;
8207 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8208 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8216 bool temp4
= false ;
8221 bool temp8
= false ;
8222 PyObject
* obj0
= 0 ;
8223 PyObject
* obj1
= 0 ;
8224 PyObject
* obj2
= 0 ;
8225 PyObject
* obj3
= 0 ;
8226 PyObject
* obj4
= 0 ;
8227 PyObject
* obj5
= 0 ;
8228 PyObject
* obj6
= 0 ;
8229 PyObject
* obj7
= 0 ;
8230 char * kwnames
[] = {
8231 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8236 if (!SWIG_IsOK(res1
)) {
8237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8239 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8240 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8241 if (!SWIG_IsOK(res2
)) {
8242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8244 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8247 if (!SWIG_IsOK(ecode3
)) {
8248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8250 arg3
= static_cast< int >(val3
);
8254 arg4
= wxString_in_helper(obj3
);
8255 if (arg4
== NULL
) SWIG_fail
;
8262 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8268 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8272 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8273 if (!SWIG_IsOK(ecode7
)) {
8274 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8276 arg7
= static_cast< long >(val7
);
8280 arg8
= wxString_in_helper(obj7
);
8281 if (arg8
== NULL
) SWIG_fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8316 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
= 0;
8318 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj1
= 0 ;
8326 char * kwnames
[] = {
8327 (char *) "self",(char *) "width", NULL
8330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8332 if (!SWIG_IsOK(res1
)) {
8333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8335 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8337 if (!SWIG_IsOK(ecode2
)) {
8338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8340 arg2
= static_cast< int >(val2
);
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8347 resultobj
= SWIG_Py_Void();
8354 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8355 PyObject
*resultobj
= 0;
8356 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8357 SwigValueWrapper
<wxVisualAttributes
> result
;
8360 PyObject
* obj0
= 0 ;
8361 char * kwnames
[] = {
8362 (char *) "variant", NULL
8365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8367 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8368 if (!SWIG_IsOK(ecode1
)) {
8369 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8371 arg1
= static_cast< wxWindowVariant
>(val1
);
8374 if (!wxPyCheckForApp()) SWIG_fail
;
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8380 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8387 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8390 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8391 return SWIG_Py_Void();
8394 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8395 return SWIG_Python_InitShadowInstance(args
);
8398 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
= 0;
8400 wxWindow
*arg1
= (wxWindow
*) 0 ;
8401 int arg2
= (int) -1 ;
8402 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8403 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8408 long arg6
= (long) 0 ;
8409 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8410 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8411 wxStaticBitmap
*result
= 0 ;
8422 bool temp7
= false ;
8423 PyObject
* obj0
= 0 ;
8424 PyObject
* obj1
= 0 ;
8425 PyObject
* obj2
= 0 ;
8426 PyObject
* obj3
= 0 ;
8427 PyObject
* obj4
= 0 ;
8428 PyObject
* obj5
= 0 ;
8429 PyObject
* obj6
= 0 ;
8430 char * kwnames
[] = {
8431 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8436 if (!SWIG_IsOK(res1
)) {
8437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8439 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8442 if (!SWIG_IsOK(ecode2
)) {
8443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8445 arg2
= static_cast< int >(val2
);
8448 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8449 if (!SWIG_IsOK(res3
)) {
8450 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8455 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8460 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8466 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8470 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8471 if (!SWIG_IsOK(ecode6
)) {
8472 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8474 arg6
= static_cast< long >(val6
);
8478 arg7
= wxString_in_helper(obj6
);
8479 if (arg7
== NULL
) SWIG_fail
;
8484 if (!wxPyCheckForApp()) SWIG_fail
;
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8505 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8506 PyObject
*resultobj
= 0;
8507 wxStaticBitmap
*result
= 0 ;
8509 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8511 if (!wxPyCheckForApp()) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8524 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
= 0;
8526 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8527 wxWindow
*arg2
= (wxWindow
*) 0 ;
8528 int arg3
= (int) -1 ;
8529 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8530 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8531 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8532 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8533 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8534 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8535 long arg7
= (long) 0 ;
8536 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8537 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8551 bool temp8
= false ;
8552 PyObject
* obj0
= 0 ;
8553 PyObject
* obj1
= 0 ;
8554 PyObject
* obj2
= 0 ;
8555 PyObject
* obj3
= 0 ;
8556 PyObject
* obj4
= 0 ;
8557 PyObject
* obj5
= 0 ;
8558 PyObject
* obj6
= 0 ;
8559 PyObject
* obj7
= 0 ;
8560 char * kwnames
[] = {
8561 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8566 if (!SWIG_IsOK(res1
)) {
8567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8569 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8570 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8571 if (!SWIG_IsOK(res2
)) {
8572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8574 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8577 if (!SWIG_IsOK(ecode3
)) {
8578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8580 arg3
= static_cast< int >(val3
);
8583 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8584 if (!SWIG_IsOK(res4
)) {
8585 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8590 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8595 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8601 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8605 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8606 if (!SWIG_IsOK(ecode7
)) {
8607 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8609 arg7
= static_cast< long >(val7
);
8613 arg8
= wxString_in_helper(obj7
);
8614 if (arg8
== NULL
) SWIG_fail
;
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8641 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8642 PyObject
*resultobj
= 0;
8643 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8647 PyObject
*swig_obj
[1] ;
8649 if (!args
) SWIG_fail
;
8651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8652 if (!SWIG_IsOK(res1
)) {
8653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8655 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 result
= (arg1
)->GetBitmap();
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8669 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
= 0;
8671 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8672 wxBitmap
*arg2
= 0 ;
8677 PyObject
* obj0
= 0 ;
8678 PyObject
* obj1
= 0 ;
8679 char * kwnames
[] = {
8680 (char *) "self",(char *) "bitmap", NULL
8683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8685 if (!SWIG_IsOK(res1
)) {
8686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8688 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8689 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8690 if (!SWIG_IsOK(res2
)) {
8691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8696 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 resultobj
= SWIG_Py_Void();
8710 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
= 0;
8712 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8718 PyObject
* obj0
= 0 ;
8719 PyObject
* obj1
= 0 ;
8720 char * kwnames
[] = {
8721 (char *) "self",(char *) "icon", NULL
8724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8726 if (!SWIG_IsOK(res1
)) {
8727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8729 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8730 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8731 if (!SWIG_IsOK(res2
)) {
8732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8737 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8740 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= SWIG_Py_Void();
8751 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
= 0;
8753 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8754 SwigValueWrapper
<wxVisualAttributes
> result
;
8757 PyObject
* obj0
= 0 ;
8758 char * kwnames
[] = {
8759 (char *) "variant", NULL
8762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8764 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8765 if (!SWIG_IsOK(ecode1
)) {
8766 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8768 arg1
= static_cast< wxWindowVariant
>(val1
);
8771 if (!wxPyCheckForApp()) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8784 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8787 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8788 return SWIG_Py_Void();
8791 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8792 return SWIG_Python_InitShadowInstance(args
);
8795 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8796 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8801 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8802 PyObject
*pyobj
= 0;
8806 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8808 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8815 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
= 0;
8817 wxWindow
*arg1
= (wxWindow
*) 0 ;
8818 int arg2
= (int) -1 ;
8819 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8820 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8821 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8822 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8823 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8824 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8825 long arg6
= (long) 0 ;
8826 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8827 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8828 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8829 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8830 wxListBox
*result
= 0 ;
8837 bool temp5
= false ;
8842 bool temp8
= false ;
8843 PyObject
* obj0
= 0 ;
8844 PyObject
* obj1
= 0 ;
8845 PyObject
* obj2
= 0 ;
8846 PyObject
* obj3
= 0 ;
8847 PyObject
* obj4
= 0 ;
8848 PyObject
* obj5
= 0 ;
8849 PyObject
* obj6
= 0 ;
8850 PyObject
* obj7
= 0 ;
8851 char * kwnames
[] = {
8852 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8857 if (!SWIG_IsOK(res1
)) {
8858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8860 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8863 if (!SWIG_IsOK(ecode2
)) {
8864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8866 arg2
= static_cast< int >(val2
);
8871 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8877 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8882 if (! PySequence_Check(obj4
)) {
8883 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8886 arg5
= new wxArrayString
;
8888 int i
, len
=PySequence_Length(obj4
);
8889 for (i
=0; i
<len
; i
++) {
8890 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8891 wxString
* s
= wxString_in_helper(item
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8900 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8901 if (!SWIG_IsOK(ecode6
)) {
8902 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8904 arg6
= static_cast< long >(val6
);
8907 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8908 if (!SWIG_IsOK(res7
)) {
8909 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8914 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8918 arg8
= wxString_in_helper(obj7
);
8919 if (arg8
== NULL
) SWIG_fail
;
8924 if (!wxPyCheckForApp()) SWIG_fail
;
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8932 if (temp5
) delete arg5
;
8941 if (temp5
) delete arg5
;
8951 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8952 PyObject
*resultobj
= 0;
8953 wxListBox
*result
= 0 ;
8955 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8957 if (!wxPyCheckForApp()) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 result
= (wxListBox
*)new wxListBox();
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8970 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
= 0;
8972 wxListBox
*arg1
= (wxListBox
*) 0 ;
8973 wxWindow
*arg2
= (wxWindow
*) 0 ;
8974 int arg3
= (int) -1 ;
8975 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8976 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8977 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8978 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8979 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8980 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8981 long arg7
= (long) 0 ;
8982 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8983 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8984 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8985 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8995 bool temp6
= false ;
9000 bool temp9
= false ;
9001 PyObject
* obj0
= 0 ;
9002 PyObject
* obj1
= 0 ;
9003 PyObject
* obj2
= 0 ;
9004 PyObject
* obj3
= 0 ;
9005 PyObject
* obj4
= 0 ;
9006 PyObject
* obj5
= 0 ;
9007 PyObject
* obj6
= 0 ;
9008 PyObject
* obj7
= 0 ;
9009 PyObject
* obj8
= 0 ;
9010 char * kwnames
[] = {
9011 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9016 if (!SWIG_IsOK(res1
)) {
9017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9019 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9020 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9021 if (!SWIG_IsOK(res2
)) {
9022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9024 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9027 if (!SWIG_IsOK(ecode3
)) {
9028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9030 arg3
= static_cast< int >(val3
);
9035 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9041 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9046 if (! PySequence_Check(obj5
)) {
9047 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9050 arg6
= new wxArrayString
;
9052 int i
, len
=PySequence_Length(obj5
);
9053 for (i
=0; i
<len
; i
++) {
9054 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9055 wxString
* s
= wxString_in_helper(item
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9064 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9065 if (!SWIG_IsOK(ecode7
)) {
9066 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9068 arg7
= static_cast< long >(val7
);
9071 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9072 if (!SWIG_IsOK(res8
)) {
9073 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9078 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9082 arg9
= wxString_in_helper(obj8
);
9083 if (arg9
== NULL
) SWIG_fail
;
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9097 if (temp6
) delete arg6
;
9106 if (temp6
) delete arg6
;
9116 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
= 0;
9118 wxListBox
*arg1
= (wxListBox
*) 0 ;
9119 wxString
*arg2
= 0 ;
9121 PyObject
*arg4
= (PyObject
*) NULL
;
9124 bool temp2
= false ;
9127 PyObject
* obj0
= 0 ;
9128 PyObject
* obj1
= 0 ;
9129 PyObject
* obj2
= 0 ;
9130 PyObject
* obj3
= 0 ;
9131 char * kwnames
[] = {
9132 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9137 if (!SWIG_IsOK(res1
)) {
9138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9140 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9142 arg2
= wxString_in_helper(obj1
);
9143 if (arg2
== NULL
) SWIG_fail
;
9146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9147 if (!SWIG_IsOK(ecode3
)) {
9148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9150 arg3
= static_cast< int >(val3
);
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9160 resultobj
= SWIG_Py_Void();
9175 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
= 0;
9177 wxListBox
*arg1
= (wxListBox
*) 0 ;
9178 wxArrayString
*arg2
= 0 ;
9182 bool temp2
= false ;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9187 PyObject
* obj2
= 0 ;
9188 char * kwnames
[] = {
9189 (char *) "self",(char *) "items",(char *) "pos", NULL
9192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9194 if (!SWIG_IsOK(res1
)) {
9195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9197 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9199 if (! PySequence_Check(obj1
)) {
9200 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9203 arg2
= new wxArrayString
;
9205 int i
, len
=PySequence_Length(obj1
);
9206 for (i
=0; i
<len
; i
++) {
9207 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9208 wxString
* s
= wxString_in_helper(item
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9215 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9216 if (!SWIG_IsOK(ecode3
)) {
9217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9219 arg3
= static_cast< unsigned int >(val3
);
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= SWIG_Py_Void();
9228 if (temp2
) delete arg2
;
9233 if (temp2
) delete arg2
;
9239 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
= 0;
9241 wxListBox
*arg1
= (wxListBox
*) 0 ;
9242 wxArrayString
*arg2
= 0 ;
9245 bool temp2
= false ;
9246 PyObject
* obj0
= 0 ;
9247 PyObject
* obj1
= 0 ;
9248 char * kwnames
[] = {
9249 (char *) "self",(char *) "items", NULL
9252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9254 if (!SWIG_IsOK(res1
)) {
9255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9257 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9259 if (! PySequence_Check(obj1
)) {
9260 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9263 arg2
= new wxArrayString
;
9265 int i
, len
=PySequence_Length(obj1
);
9266 for (i
=0; i
<len
; i
++) {
9267 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9268 wxString
* s
= wxString_in_helper(item
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 (arg1
)->Set((wxArrayString
const &)*arg2
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= SWIG_Py_Void();
9283 if (temp2
) delete arg2
;
9288 if (temp2
) delete arg2
;
9294 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9295 PyObject
*resultobj
= 0;
9296 wxListBox
*arg1
= (wxListBox
*) 0 ;
9303 PyObject
* obj0
= 0 ;
9304 PyObject
* obj1
= 0 ;
9305 char * kwnames
[] = {
9306 (char *) "self",(char *) "n", NULL
9309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9311 if (!SWIG_IsOK(res1
)) {
9312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9314 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9316 if (!SWIG_IsOK(ecode2
)) {
9317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9319 arg2
= static_cast< int >(val2
);
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9335 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
= 0;
9337 wxListBox
*arg1
= (wxListBox
*) 0 ;
9339 bool arg3
= (bool) true ;
9346 PyObject
* obj0
= 0 ;
9347 PyObject
* obj1
= 0 ;
9348 PyObject
* obj2
= 0 ;
9349 char * kwnames
[] = {
9350 (char *) "self",(char *) "n",(char *) "select", NULL
9353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9355 if (!SWIG_IsOK(res1
)) {
9356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9358 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9360 if (!SWIG_IsOK(ecode2
)) {
9361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9363 arg2
= static_cast< int >(val2
);
9365 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9366 if (!SWIG_IsOK(ecode3
)) {
9367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9369 arg3
= static_cast< bool >(val3
);
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 (arg1
)->SetSelection(arg2
,arg3
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= SWIG_Py_Void();
9384 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
= 0;
9386 wxListBox
*arg1
= (wxListBox
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9393 PyObject
* obj1
= 0 ;
9394 char * kwnames
[] = {
9395 (char *) "self",(char *) "n", NULL
9398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9400 if (!SWIG_IsOK(res1
)) {
9401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9403 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9405 if (!SWIG_IsOK(ecode2
)) {
9406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9408 arg2
= static_cast< int >(val2
);
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 (arg1
)->Select(arg2
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= SWIG_Py_Void();
9422 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
= 0;
9424 wxListBox
*arg1
= (wxListBox
*) 0 ;
9430 PyObject
* obj0
= 0 ;
9431 PyObject
* obj1
= 0 ;
9432 char * kwnames
[] = {
9433 (char *) "self",(char *) "n", NULL
9436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9438 if (!SWIG_IsOK(res1
)) {
9439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9441 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9443 if (!SWIG_IsOK(ecode2
)) {
9444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9446 arg2
= static_cast< int >(val2
);
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 (arg1
)->Deselect(arg2
);
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= SWIG_Py_Void();
9460 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
= 0;
9462 wxListBox
*arg1
= (wxListBox
*) 0 ;
9463 int arg2
= (int) -1 ;
9468 PyObject
* obj0
= 0 ;
9469 PyObject
* obj1
= 0 ;
9470 char * kwnames
[] = {
9471 (char *) "self",(char *) "itemToLeaveSelected", NULL
9474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9476 if (!SWIG_IsOK(res1
)) {
9477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9479 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9482 if (!SWIG_IsOK(ecode2
)) {
9483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9485 arg2
= static_cast< int >(val2
);
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 (arg1
)->DeselectAll(arg2
);
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= SWIG_Py_Void();
9500 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
= 0;
9502 wxListBox
*arg1
= (wxListBox
*) 0 ;
9503 wxString
*arg2
= 0 ;
9504 bool arg3
= (bool) true ;
9508 bool temp2
= false ;
9511 PyObject
* obj0
= 0 ;
9512 PyObject
* obj1
= 0 ;
9513 PyObject
* obj2
= 0 ;
9514 char * kwnames
[] = {
9515 (char *) "self",(char *) "s",(char *) "select", NULL
9518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9520 if (!SWIG_IsOK(res1
)) {
9521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9523 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9525 arg2
= wxString_in_helper(obj1
);
9526 if (arg2
== NULL
) SWIG_fail
;
9530 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9531 if (!SWIG_IsOK(ecode3
)) {
9532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9534 arg3
= static_cast< bool >(val3
);
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9559 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9560 PyObject
*resultobj
= 0;
9561 wxListBox
*arg1
= (wxListBox
*) 0 ;
9562 PyObject
*result
= 0 ;
9565 PyObject
*swig_obj
[1] ;
9567 if (!args
) SWIG_fail
;
9569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9570 if (!SWIG_IsOK(res1
)) {
9571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9573 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9587 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
= 0;
9589 wxListBox
*arg1
= (wxListBox
*) 0 ;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj1
= 0 ;
9597 char * kwnames
[] = {
9598 (char *) "self",(char *) "n", NULL
9601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9603 if (!SWIG_IsOK(res1
)) {
9604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9606 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9608 if (!SWIG_IsOK(ecode2
)) {
9609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9611 arg2
= static_cast< int >(val2
);
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 (arg1
)->SetFirstItem(arg2
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_Py_Void();
9625 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
= 0;
9627 wxListBox
*arg1
= (wxListBox
*) 0 ;
9628 wxString
*arg2
= 0 ;
9631 bool temp2
= false ;
9632 PyObject
* obj0
= 0 ;
9633 PyObject
* obj1
= 0 ;
9634 char * kwnames
[] = {
9635 (char *) "self",(char *) "s", NULL
9638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9640 if (!SWIG_IsOK(res1
)) {
9641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9643 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9645 arg2
= wxString_in_helper(obj1
);
9646 if (arg2
== NULL
) SWIG_fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= SWIG_Py_Void();
9670 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
= 0;
9672 wxListBox
*arg1
= (wxListBox
*) 0 ;
9678 PyObject
* obj0
= 0 ;
9679 PyObject
* obj1
= 0 ;
9680 char * kwnames
[] = {
9681 (char *) "self",(char *) "n", NULL
9684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9686 if (!SWIG_IsOK(res1
)) {
9687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9689 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9691 if (!SWIG_IsOK(ecode2
)) {
9692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9694 arg2
= static_cast< int >(val2
);
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 (arg1
)->EnsureVisible(arg2
);
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= SWIG_Py_Void();
9708 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
= 0;
9710 wxListBox
*arg1
= (wxListBox
*) 0 ;
9711 wxString
*arg2
= 0 ;
9714 bool temp2
= false ;
9715 PyObject
* obj0
= 0 ;
9716 PyObject
* obj1
= 0 ;
9717 char * kwnames
[] = {
9718 (char *) "self",(char *) "s", NULL
9721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9723 if (!SWIG_IsOK(res1
)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9726 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9728 arg2
= wxString_in_helper(obj1
);
9729 if (arg2
== NULL
) SWIG_fail
;
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= SWIG_Py_Void();
9753 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9754 PyObject
*resultobj
= 0;
9755 wxListBox
*arg1
= (wxListBox
*) 0 ;
9759 PyObject
*swig_obj
[1] ;
9761 if (!args
) SWIG_fail
;
9763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9764 if (!SWIG_IsOK(res1
)) {
9765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9767 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9783 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
*resultobj
= 0;
9785 wxListBox
*arg1
= (wxListBox
*) 0 ;
9791 PyObject
* obj0
= 0 ;
9792 PyObject
* obj1
= 0 ;
9793 char * kwnames
[] = {
9794 (char *) "self",(char *) "pt", NULL
9797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9799 if (!SWIG_IsOK(res1
)) {
9800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9802 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9805 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= SWIG_From_int(static_cast< int >(result
));
9820 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
= 0;
9822 wxListBox
*arg1
= (wxListBox
*) 0 ;
9824 wxColour
*arg3
= 0 ;
9830 PyObject
* obj0
= 0 ;
9831 PyObject
* obj1
= 0 ;
9832 PyObject
* obj2
= 0 ;
9833 char * kwnames
[] = {
9834 (char *) "self",(char *) "item",(char *) "c", NULL
9837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9839 if (!SWIG_IsOK(res1
)) {
9840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9842 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9844 if (!SWIG_IsOK(ecode2
)) {
9845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9847 arg2
= static_cast< int >(val2
);
9850 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= SWIG_Py_Void();
9865 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
*resultobj
= 0;
9867 wxListBox
*arg1
= (wxListBox
*) 0 ;
9869 wxColour
*arg3
= 0 ;
9875 PyObject
* obj0
= 0 ;
9876 PyObject
* obj1
= 0 ;
9877 PyObject
* obj2
= 0 ;
9878 char * kwnames
[] = {
9879 (char *) "self",(char *) "item",(char *) "c", NULL
9882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9884 if (!SWIG_IsOK(res1
)) {
9885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9887 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9889 if (!SWIG_IsOK(ecode2
)) {
9890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9892 arg2
= static_cast< int >(val2
);
9895 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= SWIG_Py_Void();
9910 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
= 0;
9912 wxListBox
*arg1
= (wxListBox
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9923 PyObject
* obj2
= 0 ;
9924 char * kwnames
[] = {
9925 (char *) "self",(char *) "item",(char *) "f", NULL
9928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9930 if (!SWIG_IsOK(res1
)) {
9931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9933 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9935 if (!SWIG_IsOK(ecode2
)) {
9936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9938 arg2
= static_cast< int >(val2
);
9939 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9940 if (!SWIG_IsOK(res3
)) {
9941 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9946 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 resultobj
= SWIG_Py_Void();
9960 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
= 0;
9962 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9963 SwigValueWrapper
<wxVisualAttributes
> result
;
9966 PyObject
* obj0
= 0 ;
9967 char * kwnames
[] = {
9968 (char *) "variant", NULL
9971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9973 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9974 if (!SWIG_IsOK(ecode1
)) {
9975 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9977 arg1
= static_cast< wxWindowVariant
>(val1
);
9980 if (!wxPyCheckForApp()) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9993 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9996 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9997 return SWIG_Py_Void();
10000 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10001 return SWIG_Python_InitShadowInstance(args
);
10004 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
= 0;
10006 wxWindow
*arg1
= (wxWindow
*) 0 ;
10007 int arg2
= (int) -1 ;
10008 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10009 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10010 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10011 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10012 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10013 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10014 long arg6
= (long) 0 ;
10015 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10016 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10017 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10018 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10019 wxCheckListBox
*result
= 0 ;
10026 bool temp5
= false ;
10031 bool temp8
= false ;
10032 PyObject
* obj0
= 0 ;
10033 PyObject
* obj1
= 0 ;
10034 PyObject
* obj2
= 0 ;
10035 PyObject
* obj3
= 0 ;
10036 PyObject
* obj4
= 0 ;
10037 PyObject
* obj5
= 0 ;
10038 PyObject
* obj6
= 0 ;
10039 PyObject
* obj7
= 0 ;
10040 char * kwnames
[] = {
10041 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10046 if (!SWIG_IsOK(res1
)) {
10047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10049 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10052 if (!SWIG_IsOK(ecode2
)) {
10053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10055 arg2
= static_cast< int >(val2
);
10060 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10066 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10071 if (! PySequence_Check(obj4
)) {
10072 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10075 arg5
= new wxArrayString
;
10077 int i
, len
=PySequence_Length(obj4
);
10078 for (i
=0; i
<len
; i
++) {
10079 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10080 wxString
* s
= wxString_in_helper(item
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10089 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10090 if (!SWIG_IsOK(ecode6
)) {
10091 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10093 arg6
= static_cast< long >(val6
);
10096 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10097 if (!SWIG_IsOK(res7
)) {
10098 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10103 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10107 arg8
= wxString_in_helper(obj7
);
10108 if (arg8
== NULL
) SWIG_fail
;
10113 if (!wxPyCheckForApp()) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10121 if (temp5
) delete arg5
;
10130 if (temp5
) delete arg5
;
10140 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10141 PyObject
*resultobj
= 0;
10142 wxCheckListBox
*result
= 0 ;
10144 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10146 if (!wxPyCheckForApp()) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= (wxCheckListBox
*)new wxCheckListBox();
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10159 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
= 0;
10161 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10162 wxWindow
*arg2
= (wxWindow
*) 0 ;
10163 int arg3
= (int) -1 ;
10164 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10165 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10166 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10167 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10168 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10169 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10170 long arg7
= (long) 0 ;
10171 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10172 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10173 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10174 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10184 bool temp6
= false ;
10189 bool temp9
= false ;
10190 PyObject
* obj0
= 0 ;
10191 PyObject
* obj1
= 0 ;
10192 PyObject
* obj2
= 0 ;
10193 PyObject
* obj3
= 0 ;
10194 PyObject
* obj4
= 0 ;
10195 PyObject
* obj5
= 0 ;
10196 PyObject
* obj6
= 0 ;
10197 PyObject
* obj7
= 0 ;
10198 PyObject
* obj8
= 0 ;
10199 char * kwnames
[] = {
10200 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10205 if (!SWIG_IsOK(res1
)) {
10206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10208 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10209 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10210 if (!SWIG_IsOK(res2
)) {
10211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10213 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10216 if (!SWIG_IsOK(ecode3
)) {
10217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10219 arg3
= static_cast< int >(val3
);
10224 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10230 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10235 if (! PySequence_Check(obj5
)) {
10236 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10239 arg6
= new wxArrayString
;
10241 int i
, len
=PySequence_Length(obj5
);
10242 for (i
=0; i
<len
; i
++) {
10243 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10244 wxString
* s
= wxString_in_helper(item
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10253 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10254 if (!SWIG_IsOK(ecode7
)) {
10255 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10257 arg7
= static_cast< long >(val7
);
10260 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10261 if (!SWIG_IsOK(res8
)) {
10262 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10267 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10271 arg9
= wxString_in_helper(obj8
);
10272 if (arg9
== NULL
) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10286 if (temp6
) delete arg6
;
10295 if (temp6
) delete arg6
;
10305 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
*resultobj
= 0;
10307 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10308 unsigned int arg2
;
10312 unsigned int val2
;
10314 PyObject
* obj0
= 0 ;
10315 PyObject
* obj1
= 0 ;
10316 char * kwnames
[] = {
10317 (char *) "self",(char *) "index", NULL
10320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10322 if (!SWIG_IsOK(res1
)) {
10323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10325 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10326 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10327 if (!SWIG_IsOK(ecode2
)) {
10328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10330 arg2
= static_cast< unsigned int >(val2
);
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 result
= (bool)(arg1
)->IsChecked(arg2
);
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10346 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
= 0;
10348 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10349 unsigned int arg2
;
10350 int arg3
= (int) true ;
10353 unsigned int val2
;
10357 PyObject
* obj0
= 0 ;
10358 PyObject
* obj1
= 0 ;
10359 PyObject
* obj2
= 0 ;
10360 char * kwnames
[] = {
10361 (char *) "self",(char *) "index",(char *) "check", NULL
10364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10366 if (!SWIG_IsOK(res1
)) {
10367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10369 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10370 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10371 if (!SWIG_IsOK(ecode2
)) {
10372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10374 arg2
= static_cast< unsigned int >(val2
);
10376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10377 if (!SWIG_IsOK(ecode3
)) {
10378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10380 arg3
= static_cast< int >(val3
);
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 (arg1
)->Check(arg2
,arg3
);
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= SWIG_Py_Void();
10395 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10396 PyObject
*resultobj
= 0;
10397 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10401 PyObject
*swig_obj
[1] ;
10403 if (!args
) SWIG_fail
;
10404 swig_obj
[0] = args
;
10405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10406 if (!SWIG_IsOK(res1
)) {
10407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10409 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= (int)(arg1
)->GetItemHeight();
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= SWIG_From_int(static_cast< int >(result
));
10423 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10426 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10427 return SWIG_Py_Void();
10430 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10431 return SWIG_Python_InitShadowInstance(args
);
10434 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10435 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10440 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10441 PyObject
*pyobj
= 0;
10445 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10447 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10454 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
= 0;
10456 wxColour
const &arg1_defvalue
= wxNullColour
;
10457 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10458 wxColour
const &arg2_defvalue
= wxNullColour
;
10459 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10460 wxFont
const &arg3_defvalue
= wxNullFont
;
10461 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10462 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10463 wxTextAttr
*result
= 0 ;
10470 PyObject
* obj0
= 0 ;
10471 PyObject
* obj1
= 0 ;
10472 PyObject
* obj2
= 0 ;
10473 PyObject
* obj3
= 0 ;
10474 char * kwnames
[] = {
10475 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10482 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10488 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10492 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10493 if (!SWIG_IsOK(res3
)) {
10494 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10499 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10502 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10503 if (!SWIG_IsOK(ecode4
)) {
10504 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10506 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10521 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10522 PyObject
*resultobj
= 0;
10523 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10526 PyObject
*swig_obj
[1] ;
10528 if (!args
) SWIG_fail
;
10529 swig_obj
[0] = args
;
10530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10531 if (!SWIG_IsOK(res1
)) {
10532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10534 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= SWIG_Py_Void();
10549 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10550 PyObject
*resultobj
= 0;
10551 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10554 PyObject
*swig_obj
[1] ;
10556 if (!args
) SWIG_fail
;
10557 swig_obj
[0] = args
;
10558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10559 if (!SWIG_IsOK(res1
)) {
10560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10562 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= SWIG_Py_Void();
10576 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
= 0;
10578 wxTextAttr
*arg1
= 0 ;
10579 wxTextAttr
*arg2
= 0 ;
10585 PyObject
* obj0
= 0 ;
10586 PyObject
* obj1
= 0 ;
10587 char * kwnames
[] = {
10588 (char *) "base",(char *) "overlay", NULL
10591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10592 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10593 if (!SWIG_IsOK(res1
)) {
10594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10599 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10601 if (!SWIG_IsOK(res2
)) {
10602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10607 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10621 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
= 0;
10623 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10624 wxColour
*arg2
= 0 ;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 char * kwnames
[] = {
10631 (char *) "self",(char *) "colText", NULL
10634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10636 if (!SWIG_IsOK(res1
)) {
10637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10639 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10642 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10650 resultobj
= SWIG_Py_Void();
10657 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
= 0;
10659 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10660 wxColour
*arg2
= 0 ;
10664 PyObject
* obj0
= 0 ;
10665 PyObject
* obj1
= 0 ;
10666 char * kwnames
[] = {
10667 (char *) "self",(char *) "colBack", NULL
10670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10672 if (!SWIG_IsOK(res1
)) {
10673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10675 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10678 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 resultobj
= SWIG_Py_Void();
10693 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
= 0;
10695 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10697 long arg3
= (long) wxTEXT_ATTR_FONT
;
10704 PyObject
* obj0
= 0 ;
10705 PyObject
* obj1
= 0 ;
10706 PyObject
* obj2
= 0 ;
10707 char * kwnames
[] = {
10708 (char *) "self",(char *) "font",(char *) "flags", NULL
10711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10713 if (!SWIG_IsOK(res1
)) {
10714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10716 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10718 if (!SWIG_IsOK(res2
)) {
10719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10724 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10726 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10727 if (!SWIG_IsOK(ecode3
)) {
10728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10730 arg3
= static_cast< long >(val3
);
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= SWIG_Py_Void();
10745 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
= 0;
10747 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10748 wxTextAttrAlignment arg2
;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 char * kwnames
[] = {
10756 (char *) "self",(char *) "alignment", NULL
10759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10761 if (!SWIG_IsOK(res1
)) {
10762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10764 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10766 if (!SWIG_IsOK(ecode2
)) {
10767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10769 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 (arg1
)->SetAlignment(arg2
);
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10776 resultobj
= SWIG_Py_Void();
10783 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
*resultobj
= 0;
10785 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10786 wxArrayInt
*arg2
= 0 ;
10789 bool temp2
= false ;
10790 PyObject
* obj0
= 0 ;
10791 PyObject
* obj1
= 0 ;
10792 char * kwnames
[] = {
10793 (char *) "self",(char *) "tabs", NULL
10796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10798 if (!SWIG_IsOK(res1
)) {
10799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10801 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10803 if (! PySequence_Check(obj1
)) {
10804 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10807 arg2
= new wxArrayInt
;
10809 int i
, len
=PySequence_Length(obj1
);
10810 for (i
=0; i
<len
; i
++) {
10811 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10812 PyObject
* number
= PyNumber_Int(item
);
10814 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10817 arg2
->Add(PyInt_AS_LONG(number
));
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= SWIG_Py_Void();
10830 if (temp2
) delete arg2
;
10835 if (temp2
) delete arg2
;
10841 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
= 0;
10843 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10845 int arg3
= (int) 0 ;
10852 PyObject
* obj0
= 0 ;
10853 PyObject
* obj1
= 0 ;
10854 PyObject
* obj2
= 0 ;
10855 char * kwnames
[] = {
10856 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10861 if (!SWIG_IsOK(res1
)) {
10862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10864 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10866 if (!SWIG_IsOK(ecode2
)) {
10867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10869 arg2
= static_cast< int >(val2
);
10871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10872 if (!SWIG_IsOK(ecode3
)) {
10873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10875 arg3
= static_cast< int >(val3
);
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 (arg1
)->SetLeftIndent(arg2
,arg3
);
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10883 resultobj
= SWIG_Py_Void();
10890 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
= 0;
10892 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10898 PyObject
* obj0
= 0 ;
10899 PyObject
* obj1
= 0 ;
10900 char * kwnames
[] = {
10901 (char *) "self",(char *) "indent", NULL
10904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10906 if (!SWIG_IsOK(res1
)) {
10907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10909 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10911 if (!SWIG_IsOK(ecode2
)) {
10912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10914 arg2
= static_cast< int >(val2
);
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 (arg1
)->SetRightIndent(arg2
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 resultobj
= SWIG_Py_Void();
10928 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
= 0;
10930 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10936 PyObject
* obj0
= 0 ;
10937 PyObject
* obj1
= 0 ;
10938 char * kwnames
[] = {
10939 (char *) "self",(char *) "flags", NULL
10942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10944 if (!SWIG_IsOK(res1
)) {
10945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10947 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10948 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10949 if (!SWIG_IsOK(ecode2
)) {
10950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10952 arg2
= static_cast< long >(val2
);
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 (arg1
)->SetFlags(arg2
);
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 resultobj
= SWIG_Py_Void();
10966 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10967 PyObject
*resultobj
= 0;
10968 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10972 PyObject
*swig_obj
[1] ;
10974 if (!args
) SWIG_fail
;
10975 swig_obj
[0] = args
;
10976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10977 if (!SWIG_IsOK(res1
)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10980 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10996 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10997 PyObject
*resultobj
= 0;
10998 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11002 PyObject
*swig_obj
[1] ;
11004 if (!args
) SWIG_fail
;
11005 swig_obj
[0] = args
;
11006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11007 if (!SWIG_IsOK(res1
)) {
11008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11010 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11026 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11027 PyObject
*resultobj
= 0;
11028 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11032 PyObject
*swig_obj
[1] ;
11034 if (!args
) SWIG_fail
;
11035 swig_obj
[0] = args
;
11036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11037 if (!SWIG_IsOK(res1
)) {
11038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11040 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11056 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11057 PyObject
*resultobj
= 0;
11058 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11062 PyObject
*swig_obj
[1] ;
11064 if (!args
) SWIG_fail
;
11065 swig_obj
[0] = args
;
11066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11067 if (!SWIG_IsOK(res1
)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11070 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11086 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11087 PyObject
*resultobj
= 0;
11088 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11092 PyObject
*swig_obj
[1] ;
11094 if (!args
) SWIG_fail
;
11095 swig_obj
[0] = args
;
11096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11097 if (!SWIG_IsOK(res1
)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11100 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11116 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11117 PyObject
*resultobj
= 0;
11118 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11122 PyObject
*swig_obj
[1] ;
11124 if (!args
) SWIG_fail
;
11125 swig_obj
[0] = args
;
11126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11127 if (!SWIG_IsOK(res1
)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11130 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11146 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11147 PyObject
*resultobj
= 0;
11148 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11152 PyObject
*swig_obj
[1] ;
11154 if (!args
) SWIG_fail
;
11155 swig_obj
[0] = args
;
11156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11157 if (!SWIG_IsOK(res1
)) {
11158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11160 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11176 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11177 PyObject
*resultobj
= 0;
11178 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11185 PyObject
* obj0
= 0 ;
11186 PyObject
* obj1
= 0 ;
11187 char * kwnames
[] = {
11188 (char *) "self",(char *) "flag", NULL
11191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11193 if (!SWIG_IsOK(res1
)) {
11194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11196 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11197 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11198 if (!SWIG_IsOK(ecode2
)) {
11199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11201 arg2
= static_cast< long >(val2
);
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11217 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11218 PyObject
*resultobj
= 0;
11219 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11220 wxColour
*result
= 0 ;
11223 PyObject
*swig_obj
[1] ;
11225 if (!args
) SWIG_fail
;
11226 swig_obj
[0] = args
;
11227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11228 if (!SWIG_IsOK(res1
)) {
11229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11231 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11236 result
= (wxColour
*) &_result_ref
;
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11248 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11249 PyObject
*resultobj
= 0;
11250 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11251 wxColour
*result
= 0 ;
11254 PyObject
*swig_obj
[1] ;
11256 if (!args
) SWIG_fail
;
11257 swig_obj
[0] = args
;
11258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11259 if (!SWIG_IsOK(res1
)) {
11260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11262 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11267 result
= (wxColour
*) &_result_ref
;
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11279 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11280 PyObject
*resultobj
= 0;
11281 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11282 wxFont
*result
= 0 ;
11285 PyObject
*swig_obj
[1] ;
11287 if (!args
) SWIG_fail
;
11288 swig_obj
[0] = args
;
11289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11290 if (!SWIG_IsOK(res1
)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11293 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11298 result
= (wxFont
*) &_result_ref
;
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11304 wxFont
* resultptr
= new wxFont(*result
);
11305 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11313 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11314 PyObject
*resultobj
= 0;
11315 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11316 wxTextAttrAlignment result
;
11319 PyObject
*swig_obj
[1] ;
11321 if (!args
) SWIG_fail
;
11322 swig_obj
[0] = args
;
11323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11324 if (!SWIG_IsOK(res1
)) {
11325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11327 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 resultobj
= SWIG_From_int(static_cast< int >(result
));
11341 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11342 PyObject
*resultobj
= 0;
11343 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11344 wxArrayInt
*result
= 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_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11355 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11360 result
= (wxArrayInt
*) &_result_ref
;
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11366 resultobj
= wxArrayInt2PyList_helper(*result
);
11374 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11375 PyObject
*resultobj
= 0;
11376 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11380 PyObject
*swig_obj
[1] ;
11382 if (!args
) SWIG_fail
;
11383 swig_obj
[0] = args
;
11384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11385 if (!SWIG_IsOK(res1
)) {
11386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11388 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11391 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11395 resultobj
= SWIG_From_long(static_cast< long >(result
));
11402 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11403 PyObject
*resultobj
= 0;
11404 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11408 PyObject
*swig_obj
[1] ;
11410 if (!args
) SWIG_fail
;
11411 swig_obj
[0] = args
;
11412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11413 if (!SWIG_IsOK(res1
)) {
11414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11416 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11423 resultobj
= SWIG_From_long(static_cast< long >(result
));
11430 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11431 PyObject
*resultobj
= 0;
11432 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11436 PyObject
*swig_obj
[1] ;
11438 if (!args
) SWIG_fail
;
11439 swig_obj
[0] = args
;
11440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11441 if (!SWIG_IsOK(res1
)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11444 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= SWIG_From_long(static_cast< long >(result
));
11458 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11459 PyObject
*resultobj
= 0;
11460 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11464 PyObject
*swig_obj
[1] ;
11466 if (!args
) SWIG_fail
;
11467 swig_obj
[0] = args
;
11468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11469 if (!SWIG_IsOK(res1
)) {
11470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11472 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 resultobj
= SWIG_From_long(static_cast< long >(result
));
11486 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11487 PyObject
*resultobj
= 0;
11488 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11492 PyObject
*swig_obj
[1] ;
11494 if (!args
) SWIG_fail
;
11495 swig_obj
[0] = args
;
11496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11497 if (!SWIG_IsOK(res1
)) {
11498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11500 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11516 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
= 0;
11518 wxTextAttr
*arg1
= 0 ;
11519 wxTextAttr
*arg2
= 0 ;
11520 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11528 PyObject
* obj0
= 0 ;
11529 PyObject
* obj1
= 0 ;
11530 PyObject
* obj2
= 0 ;
11531 char * kwnames
[] = {
11532 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11536 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11537 if (!SWIG_IsOK(res1
)) {
11538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11543 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11544 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11545 if (!SWIG_IsOK(res2
)) {
11546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11551 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11552 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11553 if (!SWIG_IsOK(res3
)) {
11554 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11556 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11560 wxPyEndAllowThreads(__tstate
);
11561 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11570 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11573 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11574 return SWIG_Py_Void();
11577 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11578 return SWIG_Python_InitShadowInstance(args
);
11581 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11582 PyObject
*resultobj
= 0;
11583 wxWindow
*arg1
= (wxWindow
*) 0 ;
11584 int arg2
= (int) -1 ;
11585 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11586 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11587 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11588 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11589 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11590 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11591 long arg6
= (long) 0 ;
11592 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11593 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11594 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11595 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11596 wxTextCtrl
*result
= 0 ;
11601 bool temp3
= false ;
11608 bool temp8
= false ;
11609 PyObject
* obj0
= 0 ;
11610 PyObject
* obj1
= 0 ;
11611 PyObject
* obj2
= 0 ;
11612 PyObject
* obj3
= 0 ;
11613 PyObject
* obj4
= 0 ;
11614 PyObject
* obj5
= 0 ;
11615 PyObject
* obj6
= 0 ;
11616 PyObject
* obj7
= 0 ;
11617 char * kwnames
[] = {
11618 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11623 if (!SWIG_IsOK(res1
)) {
11624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11626 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11629 if (!SWIG_IsOK(ecode2
)) {
11630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11632 arg2
= static_cast< int >(val2
);
11636 arg3
= wxString_in_helper(obj2
);
11637 if (arg3
== NULL
) SWIG_fail
;
11644 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11650 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11654 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11655 if (!SWIG_IsOK(ecode6
)) {
11656 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11658 arg6
= static_cast< long >(val6
);
11661 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11662 if (!SWIG_IsOK(res7
)) {
11663 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11668 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11672 arg8
= wxString_in_helper(obj7
);
11673 if (arg8
== NULL
) SWIG_fail
;
11678 if (!wxPyCheckForApp()) SWIG_fail
;
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11707 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11708 PyObject
*resultobj
= 0;
11709 wxTextCtrl
*result
= 0 ;
11711 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11713 if (!wxPyCheckForApp()) SWIG_fail
;
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 result
= (wxTextCtrl
*)new wxTextCtrl();
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11726 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
= 0;
11728 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11729 wxWindow
*arg2
= (wxWindow
*) 0 ;
11730 int arg3
= (int) -1 ;
11731 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11732 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11733 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11734 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11735 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11736 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11737 long arg7
= (long) 0 ;
11738 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11739 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11740 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11741 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11749 bool temp4
= false ;
11756 bool temp9
= false ;
11757 PyObject
* obj0
= 0 ;
11758 PyObject
* obj1
= 0 ;
11759 PyObject
* obj2
= 0 ;
11760 PyObject
* obj3
= 0 ;
11761 PyObject
* obj4
= 0 ;
11762 PyObject
* obj5
= 0 ;
11763 PyObject
* obj6
= 0 ;
11764 PyObject
* obj7
= 0 ;
11765 PyObject
* obj8
= 0 ;
11766 char * kwnames
[] = {
11767 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11772 if (!SWIG_IsOK(res1
)) {
11773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11775 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11777 if (!SWIG_IsOK(res2
)) {
11778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11780 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11783 if (!SWIG_IsOK(ecode3
)) {
11784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11786 arg3
= static_cast< int >(val3
);
11790 arg4
= wxString_in_helper(obj3
);
11791 if (arg4
== NULL
) SWIG_fail
;
11798 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11804 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11808 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11809 if (!SWIG_IsOK(ecode7
)) {
11810 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11812 arg7
= static_cast< long >(val7
);
11815 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11816 if (!SWIG_IsOK(res8
)) {
11817 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11822 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11826 arg9
= wxString_in_helper(obj8
);
11827 if (arg9
== NULL
) SWIG_fail
;
11832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11833 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11862 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11863 PyObject
*resultobj
= 0;
11864 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11868 PyObject
*swig_obj
[1] ;
11870 if (!args
) SWIG_fail
;
11871 swig_obj
[0] = args
;
11872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11873 if (!SWIG_IsOK(res1
)) {
11874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11876 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11896 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
= 0;
11898 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11899 wxString
*arg2
= 0 ;
11902 bool temp2
= false ;
11903 PyObject
* obj0
= 0 ;
11904 PyObject
* obj1
= 0 ;
11905 char * kwnames
[] = {
11906 (char *) "self",(char *) "value", NULL
11909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11911 if (!SWIG_IsOK(res1
)) {
11912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11914 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11916 arg2
= wxString_in_helper(obj1
);
11917 if (arg2
== NULL
) SWIG_fail
;
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 (arg1
)->SetValue((wxString
const &)*arg2
);
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= SWIG_Py_Void();
11941 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11942 PyObject
*resultobj
= 0;
11943 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11947 PyObject
*swig_obj
[1] ;
11949 if (!args
) SWIG_fail
;
11950 swig_obj
[0] = args
;
11951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11952 if (!SWIG_IsOK(res1
)) {
11953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11955 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11971 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
= 0;
11973 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11974 wxString
*arg2
= 0 ;
11977 bool temp2
= false ;
11978 PyObject
* obj0
= 0 ;
11979 PyObject
* obj1
= 0 ;
11980 char * kwnames
[] = {
11981 (char *) "self",(char *) "value", NULL
11984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11986 if (!SWIG_IsOK(res1
)) {
11987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11989 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11991 arg2
= wxString_in_helper(obj1
);
11992 if (arg2
== NULL
) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12001 resultobj
= SWIG_Py_Void();
12016 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
= 0;
12018 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12028 PyObject
* obj0
= 0 ;
12029 PyObject
* obj1
= 0 ;
12030 PyObject
* obj2
= 0 ;
12031 char * kwnames
[] = {
12032 (char *) "self",(char *) "from",(char *) "to", NULL
12035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12037 if (!SWIG_IsOK(res1
)) {
12038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12040 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12041 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12042 if (!SWIG_IsOK(ecode2
)) {
12043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12045 arg2
= static_cast< long >(val2
);
12046 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12047 if (!SWIG_IsOK(ecode3
)) {
12048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12050 arg3
= static_cast< long >(val3
);
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12059 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12061 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12070 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
= 0;
12072 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12079 PyObject
* obj0
= 0 ;
12080 PyObject
* obj1
= 0 ;
12081 char * kwnames
[] = {
12082 (char *) "self",(char *) "lineNo", NULL
12085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12087 if (!SWIG_IsOK(res1
)) {
12088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12090 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12091 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12092 if (!SWIG_IsOK(ecode2
)) {
12093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12095 arg2
= static_cast< long >(val2
);
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12102 resultobj
= SWIG_From_int(static_cast< int >(result
));
12109 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
= 0;
12111 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 PyObject
* obj1
= 0 ;
12120 char * kwnames
[] = {
12121 (char *) "self",(char *) "lineNo", NULL
12124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12126 if (!SWIG_IsOK(res1
)) {
12127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12129 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12130 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12131 if (!SWIG_IsOK(ecode2
)) {
12132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12134 arg2
= static_cast< long >(val2
);
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12154 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12155 PyObject
*resultobj
= 0;
12156 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12160 PyObject
*swig_obj
[1] ;
12162 if (!args
) SWIG_fail
;
12163 swig_obj
[0] = args
;
12164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12165 if (!SWIG_IsOK(res1
)) {
12166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12168 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12172 wxPyEndAllowThreads(__tstate
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= SWIG_From_int(static_cast< int >(result
));
12182 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12183 PyObject
*resultobj
= 0;
12184 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12188 PyObject
*swig_obj
[1] ;
12190 if (!args
) SWIG_fail
;
12191 swig_obj
[0] = args
;
12192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12193 if (!SWIG_IsOK(res1
)) {
12194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12196 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12212 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12213 PyObject
*resultobj
= 0;
12214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12218 PyObject
*swig_obj
[1] ;
12220 if (!args
) SWIG_fail
;
12221 swig_obj
[0] = args
;
12222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12223 if (!SWIG_IsOK(res1
)) {
12224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12226 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12242 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12243 PyObject
*resultobj
= 0;
12244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12248 PyObject
*swig_obj
[1] ;
12250 if (!args
) SWIG_fail
;
12251 swig_obj
[0] = args
;
12252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12253 if (!SWIG_IsOK(res1
)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12256 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12272 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12273 PyObject
*resultobj
= 0;
12274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12278 PyObject
*swig_obj
[1] ;
12280 if (!args
) SWIG_fail
;
12281 swig_obj
[0] = args
;
12282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12283 if (!SWIG_IsOK(res1
)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12286 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12302 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12303 PyObject
*resultobj
= 0;
12304 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12305 long *arg2
= (long *) 0 ;
12306 long *arg3
= (long *) 0 ;
12310 int res2
= SWIG_TMPOBJ
;
12312 int res3
= SWIG_TMPOBJ
;
12313 PyObject
*swig_obj
[1] ;
12317 if (!args
) SWIG_fail
;
12318 swig_obj
[0] = args
;
12319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12320 if (!SWIG_IsOK(res1
)) {
12321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12323 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= SWIG_Py_Void();
12331 if (SWIG_IsTmpObj(res2
)) {
12332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12334 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12335 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12337 if (SWIG_IsTmpObj(res3
)) {
12338 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12340 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12341 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12349 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12350 PyObject
*resultobj
= 0;
12351 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_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12363 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12383 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12384 PyObject
*resultobj
= 0;
12385 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12388 PyObject
*swig_obj
[1] ;
12390 if (!args
) SWIG_fail
;
12391 swig_obj
[0] = args
;
12392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12393 if (!SWIG_IsOK(res1
)) {
12394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12396 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 resultobj
= SWIG_Py_Void();
12410 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
*resultobj
= 0;
12412 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12415 wxString
*arg4
= 0 ;
12422 bool temp4
= false ;
12423 PyObject
* obj0
= 0 ;
12424 PyObject
* obj1
= 0 ;
12425 PyObject
* obj2
= 0 ;
12426 PyObject
* obj3
= 0 ;
12427 char * kwnames
[] = {
12428 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12433 if (!SWIG_IsOK(res1
)) {
12434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12436 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12437 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12438 if (!SWIG_IsOK(ecode2
)) {
12439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12441 arg2
= static_cast< long >(val2
);
12442 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12443 if (!SWIG_IsOK(ecode3
)) {
12444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12446 arg3
= static_cast< long >(val3
);
12448 arg4
= wxString_in_helper(obj3
);
12449 if (arg4
== NULL
) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= SWIG_Py_Void();
12473 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
= 0;
12475 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12484 PyObject
* obj0
= 0 ;
12485 PyObject
* obj1
= 0 ;
12486 PyObject
* obj2
= 0 ;
12487 char * kwnames
[] = {
12488 (char *) "self",(char *) "from",(char *) "to", NULL
12491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12493 if (!SWIG_IsOK(res1
)) {
12494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12496 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12497 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12498 if (!SWIG_IsOK(ecode2
)) {
12499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12501 arg2
= static_cast< long >(val2
);
12502 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12503 if (!SWIG_IsOK(ecode3
)) {
12504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12506 arg3
= static_cast< long >(val3
);
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 (arg1
)->Remove(arg2
,arg3
);
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 resultobj
= SWIG_Py_Void();
12520 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
= 0;
12522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12523 wxString
*arg2
= 0 ;
12524 int arg3
= (int) wxTEXT_TYPE_ANY
;
12528 bool temp2
= false ;
12531 PyObject
* obj0
= 0 ;
12532 PyObject
* obj1
= 0 ;
12533 PyObject
* obj2
= 0 ;
12534 char * kwnames
[] = {
12535 (char *) "self",(char *) "file",(char *) "fileType", NULL
12538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12540 if (!SWIG_IsOK(res1
)) {
12541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12543 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12545 arg2
= wxString_in_helper(obj1
);
12546 if (arg2
== NULL
) SWIG_fail
;
12550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12551 if (!SWIG_IsOK(ecode3
)) {
12552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12554 arg3
= static_cast< int >(val3
);
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12579 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
= 0;
12581 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12582 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12583 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12584 int arg3
= (int) wxTEXT_TYPE_ANY
;
12588 bool temp2
= false ;
12591 PyObject
* obj0
= 0 ;
12592 PyObject
* obj1
= 0 ;
12593 PyObject
* obj2
= 0 ;
12594 char * kwnames
[] = {
12595 (char *) "self",(char *) "file",(char *) "fileType", NULL
12598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12600 if (!SWIG_IsOK(res1
)) {
12601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12603 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12606 arg2
= wxString_in_helper(obj1
);
12607 if (arg2
== NULL
) SWIG_fail
;
12612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12613 if (!SWIG_IsOK(ecode3
)) {
12614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12616 arg3
= static_cast< int >(val3
);
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12641 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12642 PyObject
*resultobj
= 0;
12643 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12646 PyObject
*swig_obj
[1] ;
12648 if (!args
) SWIG_fail
;
12649 swig_obj
[0] = args
;
12650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12651 if (!SWIG_IsOK(res1
)) {
12652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12654 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 (arg1
)->MarkDirty();
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12661 resultobj
= SWIG_Py_Void();
12668 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12669 PyObject
*resultobj
= 0;
12670 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12673 PyObject
*swig_obj
[1] ;
12675 if (!args
) SWIG_fail
;
12676 swig_obj
[0] = args
;
12677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12678 if (!SWIG_IsOK(res1
)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12681 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 (arg1
)->DiscardEdits();
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= SWIG_Py_Void();
12695 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
= 0;
12697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12703 PyObject
* obj0
= 0 ;
12704 PyObject
* obj1
= 0 ;
12705 char * kwnames
[] = {
12706 (char *) "self",(char *) "modified", NULL
12709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12711 if (!SWIG_IsOK(res1
)) {
12712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12714 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12715 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12716 if (!SWIG_IsOK(ecode2
)) {
12717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12719 arg2
= static_cast< bool >(val2
);
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 (arg1
)->SetModified(arg2
);
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= SWIG_Py_Void();
12733 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
= 0;
12735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12736 unsigned long arg2
;
12739 unsigned long val2
;
12741 PyObject
* obj0
= 0 ;
12742 PyObject
* obj1
= 0 ;
12743 char * kwnames
[] = {
12744 (char *) "self",(char *) "len", NULL
12747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12749 if (!SWIG_IsOK(res1
)) {
12750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12752 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12753 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12754 if (!SWIG_IsOK(ecode2
)) {
12755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12757 arg2
= static_cast< unsigned long >(val2
);
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12760 (arg1
)->SetMaxLength(arg2
);
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12764 resultobj
= SWIG_Py_Void();
12771 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
= 0;
12773 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12774 wxString
*arg2
= 0 ;
12777 bool temp2
= false ;
12778 PyObject
* obj0
= 0 ;
12779 PyObject
* obj1
= 0 ;
12780 char * kwnames
[] = {
12781 (char *) "self",(char *) "text", NULL
12784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12786 if (!SWIG_IsOK(res1
)) {
12787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12789 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12791 arg2
= wxString_in_helper(obj1
);
12792 if (arg2
== NULL
) SWIG_fail
;
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 (arg1
)->WriteText((wxString
const &)*arg2
);
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12801 resultobj
= SWIG_Py_Void();
12816 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12817 PyObject
*resultobj
= 0;
12818 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12819 wxString
*arg2
= 0 ;
12822 bool temp2
= false ;
12823 PyObject
* obj0
= 0 ;
12824 PyObject
* obj1
= 0 ;
12825 char * kwnames
[] = {
12826 (char *) "self",(char *) "text", NULL
12829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12831 if (!SWIG_IsOK(res1
)) {
12832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12834 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12836 arg2
= wxString_in_helper(obj1
);
12837 if (arg2
== NULL
) SWIG_fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 (arg1
)->AppendText((wxString
const &)*arg2
);
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= SWIG_Py_Void();
12861 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
= 0;
12863 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12864 wxKeyEvent
*arg2
= 0 ;
12870 PyObject
* obj0
= 0 ;
12871 PyObject
* obj1
= 0 ;
12872 char * kwnames
[] = {
12873 (char *) "self",(char *) "event", NULL
12876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12878 if (!SWIG_IsOK(res1
)) {
12879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12881 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12882 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12883 if (!SWIG_IsOK(res2
)) {
12884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12889 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12905 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
= 0;
12907 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12910 wxTextAttr
*arg4
= 0 ;
12920 PyObject
* obj0
= 0 ;
12921 PyObject
* obj1
= 0 ;
12922 PyObject
* obj2
= 0 ;
12923 PyObject
* obj3
= 0 ;
12924 char * kwnames
[] = {
12925 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12930 if (!SWIG_IsOK(res1
)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12933 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12934 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12935 if (!SWIG_IsOK(ecode2
)) {
12936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12938 arg2
= static_cast< long >(val2
);
12939 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12940 if (!SWIG_IsOK(ecode3
)) {
12941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12943 arg3
= static_cast< long >(val3
);
12944 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12945 if (!SWIG_IsOK(res4
)) {
12946 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12951 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12967 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
= 0;
12969 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12971 wxTextAttr
*arg3
= 0 ;
12979 PyObject
* obj0
= 0 ;
12980 PyObject
* obj1
= 0 ;
12981 PyObject
* obj2
= 0 ;
12982 char * kwnames
[] = {
12983 (char *) "self",(char *) "position",(char *) "style", NULL
12986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12988 if (!SWIG_IsOK(res1
)) {
12989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12991 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12992 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12993 if (!SWIG_IsOK(ecode2
)) {
12994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12996 arg2
= static_cast< long >(val2
);
12997 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12998 if (!SWIG_IsOK(res3
)) {
12999 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13004 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13020 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
= 0;
13022 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13023 wxTextAttr
*arg2
= 0 ;
13029 PyObject
* obj0
= 0 ;
13030 PyObject
* obj1
= 0 ;
13031 char * kwnames
[] = {
13032 (char *) "self",(char *) "style", NULL
13035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13037 if (!SWIG_IsOK(res1
)) {
13038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13040 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13042 if (!SWIG_IsOK(res2
)) {
13043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13048 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13064 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13065 PyObject
*resultobj
= 0;
13066 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13067 wxTextAttr
*result
= 0 ;
13070 PyObject
*swig_obj
[1] ;
13072 if (!args
) SWIG_fail
;
13073 swig_obj
[0] = args
;
13074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13075 if (!SWIG_IsOK(res1
)) {
13076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13078 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13083 result
= (wxTextAttr
*) &_result_ref
;
13085 wxPyEndAllowThreads(__tstate
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13095 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13096 PyObject
*resultobj
= 0;
13097 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 PyObject
* obj2
= 0 ;
13110 char * kwnames
[] = {
13111 (char *) "self",(char *) "x",(char *) "y", NULL
13114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13116 if (!SWIG_IsOK(res1
)) {
13117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13119 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13120 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13121 if (!SWIG_IsOK(ecode2
)) {
13122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13124 arg2
= static_cast< long >(val2
);
13125 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13126 if (!SWIG_IsOK(ecode3
)) {
13127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13129 arg3
= static_cast< long >(val3
);
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 resultobj
= SWIG_From_long(static_cast< long >(result
));
13143 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
= 0;
13145 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13147 long *arg3
= (long *) 0 ;
13148 long *arg4
= (long *) 0 ;
13154 int res3
= SWIG_TMPOBJ
;
13156 int res4
= SWIG_TMPOBJ
;
13157 PyObject
* obj0
= 0 ;
13158 PyObject
* obj1
= 0 ;
13159 char * kwnames
[] = {
13160 (char *) "self",(char *) "pos", NULL
13165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13167 if (!SWIG_IsOK(res1
)) {
13168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13170 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13171 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13172 if (!SWIG_IsOK(ecode2
)) {
13173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13175 arg2
= static_cast< long >(val2
);
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13182 resultobj
= SWIG_Py_Void();
13183 if (SWIG_IsTmpObj(res3
)) {
13184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13186 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13189 if (SWIG_IsTmpObj(res4
)) {
13190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13192 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13201 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
= 0;
13203 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13209 PyObject
* obj0
= 0 ;
13210 PyObject
* obj1
= 0 ;
13211 char * kwnames
[] = {
13212 (char *) "self",(char *) "pos", NULL
13215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13217 if (!SWIG_IsOK(res1
)) {
13218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13220 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13221 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13222 if (!SWIG_IsOK(ecode2
)) {
13223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13225 arg2
= static_cast< long >(val2
);
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 (arg1
)->ShowPosition(arg2
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_Py_Void();
13239 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
= 0;
13241 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13242 wxPoint
*arg2
= 0 ;
13243 long *arg3
= (long *) 0 ;
13244 long *arg4
= (long *) 0 ;
13245 wxTextCtrlHitTestResult result
;
13250 int res3
= SWIG_TMPOBJ
;
13252 int res4
= SWIG_TMPOBJ
;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 char * kwnames
[] = {
13256 (char *) "self",(char *) "pt", NULL
13261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13263 if (!SWIG_IsOK(res1
)) {
13264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13266 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13269 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13274 wxPyEndAllowThreads(__tstate
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13277 resultobj
= SWIG_From_int(static_cast< int >(result
));
13278 if (SWIG_IsTmpObj(res3
)) {
13279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13281 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13284 if (SWIG_IsTmpObj(res4
)) {
13285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13287 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13296 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
= 0;
13298 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13299 wxPoint
*arg2
= 0 ;
13300 long *arg3
= (long *) 0 ;
13301 wxTextCtrlHitTestResult result
;
13306 int res3
= SWIG_TMPOBJ
;
13307 PyObject
* obj0
= 0 ;
13308 PyObject
* obj1
= 0 ;
13309 char * kwnames
[] = {
13310 (char *) "self",(char *) "pt", NULL
13314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13316 if (!SWIG_IsOK(res1
)) {
13317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13319 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13322 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= SWIG_From_int(static_cast< int >(result
));
13331 if (SWIG_IsTmpObj(res3
)) {
13332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13334 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13335 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13343 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13344 PyObject
*resultobj
= 0;
13345 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13348 PyObject
*swig_obj
[1] ;
13350 if (!args
) SWIG_fail
;
13351 swig_obj
[0] = args
;
13352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13353 if (!SWIG_IsOK(res1
)) {
13354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13356 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 wxPyEndAllowThreads(__tstate
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13363 resultobj
= SWIG_Py_Void();
13370 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13371 PyObject
*resultobj
= 0;
13372 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13375 PyObject
*swig_obj
[1] ;
13377 if (!args
) SWIG_fail
;
13378 swig_obj
[0] = args
;
13379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13380 if (!SWIG_IsOK(res1
)) {
13381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13383 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13390 resultobj
= SWIG_Py_Void();
13397 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13398 PyObject
*resultobj
= 0;
13399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13402 PyObject
*swig_obj
[1] ;
13404 if (!args
) SWIG_fail
;
13405 swig_obj
[0] = args
;
13406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13407 if (!SWIG_IsOK(res1
)) {
13408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13410 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= SWIG_Py_Void();
13424 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13425 PyObject
*resultobj
= 0;
13426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13430 PyObject
*swig_obj
[1] ;
13432 if (!args
) SWIG_fail
;
13433 swig_obj
[0] = args
;
13434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13435 if (!SWIG_IsOK(res1
)) {
13436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13438 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13454 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13455 PyObject
*resultobj
= 0;
13456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13460 PyObject
*swig_obj
[1] ;
13462 if (!args
) SWIG_fail
;
13463 swig_obj
[0] = args
;
13464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13465 if (!SWIG_IsOK(res1
)) {
13466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13468 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13484 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13485 PyObject
*resultobj
= 0;
13486 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13490 PyObject
*swig_obj
[1] ;
13492 if (!args
) SWIG_fail
;
13493 swig_obj
[0] = args
;
13494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13495 if (!SWIG_IsOK(res1
)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13498 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13514 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13515 PyObject
*resultobj
= 0;
13516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13519 PyObject
*swig_obj
[1] ;
13521 if (!args
) SWIG_fail
;
13522 swig_obj
[0] = args
;
13523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13524 if (!SWIG_IsOK(res1
)) {
13525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13527 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 resultobj
= SWIG_Py_Void();
13541 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13542 PyObject
*resultobj
= 0;
13543 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13546 PyObject
*swig_obj
[1] ;
13548 if (!args
) SWIG_fail
;
13549 swig_obj
[0] = args
;
13550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13551 if (!SWIG_IsOK(res1
)) {
13552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13554 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= SWIG_Py_Void();
13568 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13569 PyObject
*resultobj
= 0;
13570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13574 PyObject
*swig_obj
[1] ;
13576 if (!args
) SWIG_fail
;
13577 swig_obj
[0] = args
;
13578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13579 if (!SWIG_IsOK(res1
)) {
13580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13582 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13586 wxPyEndAllowThreads(__tstate
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13598 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13599 PyObject
*resultobj
= 0;
13600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13604 PyObject
*swig_obj
[1] ;
13606 if (!args
) SWIG_fail
;
13607 swig_obj
[0] = args
;
13608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13609 if (!SWIG_IsOK(res1
)) {
13610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13612 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13615 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13628 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
= 0;
13630 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 char * kwnames
[] = {
13639 (char *) "self",(char *) "pos", NULL
13642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13644 if (!SWIG_IsOK(res1
)) {
13645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13647 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13648 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13649 if (!SWIG_IsOK(ecode2
)) {
13650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13652 arg2
= static_cast< long >(val2
);
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13655 (arg1
)->SetInsertionPoint(arg2
);
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13659 resultobj
= SWIG_Py_Void();
13666 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13667 PyObject
*resultobj
= 0;
13668 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13671 PyObject
*swig_obj
[1] ;
13673 if (!args
) SWIG_fail
;
13674 swig_obj
[0] = args
;
13675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13676 if (!SWIG_IsOK(res1
)) {
13677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13679 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 (arg1
)->SetInsertionPointEnd();
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 resultobj
= SWIG_Py_Void();
13693 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13694 PyObject
*resultobj
= 0;
13695 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13699 PyObject
*swig_obj
[1] ;
13701 if (!args
) SWIG_fail
;
13702 swig_obj
[0] = args
;
13703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13704 if (!SWIG_IsOK(res1
)) {
13705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13707 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_From_long(static_cast< long >(result
));
13721 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13722 PyObject
*resultobj
= 0;
13723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13727 PyObject
*swig_obj
[1] ;
13729 if (!args
) SWIG_fail
;
13730 swig_obj
[0] = args
;
13731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13732 if (!SWIG_IsOK(res1
)) {
13733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13735 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13739 wxPyEndAllowThreads(__tstate
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13742 resultobj
= SWIG_From_long(static_cast< long >(result
));
13749 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13750 PyObject
*resultobj
= 0;
13751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13760 PyObject
* obj0
= 0 ;
13761 PyObject
* obj1
= 0 ;
13762 PyObject
* obj2
= 0 ;
13763 char * kwnames
[] = {
13764 (char *) "self",(char *) "from",(char *) "to", NULL
13767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13769 if (!SWIG_IsOK(res1
)) {
13770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13772 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13773 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13774 if (!SWIG_IsOK(ecode2
)) {
13775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13777 arg2
= static_cast< long >(val2
);
13778 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13779 if (!SWIG_IsOK(ecode3
)) {
13780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13782 arg3
= static_cast< long >(val3
);
13784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13785 (arg1
)->SetSelection(arg2
,arg3
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13789 resultobj
= SWIG_Py_Void();
13796 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13797 PyObject
*resultobj
= 0;
13798 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13801 PyObject
*swig_obj
[1] ;
13803 if (!args
) SWIG_fail
;
13804 swig_obj
[0] = args
;
13805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13806 if (!SWIG_IsOK(res1
)) {
13807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13809 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 (arg1
)->SelectAll();
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= SWIG_Py_Void();
13823 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
= 0;
13825 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13831 PyObject
* obj0
= 0 ;
13832 PyObject
* obj1
= 0 ;
13833 char * kwnames
[] = {
13834 (char *) "self",(char *) "editable", NULL
13837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13839 if (!SWIG_IsOK(res1
)) {
13840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13842 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13843 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13844 if (!SWIG_IsOK(ecode2
)) {
13845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13847 arg2
= static_cast< bool >(val2
);
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 (arg1
)->SetEditable(arg2
);
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_Py_Void();
13861 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
= 0;
13863 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13869 PyObject
* obj0
= 0 ;
13870 PyObject
* obj1
= 0 ;
13871 char * kwnames
[] = {
13872 (char *) "self",(char *) "check", NULL
13875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13877 if (!SWIG_IsOK(res1
)) {
13878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13880 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13881 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13882 if (!SWIG_IsOK(ecode2
)) {
13883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13885 arg2
= static_cast< bool >(val2
);
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 wxTextCtrl_MacCheckSpelling(arg1
,arg2
);
13889 wxPyEndAllowThreads(__tstate
);
13890 if (PyErr_Occurred()) SWIG_fail
;
13892 resultobj
= SWIG_Py_Void();
13899 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13900 PyObject
*resultobj
= 0;
13901 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13904 PyObject
*swig_obj
[1] ;
13906 if (!args
) SWIG_fail
;
13907 swig_obj
[0] = args
;
13908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13909 if (!SWIG_IsOK(res1
)) {
13910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13912 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 (arg1
)->SendTextUpdatedEvent();
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13919 resultobj
= SWIG_Py_Void();
13926 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13927 PyObject
*resultobj
= 0;
13928 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13929 wxString
*arg2
= 0 ;
13932 bool temp2
= false ;
13933 PyObject
* obj0
= 0 ;
13934 PyObject
* obj1
= 0 ;
13935 char * kwnames
[] = {
13936 (char *) "self",(char *) "text", NULL
13939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13941 if (!SWIG_IsOK(res1
)) {
13942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13944 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13946 arg2
= wxString_in_helper(obj1
);
13947 if (arg2
== NULL
) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13956 resultobj
= SWIG_Py_Void();
13971 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
= 0;
13973 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13983 PyObject
* obj0
= 0 ;
13984 PyObject
* obj1
= 0 ;
13985 PyObject
* obj2
= 0 ;
13986 char * kwnames
[] = {
13987 (char *) "self",(char *) "from",(char *) "to", NULL
13990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13992 if (!SWIG_IsOK(res1
)) {
13993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13995 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13996 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13997 if (!SWIG_IsOK(ecode2
)) {
13998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14000 arg2
= static_cast< long >(val2
);
14001 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14002 if (!SWIG_IsOK(ecode3
)) {
14003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14005 arg3
= static_cast< long >(val3
);
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14025 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
= 0;
14027 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14028 SwigValueWrapper
<wxVisualAttributes
> result
;
14031 PyObject
* obj0
= 0 ;
14032 char * kwnames
[] = {
14033 (char *) "variant", NULL
14036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14038 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14039 if (!SWIG_IsOK(ecode1
)) {
14040 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14042 arg1
= static_cast< wxWindowVariant
>(val1
);
14045 if (!wxPyCheckForApp()) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14051 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14058 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14061 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14062 return SWIG_Py_Void();
14065 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14066 return SWIG_Python_InitShadowInstance(args
);
14069 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
= 0;
14072 wxMouseEvent
*arg2
= 0 ;
14075 wxTextUrlEvent
*result
= 0 ;
14084 PyObject
* obj0
= 0 ;
14085 PyObject
* obj1
= 0 ;
14086 PyObject
* obj2
= 0 ;
14087 PyObject
* obj3
= 0 ;
14088 char * kwnames
[] = {
14089 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14093 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14094 if (!SWIG_IsOK(ecode1
)) {
14095 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14097 arg1
= static_cast< int >(val1
);
14098 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14099 if (!SWIG_IsOK(res2
)) {
14100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14105 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14106 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14107 if (!SWIG_IsOK(ecode3
)) {
14108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14110 arg3
= static_cast< long >(val3
);
14111 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14112 if (!SWIG_IsOK(ecode4
)) {
14113 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14115 arg4
= static_cast< long >(val4
);
14117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14118 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14129 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14130 PyObject
*resultobj
= 0;
14131 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14132 wxMouseEvent
*result
= 0 ;
14135 PyObject
*swig_obj
[1] ;
14137 if (!args
) SWIG_fail
;
14138 swig_obj
[0] = args
;
14139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14140 if (!SWIG_IsOK(res1
)) {
14141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14143 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14148 result
= (wxMouseEvent
*) &_result_ref
;
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14160 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14161 PyObject
*resultobj
= 0;
14162 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14166 PyObject
*swig_obj
[1] ;
14168 if (!args
) SWIG_fail
;
14169 swig_obj
[0] = args
;
14170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14171 if (!SWIG_IsOK(res1
)) {
14172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14174 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14181 resultobj
= SWIG_From_long(static_cast< long >(result
));
14188 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14189 PyObject
*resultobj
= 0;
14190 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14194 PyObject
*swig_obj
[1] ;
14196 if (!args
) SWIG_fail
;
14197 swig_obj
[0] = args
;
14198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14199 if (!SWIG_IsOK(res1
)) {
14200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14202 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14209 resultobj
= SWIG_From_long(static_cast< long >(result
));
14216 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14218 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14219 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14220 return SWIG_Py_Void();
14223 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14224 return SWIG_Python_InitShadowInstance(args
);
14227 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14228 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14233 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14234 PyObject
*pyobj
= 0;
14238 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14240 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14247 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
= 0;
14249 wxWindow
*arg1
= (wxWindow
*) 0 ;
14250 int arg2
= (int) -1 ;
14251 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14252 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14253 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14254 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14255 long arg5
= (long) wxSB_HORIZONTAL
;
14256 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14257 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14258 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14259 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14260 wxScrollBar
*result
= 0 ;
14271 bool temp7
= false ;
14272 PyObject
* obj0
= 0 ;
14273 PyObject
* obj1
= 0 ;
14274 PyObject
* obj2
= 0 ;
14275 PyObject
* obj3
= 0 ;
14276 PyObject
* obj4
= 0 ;
14277 PyObject
* obj5
= 0 ;
14278 PyObject
* obj6
= 0 ;
14279 char * kwnames
[] = {
14280 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14285 if (!SWIG_IsOK(res1
)) {
14286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14288 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14291 if (!SWIG_IsOK(ecode2
)) {
14292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14294 arg2
= static_cast< int >(val2
);
14299 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14305 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14309 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14310 if (!SWIG_IsOK(ecode5
)) {
14311 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14313 arg5
= static_cast< long >(val5
);
14316 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14317 if (!SWIG_IsOK(res6
)) {
14318 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14323 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14327 arg7
= wxString_in_helper(obj6
);
14328 if (arg7
== NULL
) SWIG_fail
;
14333 if (!wxPyCheckForApp()) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14354 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14355 PyObject
*resultobj
= 0;
14356 wxScrollBar
*result
= 0 ;
14358 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14360 if (!wxPyCheckForApp()) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (wxScrollBar
*)new wxScrollBar();
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14373 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
= 0;
14375 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14376 wxWindow
*arg2
= (wxWindow
*) 0 ;
14377 int arg3
= (int) -1 ;
14378 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14379 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14380 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14381 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14382 long arg6
= (long) wxSB_HORIZONTAL
;
14383 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14384 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14385 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14386 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14400 bool temp8
= false ;
14401 PyObject
* obj0
= 0 ;
14402 PyObject
* obj1
= 0 ;
14403 PyObject
* obj2
= 0 ;
14404 PyObject
* obj3
= 0 ;
14405 PyObject
* obj4
= 0 ;
14406 PyObject
* obj5
= 0 ;
14407 PyObject
* obj6
= 0 ;
14408 PyObject
* obj7
= 0 ;
14409 char * kwnames
[] = {
14410 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14415 if (!SWIG_IsOK(res1
)) {
14416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14418 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14419 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14420 if (!SWIG_IsOK(res2
)) {
14421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14423 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14426 if (!SWIG_IsOK(ecode3
)) {
14427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14429 arg3
= static_cast< int >(val3
);
14434 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14440 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14444 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14445 if (!SWIG_IsOK(ecode6
)) {
14446 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14448 arg6
= static_cast< long >(val6
);
14451 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14452 if (!SWIG_IsOK(res7
)) {
14453 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14458 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14462 arg8
= wxString_in_helper(obj7
);
14463 if (arg8
== NULL
) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14490 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14491 PyObject
*resultobj
= 0;
14492 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14496 PyObject
*swig_obj
[1] ;
14498 if (!args
) SWIG_fail
;
14499 swig_obj
[0] = args
;
14500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14501 if (!SWIG_IsOK(res1
)) {
14502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14504 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14508 wxPyEndAllowThreads(__tstate
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14511 resultobj
= SWIG_From_int(static_cast< int >(result
));
14518 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14519 PyObject
*resultobj
= 0;
14520 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14524 PyObject
*swig_obj
[1] ;
14526 if (!args
) SWIG_fail
;
14527 swig_obj
[0] = args
;
14528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14529 if (!SWIG_IsOK(res1
)) {
14530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14532 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= SWIG_From_int(static_cast< int >(result
));
14546 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14547 PyObject
*resultobj
= 0;
14548 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14552 PyObject
*swig_obj
[1] ;
14554 if (!args
) SWIG_fail
;
14555 swig_obj
[0] = args
;
14556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14557 if (!SWIG_IsOK(res1
)) {
14558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14560 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 resultobj
= SWIG_From_int(static_cast< int >(result
));
14574 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14575 PyObject
*resultobj
= 0;
14576 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14580 PyObject
*swig_obj
[1] ;
14582 if (!args
) SWIG_fail
;
14583 swig_obj
[0] = args
;
14584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14585 if (!SWIG_IsOK(res1
)) {
14586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14588 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= SWIG_From_int(static_cast< int >(result
));
14602 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14603 PyObject
*resultobj
= 0;
14604 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14608 PyObject
*swig_obj
[1] ;
14610 if (!args
) SWIG_fail
;
14611 swig_obj
[0] = args
;
14612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14613 if (!SWIG_IsOK(res1
)) {
14614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14616 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14632 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
= 0;
14634 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 PyObject
* obj1
= 0 ;
14642 char * kwnames
[] = {
14643 (char *) "self",(char *) "viewStart", NULL
14646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14648 if (!SWIG_IsOK(res1
)) {
14649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14651 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14653 if (!SWIG_IsOK(ecode2
)) {
14654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14656 arg2
= static_cast< int >(val2
);
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 (arg1
)->SetThumbPosition(arg2
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= SWIG_Py_Void();
14670 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
= 0;
14672 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14673 SwigValueWrapper
<wxVisualAttributes
> result
;
14676 PyObject
* obj0
= 0 ;
14677 char * kwnames
[] = {
14678 (char *) "variant", NULL
14681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14683 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14684 if (!SWIG_IsOK(ecode1
)) {
14685 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14687 arg1
= static_cast< wxWindowVariant
>(val1
);
14690 if (!wxPyCheckForApp()) SWIG_fail
;
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14692 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14696 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14703 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14705 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14706 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14707 return SWIG_Py_Void();
14710 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14711 return SWIG_Python_InitShadowInstance(args
);
14714 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14715 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14720 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14721 PyObject
*pyobj
= 0;
14725 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14727 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14734 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14735 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14740 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14741 PyObject
*pyobj
= 0;
14745 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14747 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14754 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14755 PyObject
*resultobj
= 0;
14756 wxWindow
*arg1
= (wxWindow
*) 0 ;
14757 int arg2
= (int) -1 ;
14758 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14759 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14760 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14761 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14762 long arg5
= (long) wxSP_HORIZONTAL
;
14763 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14764 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14765 wxSpinButton
*result
= 0 ;
14774 bool temp6
= false ;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 PyObject
* obj2
= 0 ;
14778 PyObject
* obj3
= 0 ;
14779 PyObject
* obj4
= 0 ;
14780 PyObject
* obj5
= 0 ;
14781 char * kwnames
[] = {
14782 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14787 if (!SWIG_IsOK(res1
)) {
14788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14790 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14793 if (!SWIG_IsOK(ecode2
)) {
14794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14796 arg2
= static_cast< int >(val2
);
14801 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14807 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14811 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14812 if (!SWIG_IsOK(ecode5
)) {
14813 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14815 arg5
= static_cast< long >(val5
);
14819 arg6
= wxString_in_helper(obj5
);
14820 if (arg6
== NULL
) SWIG_fail
;
14825 if (!wxPyCheckForApp()) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14846 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14847 PyObject
*resultobj
= 0;
14848 wxSpinButton
*result
= 0 ;
14850 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14852 if (!wxPyCheckForApp()) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 result
= (wxSpinButton
*)new wxSpinButton();
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14865 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
= 0;
14867 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14868 wxWindow
*arg2
= (wxWindow
*) 0 ;
14869 int arg3
= (int) -1 ;
14870 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14871 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14872 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14873 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14874 long arg6
= (long) wxSP_HORIZONTAL
;
14875 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14876 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14888 bool temp7
= false ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 PyObject
* obj2
= 0 ;
14892 PyObject
* obj3
= 0 ;
14893 PyObject
* obj4
= 0 ;
14894 PyObject
* obj5
= 0 ;
14895 PyObject
* obj6
= 0 ;
14896 char * kwnames
[] = {
14897 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14902 if (!SWIG_IsOK(res1
)) {
14903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14905 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14906 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14907 if (!SWIG_IsOK(res2
)) {
14908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14910 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14913 if (!SWIG_IsOK(ecode3
)) {
14914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14916 arg3
= static_cast< int >(val3
);
14921 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14927 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14931 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14932 if (!SWIG_IsOK(ecode6
)) {
14933 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14935 arg6
= static_cast< long >(val6
);
14939 arg7
= wxString_in_helper(obj6
);
14940 if (arg7
== NULL
) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14967 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14968 PyObject
*resultobj
= 0;
14969 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14973 PyObject
*swig_obj
[1] ;
14975 if (!args
) SWIG_fail
;
14976 swig_obj
[0] = args
;
14977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14978 if (!SWIG_IsOK(res1
)) {
14979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14981 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= SWIG_From_int(static_cast< int >(result
));
14995 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14996 PyObject
*resultobj
= 0;
14997 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15001 PyObject
*swig_obj
[1] ;
15003 if (!args
) SWIG_fail
;
15004 swig_obj
[0] = args
;
15005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15006 if (!SWIG_IsOK(res1
)) {
15007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15009 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15012 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15013 wxPyEndAllowThreads(__tstate
);
15014 if (PyErr_Occurred()) SWIG_fail
;
15016 resultobj
= SWIG_From_int(static_cast< int >(result
));
15023 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15024 PyObject
*resultobj
= 0;
15025 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15029 PyObject
*swig_obj
[1] ;
15031 if (!args
) SWIG_fail
;
15032 swig_obj
[0] = args
;
15033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15034 if (!SWIG_IsOK(res1
)) {
15035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15037 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= SWIG_From_int(static_cast< int >(result
));
15051 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
= 0;
15053 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15059 PyObject
* obj0
= 0 ;
15060 PyObject
* obj1
= 0 ;
15061 char * kwnames
[] = {
15062 (char *) "self",(char *) "val", NULL
15065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15067 if (!SWIG_IsOK(res1
)) {
15068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15070 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15072 if (!SWIG_IsOK(ecode2
)) {
15073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15075 arg2
= static_cast< int >(val2
);
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 (arg1
)->SetValue(arg2
);
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= SWIG_Py_Void();
15089 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
= 0;
15091 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15097 PyObject
* obj0
= 0 ;
15098 PyObject
* obj1
= 0 ;
15099 char * kwnames
[] = {
15100 (char *) "self",(char *) "minVal", NULL
15103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15105 if (!SWIG_IsOK(res1
)) {
15106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15108 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15110 if (!SWIG_IsOK(ecode2
)) {
15111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15113 arg2
= static_cast< int >(val2
);
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 (arg1
)->SetMin(arg2
);
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15120 resultobj
= SWIG_Py_Void();
15127 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15128 PyObject
*resultobj
= 0;
15129 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15135 PyObject
* obj0
= 0 ;
15136 PyObject
* obj1
= 0 ;
15137 char * kwnames
[] = {
15138 (char *) "self",(char *) "maxVal", NULL
15141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15143 if (!SWIG_IsOK(res1
)) {
15144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15146 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15148 if (!SWIG_IsOK(ecode2
)) {
15149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15151 arg2
= static_cast< int >(val2
);
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 (arg1
)->SetMax(arg2
);
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 resultobj
= SWIG_Py_Void();
15165 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
= 0;
15167 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 PyObject
* obj1
= 0 ;
15178 PyObject
* obj2
= 0 ;
15179 char * kwnames
[] = {
15180 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15185 if (!SWIG_IsOK(res1
)) {
15186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15188 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15190 if (!SWIG_IsOK(ecode2
)) {
15191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15193 arg2
= static_cast< int >(val2
);
15194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15195 if (!SWIG_IsOK(ecode3
)) {
15196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15198 arg3
= static_cast< int >(val3
);
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 (arg1
)->SetRange(arg2
,arg3
);
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= SWIG_Py_Void();
15212 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15213 PyObject
*resultobj
= 0;
15214 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15218 PyObject
*swig_obj
[1] ;
15220 if (!args
) SWIG_fail
;
15221 swig_obj
[0] = args
;
15222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15223 if (!SWIG_IsOK(res1
)) {
15224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15226 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15230 wxPyEndAllowThreads(__tstate
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15242 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
= 0;
15244 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15245 SwigValueWrapper
<wxVisualAttributes
> result
;
15248 PyObject
* obj0
= 0 ;
15249 char * kwnames
[] = {
15250 (char *) "variant", NULL
15253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15255 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15256 if (!SWIG_IsOK(ecode1
)) {
15257 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15259 arg1
= static_cast< wxWindowVariant
>(val1
);
15262 if (!wxPyCheckForApp()) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15265 wxPyEndAllowThreads(__tstate
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15275 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15278 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15279 return SWIG_Py_Void();
15282 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15283 return SWIG_Python_InitShadowInstance(args
);
15286 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
= 0;
15288 wxWindow
*arg1
= (wxWindow
*) 0 ;
15289 int arg2
= (int) -1 ;
15290 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15291 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15292 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15293 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15294 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15295 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15296 long arg6
= (long) wxSP_ARROW_KEYS
;
15297 int arg7
= (int) 0 ;
15298 int arg8
= (int) 100 ;
15299 int arg9
= (int) 0 ;
15300 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15301 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15302 wxSpinCtrl
*result
= 0 ;
15307 bool temp3
= false ;
15318 bool temp10
= false ;
15319 PyObject
* obj0
= 0 ;
15320 PyObject
* obj1
= 0 ;
15321 PyObject
* obj2
= 0 ;
15322 PyObject
* obj3
= 0 ;
15323 PyObject
* obj4
= 0 ;
15324 PyObject
* obj5
= 0 ;
15325 PyObject
* obj6
= 0 ;
15326 PyObject
* obj7
= 0 ;
15327 PyObject
* obj8
= 0 ;
15328 PyObject
* obj9
= 0 ;
15329 char * kwnames
[] = {
15330 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15335 if (!SWIG_IsOK(res1
)) {
15336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15338 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15341 if (!SWIG_IsOK(ecode2
)) {
15342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15344 arg2
= static_cast< int >(val2
);
15348 arg3
= wxString_in_helper(obj2
);
15349 if (arg3
== NULL
) SWIG_fail
;
15356 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15362 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15366 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15367 if (!SWIG_IsOK(ecode6
)) {
15368 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15370 arg6
= static_cast< long >(val6
);
15373 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15374 if (!SWIG_IsOK(ecode7
)) {
15375 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15377 arg7
= static_cast< int >(val7
);
15380 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15381 if (!SWIG_IsOK(ecode8
)) {
15382 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15384 arg8
= static_cast< int >(val8
);
15387 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15388 if (!SWIG_IsOK(ecode9
)) {
15389 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15391 arg9
= static_cast< int >(val9
);
15395 arg10
= wxString_in_helper(obj9
);
15396 if (arg10
== NULL
) SWIG_fail
;
15401 if (!wxPyCheckForApp()) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15430 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15431 PyObject
*resultobj
= 0;
15432 wxSpinCtrl
*result
= 0 ;
15434 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15436 if (!wxPyCheckForApp()) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15449 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
= 0;
15451 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15452 wxWindow
*arg2
= (wxWindow
*) 0 ;
15453 int arg3
= (int) -1 ;
15454 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15455 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15456 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15457 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15458 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15459 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15460 long arg7
= (long) wxSP_ARROW_KEYS
;
15461 int arg8
= (int) 0 ;
15462 int arg9
= (int) 100 ;
15463 int arg10
= (int) 0 ;
15464 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15465 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15473 bool temp4
= false ;
15484 bool temp11
= false ;
15485 PyObject
* obj0
= 0 ;
15486 PyObject
* obj1
= 0 ;
15487 PyObject
* obj2
= 0 ;
15488 PyObject
* obj3
= 0 ;
15489 PyObject
* obj4
= 0 ;
15490 PyObject
* obj5
= 0 ;
15491 PyObject
* obj6
= 0 ;
15492 PyObject
* obj7
= 0 ;
15493 PyObject
* obj8
= 0 ;
15494 PyObject
* obj9
= 0 ;
15495 PyObject
* obj10
= 0 ;
15496 char * kwnames
[] = {
15497 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15502 if (!SWIG_IsOK(res1
)) {
15503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15505 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15506 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15507 if (!SWIG_IsOK(res2
)) {
15508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15510 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15512 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15513 if (!SWIG_IsOK(ecode3
)) {
15514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15516 arg3
= static_cast< int >(val3
);
15520 arg4
= wxString_in_helper(obj3
);
15521 if (arg4
== NULL
) SWIG_fail
;
15528 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15534 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15538 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15539 if (!SWIG_IsOK(ecode7
)) {
15540 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15542 arg7
= static_cast< long >(val7
);
15545 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15546 if (!SWIG_IsOK(ecode8
)) {
15547 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15549 arg8
= static_cast< int >(val8
);
15552 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15553 if (!SWIG_IsOK(ecode9
)) {
15554 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15556 arg9
= static_cast< int >(val9
);
15559 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15560 if (!SWIG_IsOK(ecode10
)) {
15561 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15563 arg10
= static_cast< int >(val10
);
15567 arg11
= wxString_in_helper(obj10
);
15568 if (arg11
== NULL
) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15575 wxPyEndAllowThreads(__tstate
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15603 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15604 PyObject
*resultobj
= 0;
15605 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15609 PyObject
*swig_obj
[1] ;
15611 if (!args
) SWIG_fail
;
15612 swig_obj
[0] = args
;
15613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15614 if (!SWIG_IsOK(res1
)) {
15615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15617 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= SWIG_From_int(static_cast< int >(result
));
15631 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
= 0;
15633 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15639 PyObject
* obj0
= 0 ;
15640 PyObject
* obj1
= 0 ;
15641 char * kwnames
[] = {
15642 (char *) "self",(char *) "value", NULL
15645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15647 if (!SWIG_IsOK(res1
)) {
15648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15650 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15652 if (!SWIG_IsOK(ecode2
)) {
15653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15655 arg2
= static_cast< int >(val2
);
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 (arg1
)->SetValue(arg2
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 resultobj
= SWIG_Py_Void();
15669 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
= 0;
15671 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15672 wxString
*arg2
= 0 ;
15675 bool temp2
= false ;
15676 PyObject
* obj0
= 0 ;
15677 PyObject
* obj1
= 0 ;
15678 char * kwnames
[] = {
15679 (char *) "self",(char *) "text", NULL
15682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15684 if (!SWIG_IsOK(res1
)) {
15685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15687 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15689 arg2
= wxString_in_helper(obj1
);
15690 if (arg2
== NULL
) SWIG_fail
;
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 (arg1
)->SetValue((wxString
const &)*arg2
);
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_Py_Void();
15714 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
= 0;
15716 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15725 PyObject
* obj0
= 0 ;
15726 PyObject
* obj1
= 0 ;
15727 PyObject
* obj2
= 0 ;
15728 char * kwnames
[] = {
15729 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15734 if (!SWIG_IsOK(res1
)) {
15735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15737 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15739 if (!SWIG_IsOK(ecode2
)) {
15740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15742 arg2
= static_cast< int >(val2
);
15743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15744 if (!SWIG_IsOK(ecode3
)) {
15745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15747 arg3
= static_cast< int >(val3
);
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 (arg1
)->SetRange(arg2
,arg3
);
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= SWIG_Py_Void();
15761 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15762 PyObject
*resultobj
= 0;
15763 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15767 PyObject
*swig_obj
[1] ;
15769 if (!args
) SWIG_fail
;
15770 swig_obj
[0] = args
;
15771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15772 if (!SWIG_IsOK(res1
)) {
15773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15775 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15778 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= SWIG_From_int(static_cast< int >(result
));
15789 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15790 PyObject
*resultobj
= 0;
15791 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15795 PyObject
*swig_obj
[1] ;
15797 if (!args
) SWIG_fail
;
15798 swig_obj
[0] = args
;
15799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15800 if (!SWIG_IsOK(res1
)) {
15801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15803 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= SWIG_From_int(static_cast< int >(result
));
15817 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
= 0;
15819 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15828 PyObject
* obj0
= 0 ;
15829 PyObject
* obj1
= 0 ;
15830 PyObject
* obj2
= 0 ;
15831 char * kwnames
[] = {
15832 (char *) "self",(char *) "from",(char *) "to", NULL
15835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15837 if (!SWIG_IsOK(res1
)) {
15838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15840 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15841 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15842 if (!SWIG_IsOK(ecode2
)) {
15843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15845 arg2
= static_cast< long >(val2
);
15846 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15847 if (!SWIG_IsOK(ecode3
)) {
15848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15850 arg3
= static_cast< long >(val3
);
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 (arg1
)->SetSelection(arg2
,arg3
);
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= SWIG_Py_Void();
15864 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
= 0;
15866 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15867 SwigValueWrapper
<wxVisualAttributes
> result
;
15870 PyObject
* obj0
= 0 ;
15871 char * kwnames
[] = {
15872 (char *) "variant", NULL
15875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15877 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15878 if (!SWIG_IsOK(ecode1
)) {
15879 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15881 arg1
= static_cast< wxWindowVariant
>(val1
);
15884 if (!wxPyCheckForApp()) SWIG_fail
;
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15890 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15897 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15900 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15901 return SWIG_Py_Void();
15904 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15905 return SWIG_Python_InitShadowInstance(args
);
15908 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
= 0;
15910 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15911 int arg2
= (int) 0 ;
15912 wxSpinEvent
*result
= 0 ;
15917 PyObject
* obj0
= 0 ;
15918 PyObject
* obj1
= 0 ;
15919 char * kwnames
[] = {
15920 (char *) "commandType",(char *) "winid", NULL
15923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15925 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15926 if (!SWIG_IsOK(ecode1
)) {
15927 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15929 arg1
= static_cast< wxEventType
>(val1
);
15932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15933 if (!SWIG_IsOK(ecode2
)) {
15934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15936 arg2
= static_cast< int >(val2
);
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15951 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15952 PyObject
*resultobj
= 0;
15953 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15957 PyObject
*swig_obj
[1] ;
15959 if (!args
) SWIG_fail
;
15960 swig_obj
[0] = args
;
15961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15962 if (!SWIG_IsOK(res1
)) {
15963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15965 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15969 wxPyEndAllowThreads(__tstate
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= SWIG_From_int(static_cast< int >(result
));
15979 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
= 0;
15981 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 char * kwnames
[] = {
15990 (char *) "self",(char *) "pos", NULL
15993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15995 if (!SWIG_IsOK(res1
)) {
15996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15998 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16000 if (!SWIG_IsOK(ecode2
)) {
16001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16003 arg2
= static_cast< int >(val2
);
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 (arg1
)->SetPosition(arg2
);
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 resultobj
= SWIG_Py_Void();
16017 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16020 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16021 return SWIG_Py_Void();
16024 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16025 return SWIG_Python_InitShadowInstance(args
);
16028 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16029 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16034 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16035 PyObject
*pyobj
= 0;
16039 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16041 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16048 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16049 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16054 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16055 PyObject
*pyobj
= 0;
16059 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16061 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16068 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
= 0;
16070 wxWindow
*arg1
= (wxWindow
*) 0 ;
16071 int arg2
= (int) -1 ;
16072 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16073 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16074 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16075 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16076 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16077 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16078 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16079 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16080 int arg7
= (int) 0 ;
16081 long arg8
= (long) wxRA_HORIZONTAL
;
16082 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16083 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16084 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16085 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16086 wxRadioBox
*result
= 0 ;
16091 bool temp3
= false ;
16094 bool temp6
= false ;
16101 bool temp10
= false ;
16102 PyObject
* obj0
= 0 ;
16103 PyObject
* obj1
= 0 ;
16104 PyObject
* obj2
= 0 ;
16105 PyObject
* obj3
= 0 ;
16106 PyObject
* obj4
= 0 ;
16107 PyObject
* obj5
= 0 ;
16108 PyObject
* obj6
= 0 ;
16109 PyObject
* obj7
= 0 ;
16110 PyObject
* obj8
= 0 ;
16111 PyObject
* obj9
= 0 ;
16112 char * kwnames
[] = {
16113 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16118 if (!SWIG_IsOK(res1
)) {
16119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16121 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16124 if (!SWIG_IsOK(ecode2
)) {
16125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16127 arg2
= static_cast< int >(val2
);
16131 arg3
= wxString_in_helper(obj2
);
16132 if (arg3
== NULL
) SWIG_fail
;
16139 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16145 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16150 if (! PySequence_Check(obj5
)) {
16151 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16154 arg6
= new wxArrayString
;
16156 int i
, len
=PySequence_Length(obj5
);
16157 for (i
=0; i
<len
; i
++) {
16158 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16159 wxString
* s
= wxString_in_helper(item
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16168 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16169 if (!SWIG_IsOK(ecode7
)) {
16170 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16172 arg7
= static_cast< int >(val7
);
16175 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16176 if (!SWIG_IsOK(ecode8
)) {
16177 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16179 arg8
= static_cast< long >(val8
);
16182 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16183 if (!SWIG_IsOK(res9
)) {
16184 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16189 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16193 arg10
= wxString_in_helper(obj9
);
16194 if (arg10
== NULL
) SWIG_fail
;
16199 if (!wxPyCheckForApp()) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 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
);
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16211 if (temp6
) delete arg6
;
16224 if (temp6
) delete arg6
;
16234 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16235 PyObject
*resultobj
= 0;
16236 wxRadioBox
*result
= 0 ;
16238 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16240 if (!wxPyCheckForApp()) SWIG_fail
;
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 result
= (wxRadioBox
*)new wxRadioBox();
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16253 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
= 0;
16255 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16256 wxWindow
*arg2
= (wxWindow
*) 0 ;
16257 int arg3
= (int) -1 ;
16258 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16259 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16260 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16261 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16262 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16263 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16264 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16265 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16266 int arg8
= (int) 0 ;
16267 long arg9
= (long) wxRA_HORIZONTAL
;
16268 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16269 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16270 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16271 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16279 bool temp4
= false ;
16282 bool temp7
= false ;
16289 bool temp11
= false ;
16290 PyObject
* obj0
= 0 ;
16291 PyObject
* obj1
= 0 ;
16292 PyObject
* obj2
= 0 ;
16293 PyObject
* obj3
= 0 ;
16294 PyObject
* obj4
= 0 ;
16295 PyObject
* obj5
= 0 ;
16296 PyObject
* obj6
= 0 ;
16297 PyObject
* obj7
= 0 ;
16298 PyObject
* obj8
= 0 ;
16299 PyObject
* obj9
= 0 ;
16300 PyObject
* obj10
= 0 ;
16301 char * kwnames
[] = {
16302 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16307 if (!SWIG_IsOK(res1
)) {
16308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16310 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16311 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16312 if (!SWIG_IsOK(res2
)) {
16313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16315 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16317 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16318 if (!SWIG_IsOK(ecode3
)) {
16319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16321 arg3
= static_cast< int >(val3
);
16325 arg4
= wxString_in_helper(obj3
);
16326 if (arg4
== NULL
) SWIG_fail
;
16333 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16339 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16344 if (! PySequence_Check(obj6
)) {
16345 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16348 arg7
= new wxArrayString
;
16350 int i
, len
=PySequence_Length(obj6
);
16351 for (i
=0; i
<len
; i
++) {
16352 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16353 wxString
* s
= wxString_in_helper(item
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16362 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16363 if (!SWIG_IsOK(ecode8
)) {
16364 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16366 arg8
= static_cast< int >(val8
);
16369 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16370 if (!SWIG_IsOK(ecode9
)) {
16371 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16373 arg9
= static_cast< long >(val9
);
16376 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16377 if (!SWIG_IsOK(res10
)) {
16378 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16383 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16387 arg11
= wxString_in_helper(obj10
);
16388 if (arg11
== NULL
) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 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
);
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16406 if (temp7
) delete arg7
;
16419 if (temp7
) delete arg7
;
16429 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
= 0;
16431 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16437 PyObject
* obj0
= 0 ;
16438 PyObject
* obj1
= 0 ;
16439 char * kwnames
[] = {
16440 (char *) "self",(char *) "n", NULL
16443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16445 if (!SWIG_IsOK(res1
)) {
16446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16448 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16450 if (!SWIG_IsOK(ecode2
)) {
16451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16453 arg2
= static_cast< int >(val2
);
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 (arg1
)->SetSelection(arg2
);
16457 wxPyEndAllowThreads(__tstate
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16460 resultobj
= SWIG_Py_Void();
16467 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16468 PyObject
*resultobj
= 0;
16469 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16473 PyObject
*swig_obj
[1] ;
16475 if (!args
) SWIG_fail
;
16476 swig_obj
[0] = args
;
16477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16478 if (!SWIG_IsOK(res1
)) {
16479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16481 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= SWIG_From_int(static_cast< int >(result
));
16495 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16496 PyObject
*resultobj
= 0;
16497 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16501 PyObject
*swig_obj
[1] ;
16503 if (!args
) SWIG_fail
;
16504 swig_obj
[0] = args
;
16505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16506 if (!SWIG_IsOK(res1
)) {
16507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16509 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16529 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
= 0;
16531 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16532 wxString
*arg2
= 0 ;
16536 bool temp2
= false ;
16537 PyObject
* obj0
= 0 ;
16538 PyObject
* obj1
= 0 ;
16539 char * kwnames
[] = {
16540 (char *) "self",(char *) "s", NULL
16543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16545 if (!SWIG_IsOK(res1
)) {
16546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16548 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16550 arg2
= wxString_in_helper(obj1
);
16551 if (arg2
== NULL
) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16577 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16578 PyObject
*resultobj
= 0;
16579 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16583 PyObject
*swig_obj
[1] ;
16585 if (!args
) SWIG_fail
;
16586 swig_obj
[0] = args
;
16587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16588 if (!SWIG_IsOK(res1
)) {
16589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16591 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16594 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16605 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
= 0;
16607 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16608 wxString
*arg2
= 0 ;
16612 bool temp2
= false ;
16613 PyObject
* obj0
= 0 ;
16614 PyObject
* obj1
= 0 ;
16615 char * kwnames
[] = {
16616 (char *) "self",(char *) "s", NULL
16619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16621 if (!SWIG_IsOK(res1
)) {
16622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16624 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16626 arg2
= wxString_in_helper(obj1
);
16627 if (arg2
== NULL
) SWIG_fail
;
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16636 resultobj
= SWIG_From_int(static_cast< int >(result
));
16651 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
= 0;
16653 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 PyObject
* obj1
= 0 ;
16662 char * kwnames
[] = {
16663 (char *) "self",(char *) "n", NULL
16666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16668 if (!SWIG_IsOK(res1
)) {
16669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16671 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16673 if (!SWIG_IsOK(ecode2
)) {
16674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16676 arg2
= static_cast< int >(val2
);
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16696 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
= 0;
16698 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16700 wxString
*arg3
= 0 ;
16705 bool temp3
= false ;
16706 PyObject
* obj0
= 0 ;
16707 PyObject
* obj1
= 0 ;
16708 PyObject
* obj2
= 0 ;
16709 char * kwnames
[] = {
16710 (char *) "self",(char *) "n",(char *) "label", NULL
16713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16715 if (!SWIG_IsOK(res1
)) {
16716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16718 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16720 if (!SWIG_IsOK(ecode2
)) {
16721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16723 arg2
= static_cast< int >(val2
);
16725 arg3
= wxString_in_helper(obj2
);
16726 if (arg3
== NULL
) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= SWIG_Py_Void();
16750 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
= 0;
16752 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16753 unsigned int arg2
;
16754 bool arg3
= (bool) true ;
16757 unsigned int val2
;
16761 PyObject
* obj0
= 0 ;
16762 PyObject
* obj1
= 0 ;
16763 PyObject
* obj2
= 0 ;
16764 char * kwnames
[] = {
16765 (char *) "self",(char *) "n",(char *) "enable", NULL
16768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16770 if (!SWIG_IsOK(res1
)) {
16771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16773 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16774 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16775 if (!SWIG_IsOK(ecode2
)) {
16776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16778 arg2
= static_cast< unsigned int >(val2
);
16780 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16781 if (!SWIG_IsOK(ecode3
)) {
16782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16784 arg3
= static_cast< bool >(val3
);
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 (arg1
)->Enable(arg2
,arg3
);
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= SWIG_Py_Void();
16799 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
= 0;
16801 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16802 unsigned int arg2
;
16803 bool arg3
= (bool) true ;
16806 unsigned int val2
;
16810 PyObject
* obj0
= 0 ;
16811 PyObject
* obj1
= 0 ;
16812 PyObject
* obj2
= 0 ;
16813 char * kwnames
[] = {
16814 (char *) "self",(char *) "n",(char *) "show", NULL
16817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16819 if (!SWIG_IsOK(res1
)) {
16820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16822 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16823 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16824 if (!SWIG_IsOK(ecode2
)) {
16825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16827 arg2
= static_cast< unsigned int >(val2
);
16829 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16830 if (!SWIG_IsOK(ecode3
)) {
16831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16833 arg3
= static_cast< bool >(val3
);
16836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16837 (arg1
)->Show(arg2
,arg3
);
16838 wxPyEndAllowThreads(__tstate
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16841 resultobj
= SWIG_Py_Void();
16848 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
= 0;
16850 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16851 unsigned int arg2
;
16855 unsigned int val2
;
16857 PyObject
* obj0
= 0 ;
16858 PyObject
* obj1
= 0 ;
16859 char * kwnames
[] = {
16860 (char *) "self",(char *) "n", NULL
16863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16865 if (!SWIG_IsOK(res1
)) {
16866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16868 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16869 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16870 if (!SWIG_IsOK(ecode2
)) {
16871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16873 arg2
= static_cast< unsigned int >(val2
);
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16889 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
= 0;
16891 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16892 unsigned int arg2
;
16896 unsigned int val2
;
16898 PyObject
* obj0
= 0 ;
16899 PyObject
* obj1
= 0 ;
16900 char * kwnames
[] = {
16901 (char *) "self",(char *) "n", NULL
16904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16906 if (!SWIG_IsOK(res1
)) {
16907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16909 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16910 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16911 if (!SWIG_IsOK(ecode2
)) {
16912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16914 arg2
= static_cast< unsigned int >(val2
);
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16930 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16931 PyObject
*resultobj
= 0;
16932 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16933 unsigned int result
;
16936 PyObject
*swig_obj
[1] ;
16938 if (!args
) SWIG_fail
;
16939 swig_obj
[0] = args
;
16940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16941 if (!SWIG_IsOK(res1
)) {
16942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16944 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16958 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16959 PyObject
*resultobj
= 0;
16960 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16961 unsigned int result
;
16964 PyObject
*swig_obj
[1] ;
16966 if (!args
) SWIG_fail
;
16967 swig_obj
[0] = args
;
16968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16969 if (!SWIG_IsOK(res1
)) {
16970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16972 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16986 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
= 0;
16988 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17001 PyObject
* obj0
= 0 ;
17002 PyObject
* obj1
= 0 ;
17003 PyObject
* obj2
= 0 ;
17004 PyObject
* obj3
= 0 ;
17005 char * kwnames
[] = {
17006 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17011 if (!SWIG_IsOK(res1
)) {
17012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17014 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17016 if (!SWIG_IsOK(ecode2
)) {
17017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17019 arg2
= static_cast< int >(val2
);
17020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17021 if (!SWIG_IsOK(ecode3
)) {
17022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17024 arg3
= static_cast< wxDirection
>(val3
);
17025 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17026 if (!SWIG_IsOK(ecode4
)) {
17027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17029 arg4
= static_cast< long >(val4
);
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17036 resultobj
= SWIG_From_int(static_cast< int >(result
));
17043 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17044 PyObject
*resultobj
= 0;
17045 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17046 unsigned int arg2
;
17047 wxString
*arg3
= 0 ;
17050 unsigned int val2
;
17052 bool temp3
= false ;
17053 PyObject
* obj0
= 0 ;
17054 PyObject
* obj1
= 0 ;
17055 PyObject
* obj2
= 0 ;
17056 char * kwnames
[] = {
17057 (char *) "self",(char *) "item",(char *) "text", NULL
17060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17062 if (!SWIG_IsOK(res1
)) {
17063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17065 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17066 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17067 if (!SWIG_IsOK(ecode2
)) {
17068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17070 arg2
= static_cast< unsigned int >(val2
);
17072 arg3
= wxString_in_helper(obj2
);
17073 if (arg3
== NULL
) SWIG_fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= SWIG_Py_Void();
17097 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
= 0;
17099 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17100 unsigned int arg2
;
17101 wxToolTip
*result
= 0 ;
17104 unsigned int val2
;
17106 PyObject
* obj0
= 0 ;
17107 PyObject
* obj1
= 0 ;
17108 char * kwnames
[] = {
17109 (char *) "self",(char *) "item", NULL
17112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17114 if (!SWIG_IsOK(res1
)) {
17115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17117 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17118 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17119 if (!SWIG_IsOK(ecode2
)) {
17120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17122 arg2
= static_cast< unsigned int >(val2
);
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17130 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17138 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17139 PyObject
*resultobj
= 0;
17140 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17141 unsigned int arg2
;
17142 wxString
*arg3
= 0 ;
17145 unsigned int val2
;
17147 bool temp3
= false ;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 PyObject
* obj2
= 0 ;
17151 char * kwnames
[] = {
17152 (char *) "self",(char *) "n",(char *) "helpText", NULL
17155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17157 if (!SWIG_IsOK(res1
)) {
17158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17160 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17161 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17162 if (!SWIG_IsOK(ecode2
)) {
17163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17165 arg2
= static_cast< unsigned int >(val2
);
17167 arg3
= wxString_in_helper(obj2
);
17168 if (arg3
== NULL
) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= SWIG_Py_Void();
17192 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
= 0;
17194 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17195 unsigned int arg2
;
17199 unsigned int val2
;
17201 PyObject
* obj0
= 0 ;
17202 PyObject
* obj1
= 0 ;
17203 char * kwnames
[] = {
17204 (char *) "self",(char *) "n", NULL
17207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17209 if (!SWIG_IsOK(res1
)) {
17210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17212 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17213 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17214 if (!SWIG_IsOK(ecode2
)) {
17215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17217 arg2
= static_cast< unsigned int >(val2
);
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17237 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
= 0;
17239 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17240 SwigValueWrapper
<wxVisualAttributes
> result
;
17243 PyObject
* obj0
= 0 ;
17244 char * kwnames
[] = {
17245 (char *) "variant", NULL
17248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17250 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17251 if (!SWIG_IsOK(ecode1
)) {
17252 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17254 arg1
= static_cast< wxWindowVariant
>(val1
);
17257 if (!wxPyCheckForApp()) SWIG_fail
;
17258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17259 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17260 wxPyEndAllowThreads(__tstate
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17263 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17270 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17273 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17274 return SWIG_Py_Void();
17277 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17278 return SWIG_Python_InitShadowInstance(args
);
17281 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
= 0;
17283 wxWindow
*arg1
= (wxWindow
*) 0 ;
17284 int arg2
= (int) -1 ;
17285 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17286 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17287 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17288 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17289 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17290 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17291 long arg6
= (long) 0 ;
17292 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17293 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17294 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17295 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17296 wxRadioButton
*result
= 0 ;
17301 bool temp3
= false ;
17308 bool temp8
= false ;
17309 PyObject
* obj0
= 0 ;
17310 PyObject
* obj1
= 0 ;
17311 PyObject
* obj2
= 0 ;
17312 PyObject
* obj3
= 0 ;
17313 PyObject
* obj4
= 0 ;
17314 PyObject
* obj5
= 0 ;
17315 PyObject
* obj6
= 0 ;
17316 PyObject
* obj7
= 0 ;
17317 char * kwnames
[] = {
17318 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17323 if (!SWIG_IsOK(res1
)) {
17324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17326 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17329 if (!SWIG_IsOK(ecode2
)) {
17330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17332 arg2
= static_cast< int >(val2
);
17336 arg3
= wxString_in_helper(obj2
);
17337 if (arg3
== NULL
) SWIG_fail
;
17344 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17350 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17354 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17355 if (!SWIG_IsOK(ecode6
)) {
17356 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17358 arg6
= static_cast< long >(val6
);
17361 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17362 if (!SWIG_IsOK(res7
)) {
17363 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17368 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17372 arg8
= wxString_in_helper(obj7
);
17373 if (arg8
== NULL
) SWIG_fail
;
17378 if (!wxPyCheckForApp()) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17381 wxPyEndAllowThreads(__tstate
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17407 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17408 PyObject
*resultobj
= 0;
17409 wxRadioButton
*result
= 0 ;
17411 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17413 if (!wxPyCheckForApp()) SWIG_fail
;
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 result
= (wxRadioButton
*)new wxRadioButton();
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17426 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17427 PyObject
*resultobj
= 0;
17428 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17429 wxWindow
*arg2
= (wxWindow
*) 0 ;
17430 int arg3
= (int) -1 ;
17431 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17432 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17433 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17434 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17435 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17436 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17437 long arg7
= (long) 0 ;
17438 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17439 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17440 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17441 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17449 bool temp4
= false ;
17456 bool temp9
= false ;
17457 PyObject
* obj0
= 0 ;
17458 PyObject
* obj1
= 0 ;
17459 PyObject
* obj2
= 0 ;
17460 PyObject
* obj3
= 0 ;
17461 PyObject
* obj4
= 0 ;
17462 PyObject
* obj5
= 0 ;
17463 PyObject
* obj6
= 0 ;
17464 PyObject
* obj7
= 0 ;
17465 PyObject
* obj8
= 0 ;
17466 char * kwnames
[] = {
17467 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17472 if (!SWIG_IsOK(res1
)) {
17473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17475 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17476 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17477 if (!SWIG_IsOK(res2
)) {
17478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17480 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17482 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17483 if (!SWIG_IsOK(ecode3
)) {
17484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17486 arg3
= static_cast< int >(val3
);
17490 arg4
= wxString_in_helper(obj3
);
17491 if (arg4
== NULL
) SWIG_fail
;
17498 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17504 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17508 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17509 if (!SWIG_IsOK(ecode7
)) {
17510 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17512 arg7
= static_cast< long >(val7
);
17515 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17516 if (!SWIG_IsOK(res8
)) {
17517 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17522 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17526 arg9
= wxString_in_helper(obj8
);
17527 if (arg9
== NULL
) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17562 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17563 PyObject
*resultobj
= 0;
17564 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17568 PyObject
*swig_obj
[1] ;
17570 if (!args
) SWIG_fail
;
17571 swig_obj
[0] = args
;
17572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17573 if (!SWIG_IsOK(res1
)) {
17574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17576 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= (bool)(arg1
)->GetValue();
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17592 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
= 0;
17594 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17600 PyObject
* obj0
= 0 ;
17601 PyObject
* obj1
= 0 ;
17602 char * kwnames
[] = {
17603 (char *) "self",(char *) "value", NULL
17606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17608 if (!SWIG_IsOK(res1
)) {
17609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17611 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17612 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17613 if (!SWIG_IsOK(ecode2
)) {
17614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17616 arg2
= static_cast< bool >(val2
);
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 (arg1
)->SetValue(arg2
);
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17623 resultobj
= SWIG_Py_Void();
17630 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
= 0;
17632 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17633 SwigValueWrapper
<wxVisualAttributes
> result
;
17636 PyObject
* obj0
= 0 ;
17637 char * kwnames
[] = {
17638 (char *) "variant", NULL
17641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17643 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17644 if (!SWIG_IsOK(ecode1
)) {
17645 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17647 arg1
= static_cast< wxWindowVariant
>(val1
);
17650 if (!wxPyCheckForApp()) SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17653 wxPyEndAllowThreads(__tstate
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17663 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17666 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17667 return SWIG_Py_Void();
17670 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17671 return SWIG_Python_InitShadowInstance(args
);
17674 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17675 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17680 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17681 PyObject
*pyobj
= 0;
17685 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17687 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17694 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
= 0;
17696 wxWindow
*arg1
= (wxWindow
*) 0 ;
17697 int arg2
= (int) -1 ;
17698 int arg3
= (int) 0 ;
17699 int arg4
= (int) 0 ;
17700 int arg5
= (int) 100 ;
17701 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17702 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17703 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17704 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17705 long arg8
= (long) wxSL_HORIZONTAL
;
17706 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17707 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17708 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17709 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17710 wxSlider
*result
= 0 ;
17727 bool temp10
= false ;
17728 PyObject
* obj0
= 0 ;
17729 PyObject
* obj1
= 0 ;
17730 PyObject
* obj2
= 0 ;
17731 PyObject
* obj3
= 0 ;
17732 PyObject
* obj4
= 0 ;
17733 PyObject
* obj5
= 0 ;
17734 PyObject
* obj6
= 0 ;
17735 PyObject
* obj7
= 0 ;
17736 PyObject
* obj8
= 0 ;
17737 PyObject
* obj9
= 0 ;
17738 char * kwnames
[] = {
17739 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17744 if (!SWIG_IsOK(res1
)) {
17745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17747 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17750 if (!SWIG_IsOK(ecode2
)) {
17751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17753 arg2
= static_cast< int >(val2
);
17756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17757 if (!SWIG_IsOK(ecode3
)) {
17758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17760 arg3
= static_cast< int >(val3
);
17763 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17764 if (!SWIG_IsOK(ecode4
)) {
17765 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17767 arg4
= static_cast< int >(val4
);
17770 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17771 if (!SWIG_IsOK(ecode5
)) {
17772 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17774 arg5
= static_cast< int >(val5
);
17779 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17785 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17789 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17790 if (!SWIG_IsOK(ecode8
)) {
17791 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17793 arg8
= static_cast< long >(val8
);
17796 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17797 if (!SWIG_IsOK(res9
)) {
17798 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17803 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17807 arg10
= wxString_in_helper(obj9
);
17808 if (arg10
== NULL
) SWIG_fail
;
17813 if (!wxPyCheckForApp()) SWIG_fail
;
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17834 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17835 PyObject
*resultobj
= 0;
17836 wxSlider
*result
= 0 ;
17838 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17840 if (!wxPyCheckForApp()) SWIG_fail
;
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 result
= (wxSlider
*)new wxSlider();
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17853 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
= 0;
17855 wxSlider
*arg1
= (wxSlider
*) 0 ;
17856 wxWindow
*arg2
= (wxWindow
*) 0 ;
17857 int arg3
= (int) -1 ;
17858 int arg4
= (int) 0 ;
17859 int arg5
= (int) 0 ;
17860 int arg6
= (int) 100 ;
17861 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17862 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17863 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17864 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17865 long arg9
= (long) wxSL_HORIZONTAL
;
17866 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17867 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17868 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17869 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17889 bool temp11
= false ;
17890 PyObject
* obj0
= 0 ;
17891 PyObject
* obj1
= 0 ;
17892 PyObject
* obj2
= 0 ;
17893 PyObject
* obj3
= 0 ;
17894 PyObject
* obj4
= 0 ;
17895 PyObject
* obj5
= 0 ;
17896 PyObject
* obj6
= 0 ;
17897 PyObject
* obj7
= 0 ;
17898 PyObject
* obj8
= 0 ;
17899 PyObject
* obj9
= 0 ;
17900 PyObject
* obj10
= 0 ;
17901 char * kwnames
[] = {
17902 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17907 if (!SWIG_IsOK(res1
)) {
17908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17910 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17911 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17912 if (!SWIG_IsOK(res2
)) {
17913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17915 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17918 if (!SWIG_IsOK(ecode3
)) {
17919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17921 arg3
= static_cast< int >(val3
);
17924 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17925 if (!SWIG_IsOK(ecode4
)) {
17926 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17928 arg4
= static_cast< int >(val4
);
17931 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17932 if (!SWIG_IsOK(ecode5
)) {
17933 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17935 arg5
= static_cast< int >(val5
);
17938 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17939 if (!SWIG_IsOK(ecode6
)) {
17940 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17942 arg6
= static_cast< int >(val6
);
17947 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17953 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17957 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17958 if (!SWIG_IsOK(ecode9
)) {
17959 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17961 arg9
= static_cast< long >(val9
);
17964 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17965 if (!SWIG_IsOK(res10
)) {
17966 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17971 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17975 arg11
= wxString_in_helper(obj10
);
17976 if (arg11
== NULL
) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18003 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18004 PyObject
*resultobj
= 0;
18005 wxSlider
*arg1
= (wxSlider
*) 0 ;
18009 PyObject
*swig_obj
[1] ;
18011 if (!args
) SWIG_fail
;
18012 swig_obj
[0] = args
;
18013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18014 if (!SWIG_IsOK(res1
)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18017 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 resultobj
= SWIG_From_int(static_cast< int >(result
));
18031 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
= 0;
18033 wxSlider
*arg1
= (wxSlider
*) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 PyObject
* obj1
= 0 ;
18041 char * kwnames
[] = {
18042 (char *) "self",(char *) "value", NULL
18045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18047 if (!SWIG_IsOK(res1
)) {
18048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18050 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18052 if (!SWIG_IsOK(ecode2
)) {
18053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18055 arg2
= static_cast< int >(val2
);
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 (arg1
)->SetValue(arg2
);
18059 wxPyEndAllowThreads(__tstate
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18062 resultobj
= SWIG_Py_Void();
18069 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18070 PyObject
*resultobj
= 0;
18071 wxSlider
*arg1
= (wxSlider
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 PyObject
* obj1
= 0 ;
18082 PyObject
* obj2
= 0 ;
18083 char * kwnames
[] = {
18084 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18089 if (!SWIG_IsOK(res1
)) {
18090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18092 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18094 if (!SWIG_IsOK(ecode2
)) {
18095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18097 arg2
= static_cast< int >(val2
);
18098 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18099 if (!SWIG_IsOK(ecode3
)) {
18100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18102 arg3
= static_cast< int >(val3
);
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 (arg1
)->SetRange(arg2
,arg3
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 resultobj
= SWIG_Py_Void();
18116 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18117 PyObject
*resultobj
= 0;
18118 wxSlider
*arg1
= (wxSlider
*) 0 ;
18122 PyObject
*swig_obj
[1] ;
18124 if (!args
) SWIG_fail
;
18125 swig_obj
[0] = args
;
18126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18127 if (!SWIG_IsOK(res1
)) {
18128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18130 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= SWIG_From_int(static_cast< int >(result
));
18144 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18145 PyObject
*resultobj
= 0;
18146 wxSlider
*arg1
= (wxSlider
*) 0 ;
18150 PyObject
*swig_obj
[1] ;
18152 if (!args
) SWIG_fail
;
18153 swig_obj
[0] = args
;
18154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18155 if (!SWIG_IsOK(res1
)) {
18156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18158 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= SWIG_From_int(static_cast< int >(result
));
18172 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
= 0;
18174 wxSlider
*arg1
= (wxSlider
*) 0 ;
18180 PyObject
* obj0
= 0 ;
18181 PyObject
* obj1
= 0 ;
18182 char * kwnames
[] = {
18183 (char *) "self",(char *) "minValue", NULL
18186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18188 if (!SWIG_IsOK(res1
)) {
18189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18191 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18193 if (!SWIG_IsOK(ecode2
)) {
18194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18196 arg2
= static_cast< int >(val2
);
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 (arg1
)->SetMin(arg2
);
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 resultobj
= SWIG_Py_Void();
18210 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
= 0;
18212 wxSlider
*arg1
= (wxSlider
*) 0 ;
18218 PyObject
* obj0
= 0 ;
18219 PyObject
* obj1
= 0 ;
18220 char * kwnames
[] = {
18221 (char *) "self",(char *) "maxValue", NULL
18224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18226 if (!SWIG_IsOK(res1
)) {
18227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18229 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18231 if (!SWIG_IsOK(ecode2
)) {
18232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18234 arg2
= static_cast< int >(val2
);
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 (arg1
)->SetMax(arg2
);
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 resultobj
= SWIG_Py_Void();
18248 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18249 PyObject
*resultobj
= 0;
18250 wxSlider
*arg1
= (wxSlider
*) 0 ;
18256 PyObject
* obj0
= 0 ;
18257 PyObject
* obj1
= 0 ;
18258 char * kwnames
[] = {
18259 (char *) "self",(char *) "lineSize", NULL
18262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18264 if (!SWIG_IsOK(res1
)) {
18265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18267 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18269 if (!SWIG_IsOK(ecode2
)) {
18270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18272 arg2
= static_cast< int >(val2
);
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 (arg1
)->SetLineSize(arg2
);
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18279 resultobj
= SWIG_Py_Void();
18286 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
= 0;
18288 wxSlider
*arg1
= (wxSlider
*) 0 ;
18294 PyObject
* obj0
= 0 ;
18295 PyObject
* obj1
= 0 ;
18296 char * kwnames
[] = {
18297 (char *) "self",(char *) "pageSize", NULL
18300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18302 if (!SWIG_IsOK(res1
)) {
18303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18305 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18307 if (!SWIG_IsOK(ecode2
)) {
18308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18310 arg2
= static_cast< int >(val2
);
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 (arg1
)->SetPageSize(arg2
);
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= SWIG_Py_Void();
18324 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18325 PyObject
*resultobj
= 0;
18326 wxSlider
*arg1
= (wxSlider
*) 0 ;
18330 PyObject
*swig_obj
[1] ;
18332 if (!args
) SWIG_fail
;
18333 swig_obj
[0] = args
;
18334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18335 if (!SWIG_IsOK(res1
)) {
18336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18338 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 resultobj
= SWIG_From_int(static_cast< int >(result
));
18352 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18353 PyObject
*resultobj
= 0;
18354 wxSlider
*arg1
= (wxSlider
*) 0 ;
18358 PyObject
*swig_obj
[1] ;
18360 if (!args
) SWIG_fail
;
18361 swig_obj
[0] = args
;
18362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18363 if (!SWIG_IsOK(res1
)) {
18364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18366 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18369 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18370 wxPyEndAllowThreads(__tstate
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18373 resultobj
= SWIG_From_int(static_cast< int >(result
));
18380 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18381 PyObject
*resultobj
= 0;
18382 wxSlider
*arg1
= (wxSlider
*) 0 ;
18388 PyObject
* obj0
= 0 ;
18389 PyObject
* obj1
= 0 ;
18390 char * kwnames
[] = {
18391 (char *) "self",(char *) "lenPixels", NULL
18394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18396 if (!SWIG_IsOK(res1
)) {
18397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18399 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18401 if (!SWIG_IsOK(ecode2
)) {
18402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18404 arg2
= static_cast< int >(val2
);
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 (arg1
)->SetThumbLength(arg2
);
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= SWIG_Py_Void();
18418 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18419 PyObject
*resultobj
= 0;
18420 wxSlider
*arg1
= (wxSlider
*) 0 ;
18424 PyObject
*swig_obj
[1] ;
18426 if (!args
) SWIG_fail
;
18427 swig_obj
[0] = args
;
18428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18429 if (!SWIG_IsOK(res1
)) {
18430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18432 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18435 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= SWIG_From_int(static_cast< int >(result
));
18446 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
= 0;
18448 wxSlider
*arg1
= (wxSlider
*) 0 ;
18450 int arg3
= (int) 1 ;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 PyObject
* obj2
= 0 ;
18460 char * kwnames
[] = {
18461 (char *) "self",(char *) "n",(char *) "pos", NULL
18464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18466 if (!SWIG_IsOK(res1
)) {
18467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18469 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18471 if (!SWIG_IsOK(ecode2
)) {
18472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18474 arg2
= static_cast< int >(val2
);
18476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18477 if (!SWIG_IsOK(ecode3
)) {
18478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18480 arg3
= static_cast< int >(val3
);
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 (arg1
)->SetTickFreq(arg2
,arg3
);
18485 wxPyEndAllowThreads(__tstate
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18488 resultobj
= SWIG_Py_Void();
18495 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18496 PyObject
*resultobj
= 0;
18497 wxSlider
*arg1
= (wxSlider
*) 0 ;
18501 PyObject
*swig_obj
[1] ;
18503 if (!args
) SWIG_fail
;
18504 swig_obj
[0] = args
;
18505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18506 if (!SWIG_IsOK(res1
)) {
18507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18509 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= SWIG_From_int(static_cast< int >(result
));
18523 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18524 PyObject
*resultobj
= 0;
18525 wxSlider
*arg1
= (wxSlider
*) 0 ;
18528 PyObject
*swig_obj
[1] ;
18530 if (!args
) SWIG_fail
;
18531 swig_obj
[0] = args
;
18532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18533 if (!SWIG_IsOK(res1
)) {
18534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18536 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18539 (arg1
)->ClearTicks();
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 resultobj
= SWIG_Py_Void();
18550 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
= 0;
18552 wxSlider
*arg1
= (wxSlider
*) 0 ;
18558 PyObject
* obj0
= 0 ;
18559 PyObject
* obj1
= 0 ;
18560 char * kwnames
[] = {
18561 (char *) "self",(char *) "tickPos", NULL
18564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18566 if (!SWIG_IsOK(res1
)) {
18567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18569 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18571 if (!SWIG_IsOK(ecode2
)) {
18572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18574 arg2
= static_cast< int >(val2
);
18576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18577 (arg1
)->SetTick(arg2
);
18578 wxPyEndAllowThreads(__tstate
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18581 resultobj
= SWIG_Py_Void();
18588 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18589 PyObject
*resultobj
= 0;
18590 wxSlider
*arg1
= (wxSlider
*) 0 ;
18593 PyObject
*swig_obj
[1] ;
18595 if (!args
) SWIG_fail
;
18596 swig_obj
[0] = args
;
18597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18598 if (!SWIG_IsOK(res1
)) {
18599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18601 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 (arg1
)->ClearSel();
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 resultobj
= SWIG_Py_Void();
18615 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18616 PyObject
*resultobj
= 0;
18617 wxSlider
*arg1
= (wxSlider
*) 0 ;
18621 PyObject
*swig_obj
[1] ;
18623 if (!args
) SWIG_fail
;
18624 swig_obj
[0] = args
;
18625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18626 if (!SWIG_IsOK(res1
)) {
18627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18629 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18633 wxPyEndAllowThreads(__tstate
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 resultobj
= SWIG_From_int(static_cast< int >(result
));
18643 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18644 PyObject
*resultobj
= 0;
18645 wxSlider
*arg1
= (wxSlider
*) 0 ;
18649 PyObject
*swig_obj
[1] ;
18651 if (!args
) SWIG_fail
;
18652 swig_obj
[0] = args
;
18653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18654 if (!SWIG_IsOK(res1
)) {
18655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18657 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18661 wxPyEndAllowThreads(__tstate
);
18662 if (PyErr_Occurred()) SWIG_fail
;
18664 resultobj
= SWIG_From_int(static_cast< int >(result
));
18671 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
= 0;
18673 wxSlider
*arg1
= (wxSlider
*) 0 ;
18682 PyObject
* obj0
= 0 ;
18683 PyObject
* obj1
= 0 ;
18684 PyObject
* obj2
= 0 ;
18685 char * kwnames
[] = {
18686 (char *) "self",(char *) "min",(char *) "max", NULL
18689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18691 if (!SWIG_IsOK(res1
)) {
18692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18694 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18696 if (!SWIG_IsOK(ecode2
)) {
18697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18699 arg2
= static_cast< int >(val2
);
18700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18701 if (!SWIG_IsOK(ecode3
)) {
18702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18704 arg3
= static_cast< int >(val3
);
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 (arg1
)->SetSelection(arg2
,arg3
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= SWIG_Py_Void();
18718 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
= 0;
18720 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18721 SwigValueWrapper
<wxVisualAttributes
> result
;
18724 PyObject
* obj0
= 0 ;
18725 char * kwnames
[] = {
18726 (char *) "variant", NULL
18729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18731 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18732 if (!SWIG_IsOK(ecode1
)) {
18733 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18735 arg1
= static_cast< wxWindowVariant
>(val1
);
18738 if (!wxPyCheckForApp()) SWIG_fail
;
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18751 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18753 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18754 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18755 return SWIG_Py_Void();
18758 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18759 return SWIG_Python_InitShadowInstance(args
);
18762 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18763 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18768 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18769 PyObject
*pyobj
= 0;
18773 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18775 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18782 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18783 PyObject
*resultobj
= 0;
18784 wxWindow
*arg1
= (wxWindow
*) 0 ;
18785 int arg2
= (int) -1 ;
18786 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18787 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18788 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18789 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18790 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18791 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18792 long arg6
= (long) 0 ;
18793 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18794 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18795 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18796 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18797 wxToggleButton
*result
= 0 ;
18802 bool temp3
= false ;
18809 bool temp8
= false ;
18810 PyObject
* obj0
= 0 ;
18811 PyObject
* obj1
= 0 ;
18812 PyObject
* obj2
= 0 ;
18813 PyObject
* obj3
= 0 ;
18814 PyObject
* obj4
= 0 ;
18815 PyObject
* obj5
= 0 ;
18816 PyObject
* obj6
= 0 ;
18817 PyObject
* obj7
= 0 ;
18818 char * kwnames
[] = {
18819 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18824 if (!SWIG_IsOK(res1
)) {
18825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18827 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18830 if (!SWIG_IsOK(ecode2
)) {
18831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18833 arg2
= static_cast< int >(val2
);
18837 arg3
= wxString_in_helper(obj2
);
18838 if (arg3
== NULL
) SWIG_fail
;
18845 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18851 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18855 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18856 if (!SWIG_IsOK(ecode6
)) {
18857 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18859 arg6
= static_cast< long >(val6
);
18862 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18863 if (!SWIG_IsOK(res7
)) {
18864 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18869 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18873 arg8
= wxString_in_helper(obj7
);
18874 if (arg8
== NULL
) SWIG_fail
;
18879 if (!wxPyCheckForApp()) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18882 wxPyEndAllowThreads(__tstate
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18908 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18909 PyObject
*resultobj
= 0;
18910 wxToggleButton
*result
= 0 ;
18912 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18914 if (!wxPyCheckForApp()) SWIG_fail
;
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 result
= (wxToggleButton
*)new wxToggleButton();
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18927 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
= 0;
18929 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18930 wxWindow
*arg2
= (wxWindow
*) 0 ;
18931 int arg3
= (int) -1 ;
18932 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18933 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18934 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18935 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18936 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18937 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18938 long arg7
= (long) 0 ;
18939 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18940 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18941 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18942 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18950 bool temp4
= false ;
18957 bool temp9
= false ;
18958 PyObject
* obj0
= 0 ;
18959 PyObject
* obj1
= 0 ;
18960 PyObject
* obj2
= 0 ;
18961 PyObject
* obj3
= 0 ;
18962 PyObject
* obj4
= 0 ;
18963 PyObject
* obj5
= 0 ;
18964 PyObject
* obj6
= 0 ;
18965 PyObject
* obj7
= 0 ;
18966 PyObject
* obj8
= 0 ;
18967 char * kwnames
[] = {
18968 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18973 if (!SWIG_IsOK(res1
)) {
18974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18976 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18977 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18978 if (!SWIG_IsOK(res2
)) {
18979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18981 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18984 if (!SWIG_IsOK(ecode3
)) {
18985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18987 arg3
= static_cast< int >(val3
);
18991 arg4
= wxString_in_helper(obj3
);
18992 if (arg4
== NULL
) SWIG_fail
;
18999 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19005 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19009 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19010 if (!SWIG_IsOK(ecode7
)) {
19011 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19013 arg7
= static_cast< long >(val7
);
19016 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19017 if (!SWIG_IsOK(res8
)) {
19018 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19023 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19027 arg9
= wxString_in_helper(obj8
);
19028 if (arg9
== NULL
) SWIG_fail
;
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19063 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19064 PyObject
*resultobj
= 0;
19065 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19071 PyObject
* obj0
= 0 ;
19072 PyObject
* obj1
= 0 ;
19073 char * kwnames
[] = {
19074 (char *) "self",(char *) "value", NULL
19077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19079 if (!SWIG_IsOK(res1
)) {
19080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19082 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19083 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19084 if (!SWIG_IsOK(ecode2
)) {
19085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19087 arg2
= static_cast< bool >(val2
);
19089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19090 (arg1
)->SetValue(arg2
);
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19094 resultobj
= SWIG_Py_Void();
19101 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19102 PyObject
*resultobj
= 0;
19103 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19107 PyObject
*swig_obj
[1] ;
19109 if (!args
) SWIG_fail
;
19110 swig_obj
[0] = args
;
19111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19112 if (!SWIG_IsOK(res1
)) {
19113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19115 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19131 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
= 0;
19133 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19134 SwigValueWrapper
<wxVisualAttributes
> result
;
19137 PyObject
* obj0
= 0 ;
19138 char * kwnames
[] = {
19139 (char *) "variant", NULL
19142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19144 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19145 if (!SWIG_IsOK(ecode1
)) {
19146 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19148 arg1
= static_cast< wxWindowVariant
>(val1
);
19151 if (!wxPyCheckForApp()) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19164 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19167 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19168 return SWIG_Py_Void();
19171 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19172 return SWIG_Python_InitShadowInstance(args
);
19175 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19176 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19181 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19182 PyObject
*pyobj
= 0;
19186 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19188 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19195 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19196 PyObject
*resultobj
= 0;
19197 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19201 PyObject
*swig_obj
[1] ;
19203 if (!args
) SWIG_fail
;
19204 swig_obj
[0] = args
;
19205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19206 if (!SWIG_IsOK(res1
)) {
19207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19209 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19223 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
= 0;
19225 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19227 wxWindow
*result
= 0 ;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char * kwnames
[] = {
19235 (char *) "self",(char *) "n", NULL
19238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19240 if (!SWIG_IsOK(res1
)) {
19241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19243 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19244 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19245 if (!SWIG_IsOK(ecode2
)) {
19246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19248 arg2
= static_cast< size_t >(val2
);
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= wxPyMake_wxObject(result
, 0);
19264 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19265 PyObject
*resultobj
= 0;
19266 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19267 wxWindow
*result
= 0 ;
19270 PyObject
*swig_obj
[1] ;
19272 if (!args
) SWIG_fail
;
19273 swig_obj
[0] = args
;
19274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19275 if (!SWIG_IsOK(res1
)) {
19276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19278 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19286 resultobj
= wxPyMake_wxObject(result
, 0);
19294 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19295 PyObject
*resultobj
= 0;
19296 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19300 PyObject
*swig_obj
[1] ;
19302 if (!args
) SWIG_fail
;
19303 swig_obj
[0] = args
;
19304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19305 if (!SWIG_IsOK(res1
)) {
19306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19308 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19311 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= SWIG_From_int(static_cast< int >(result
));
19322 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
= 0;
19324 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19326 wxString
*arg3
= 0 ;
19332 bool temp3
= false ;
19333 PyObject
* obj0
= 0 ;
19334 PyObject
* obj1
= 0 ;
19335 PyObject
* obj2
= 0 ;
19336 char * kwnames
[] = {
19337 (char *) "self",(char *) "n",(char *) "strText", NULL
19340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19342 if (!SWIG_IsOK(res1
)) {
19343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19345 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19346 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19347 if (!SWIG_IsOK(ecode2
)) {
19348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19350 arg2
= static_cast< size_t >(val2
);
19352 arg3
= wxString_in_helper(obj2
);
19353 if (arg3
== NULL
) SWIG_fail
;
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19379 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
= 0;
19381 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19388 PyObject
* obj0
= 0 ;
19389 PyObject
* obj1
= 0 ;
19390 char * kwnames
[] = {
19391 (char *) "self",(char *) "n", NULL
19394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19396 if (!SWIG_IsOK(res1
)) {
19397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19399 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19400 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19401 if (!SWIG_IsOK(ecode2
)) {
19402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19404 arg2
= static_cast< size_t >(val2
);
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19424 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19425 PyObject
*resultobj
= 0;
19426 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19427 wxImageList
*arg2
= (wxImageList
*) 0 ;
19432 PyObject
* obj0
= 0 ;
19433 PyObject
* obj1
= 0 ;
19434 char * kwnames
[] = {
19435 (char *) "self",(char *) "imageList", NULL
19438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19440 if (!SWIG_IsOK(res1
)) {
19441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19443 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19444 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19445 if (!SWIG_IsOK(res2
)) {
19446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19448 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19451 (arg1
)->SetImageList(arg2
);
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= SWIG_Py_Void();
19462 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19463 PyObject
*resultobj
= 0;
19464 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19465 wxImageList
*arg2
= (wxImageList
*) 0 ;
19469 PyObject
* obj0
= 0 ;
19470 PyObject
* obj1
= 0 ;
19471 char * kwnames
[] = {
19472 (char *) "self",(char *) "imageList", NULL
19475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19477 if (!SWIG_IsOK(res1
)) {
19478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19480 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19481 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19482 if (!SWIG_IsOK(res2
)) {
19483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 (arg1
)->AssignImageList(arg2
);
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= SWIG_Py_Void();
19498 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19499 PyObject
*resultobj
= 0;
19500 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19501 wxImageList
*result
= 0 ;
19504 PyObject
*swig_obj
[1] ;
19506 if (!args
) SWIG_fail
;
19507 swig_obj
[0] = args
;
19508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19509 if (!SWIG_IsOK(res1
)) {
19510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19512 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19520 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19528 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
= 0;
19530 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 char * kwnames
[] = {
19540 (char *) "self",(char *) "n", NULL
19543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19545 if (!SWIG_IsOK(res1
)) {
19546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19548 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19549 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19550 if (!SWIG_IsOK(ecode2
)) {
19551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19553 arg2
= static_cast< size_t >(val2
);
19555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= SWIG_From_int(static_cast< int >(result
));
19567 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
= 0;
19569 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19579 PyObject
* obj0
= 0 ;
19580 PyObject
* obj1
= 0 ;
19581 PyObject
* obj2
= 0 ;
19582 char * kwnames
[] = {
19583 (char *) "self",(char *) "n",(char *) "imageId", NULL
19586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19588 if (!SWIG_IsOK(res1
)) {
19589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19591 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19592 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19593 if (!SWIG_IsOK(ecode2
)) {
19594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19596 arg2
= static_cast< size_t >(val2
);
19597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19598 if (!SWIG_IsOK(ecode3
)) {
19599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19601 arg3
= static_cast< int >(val3
);
19603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19604 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19605 wxPyEndAllowThreads(__tstate
);
19606 if (PyErr_Occurred()) SWIG_fail
;
19609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19617 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
= 0;
19619 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19624 PyObject
* obj0
= 0 ;
19625 PyObject
* obj1
= 0 ;
19626 char * kwnames
[] = {
19627 (char *) "self",(char *) "size", NULL
19630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19632 if (!SWIG_IsOK(res1
)) {
19633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19635 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19638 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19646 resultobj
= SWIG_Py_Void();
19653 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
= 0;
19655 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19661 PyObject
* obj0
= 0 ;
19662 PyObject
* obj1
= 0 ;
19663 char * kwnames
[] = {
19664 (char *) "self",(char *) "sizePage", NULL
19667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19669 if (!SWIG_IsOK(res1
)) {
19670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19672 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19675 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19679 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19690 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19691 PyObject
*resultobj
= 0;
19692 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19693 unsigned int result
;
19696 PyObject
*swig_obj
[1] ;
19698 if (!args
) SWIG_fail
;
19699 swig_obj
[0] = args
;
19700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19701 if (!SWIG_IsOK(res1
)) {
19702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19704 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19708 wxPyEndAllowThreads(__tstate
);
19709 if (PyErr_Occurred()) SWIG_fail
;
19711 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19718 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
= 0;
19720 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19721 unsigned int arg2
;
19724 unsigned int val2
;
19726 PyObject
* obj0
= 0 ;
19727 PyObject
* obj1
= 0 ;
19728 char * kwnames
[] = {
19729 (char *) "self",(char *) "internalBorder", NULL
19732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19734 if (!SWIG_IsOK(res1
)) {
19735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19737 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19738 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19739 if (!SWIG_IsOK(ecode2
)) {
19740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19742 arg2
= static_cast< unsigned int >(val2
);
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 (arg1
)->SetInternalBorder(arg2
);
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= SWIG_Py_Void();
19756 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19757 PyObject
*resultobj
= 0;
19758 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19762 PyObject
*swig_obj
[1] ;
19764 if (!args
) SWIG_fail
;
19765 swig_obj
[0] = args
;
19766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19767 if (!SWIG_IsOK(res1
)) {
19768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19770 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19774 wxPyEndAllowThreads(__tstate
);
19775 if (PyErr_Occurred()) SWIG_fail
;
19778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19786 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19787 PyObject
*resultobj
= 0;
19788 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19794 PyObject
* obj0
= 0 ;
19795 PyObject
* obj1
= 0 ;
19796 char * kwnames
[] = {
19797 (char *) "self",(char *) "margin", NULL
19800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19802 if (!SWIG_IsOK(res1
)) {
19803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19805 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19807 if (!SWIG_IsOK(ecode2
)) {
19808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19810 arg2
= static_cast< int >(val2
);
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 (arg1
)->SetControlMargin(arg2
);
19814 wxPyEndAllowThreads(__tstate
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19817 resultobj
= SWIG_Py_Void();
19824 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19825 PyObject
*resultobj
= 0;
19826 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19830 PyObject
*swig_obj
[1] ;
19832 if (!args
) SWIG_fail
;
19833 swig_obj
[0] = args
;
19834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19835 if (!SWIG_IsOK(res1
)) {
19836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19838 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19842 wxPyEndAllowThreads(__tstate
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19845 resultobj
= SWIG_From_int(static_cast< int >(result
));
19852 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
= 0;
19854 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19860 PyObject
* obj0
= 0 ;
19861 PyObject
* obj1
= 0 ;
19862 char * kwnames
[] = {
19863 (char *) "self",(char *) "fit", NULL
19866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19868 if (!SWIG_IsOK(res1
)) {
19869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19871 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19872 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19873 if (!SWIG_IsOK(ecode2
)) {
19874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19876 arg2
= static_cast< bool >(val2
);
19878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 (arg1
)->SetFitToCurrentPage(arg2
);
19880 wxPyEndAllowThreads(__tstate
);
19881 if (PyErr_Occurred()) SWIG_fail
;
19883 resultobj
= SWIG_Py_Void();
19890 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19891 PyObject
*resultobj
= 0;
19892 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19896 PyObject
*swig_obj
[1] ;
19898 if (!args
) SWIG_fail
;
19899 swig_obj
[0] = args
;
19900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19901 if (!SWIG_IsOK(res1
)) {
19902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19904 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19908 wxPyEndAllowThreads(__tstate
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19920 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19921 PyObject
*resultobj
= 0;
19922 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19923 wxSizer
*result
= 0 ;
19926 PyObject
*swig_obj
[1] ;
19928 if (!args
) SWIG_fail
;
19929 swig_obj
[0] = args
;
19930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19931 if (!SWIG_IsOK(res1
)) {
19932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19934 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19938 wxPyEndAllowThreads(__tstate
);
19939 if (PyErr_Occurred()) SWIG_fail
;
19942 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19950 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
= 0;
19952 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19959 PyObject
* obj0
= 0 ;
19960 PyObject
* obj1
= 0 ;
19961 char * kwnames
[] = {
19962 (char *) "self",(char *) "n", NULL
19965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19967 if (!SWIG_IsOK(res1
)) {
19968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19970 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19971 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19972 if (!SWIG_IsOK(ecode2
)) {
19973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19975 arg2
= static_cast< size_t >(val2
);
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 result
= (bool)(arg1
)->DeletePage(arg2
);
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19991 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
= 0;
19993 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20000 PyObject
* obj0
= 0 ;
20001 PyObject
* obj1
= 0 ;
20002 char * kwnames
[] = {
20003 (char *) "self",(char *) "n", NULL
20006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20008 if (!SWIG_IsOK(res1
)) {
20009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20011 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20012 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20013 if (!SWIG_IsOK(ecode2
)) {
20014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20016 arg2
= static_cast< size_t >(val2
);
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= (bool)(arg1
)->RemovePage(arg2
);
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20032 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20033 PyObject
*resultobj
= 0;
20034 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20038 PyObject
*swig_obj
[1] ;
20040 if (!args
) SWIG_fail
;
20041 swig_obj
[0] = args
;
20042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20043 if (!SWIG_IsOK(res1
)) {
20044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20046 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 result
= (bool)(arg1
)->DeleteAllPages();
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20062 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
= 0;
20064 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20065 wxWindow
*arg2
= (wxWindow
*) 0 ;
20066 wxString
*arg3
= 0 ;
20067 bool arg4
= (bool) false ;
20068 int arg5
= (int) -1 ;
20074 bool temp3
= false ;
20079 PyObject
* obj0
= 0 ;
20080 PyObject
* obj1
= 0 ;
20081 PyObject
* obj2
= 0 ;
20082 PyObject
* obj3
= 0 ;
20083 PyObject
* obj4
= 0 ;
20084 char * kwnames
[] = {
20085 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20090 if (!SWIG_IsOK(res1
)) {
20091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20093 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20094 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20095 if (!SWIG_IsOK(res2
)) {
20096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20098 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20100 arg3
= wxString_in_helper(obj2
);
20101 if (arg3
== NULL
) SWIG_fail
;
20105 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20106 if (!SWIG_IsOK(ecode4
)) {
20107 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20109 arg4
= static_cast< bool >(val4
);
20112 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20113 if (!SWIG_IsOK(ecode5
)) {
20114 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20116 arg5
= static_cast< int >(val5
);
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20141 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
= 0;
20143 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20145 wxWindow
*arg3
= (wxWindow
*) 0 ;
20146 wxString
*arg4
= 0 ;
20147 bool arg5
= (bool) false ;
20148 int arg6
= (int) -1 ;
20156 bool temp4
= false ;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20163 PyObject
* obj2
= 0 ;
20164 PyObject
* obj3
= 0 ;
20165 PyObject
* obj4
= 0 ;
20166 PyObject
* obj5
= 0 ;
20167 char * kwnames
[] = {
20168 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20173 if (!SWIG_IsOK(res1
)) {
20174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20176 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20177 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20178 if (!SWIG_IsOK(ecode2
)) {
20179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20181 arg2
= static_cast< size_t >(val2
);
20182 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20183 if (!SWIG_IsOK(res3
)) {
20184 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20186 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20188 arg4
= wxString_in_helper(obj3
);
20189 if (arg4
== NULL
) SWIG_fail
;
20193 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20194 if (!SWIG_IsOK(ecode5
)) {
20195 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20197 arg5
= static_cast< bool >(val5
);
20200 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20201 if (!SWIG_IsOK(ecode6
)) {
20202 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20204 arg6
= static_cast< int >(val6
);
20207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20208 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20229 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20230 PyObject
*resultobj
= 0;
20231 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20238 PyObject
* obj0
= 0 ;
20239 PyObject
* obj1
= 0 ;
20240 char * kwnames
[] = {
20241 (char *) "self",(char *) "n", NULL
20244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20246 if (!SWIG_IsOK(res1
)) {
20247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20249 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20250 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20251 if (!SWIG_IsOK(ecode2
)) {
20252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20254 arg2
= static_cast< size_t >(val2
);
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 result
= (int)(arg1
)->SetSelection(arg2
);
20258 wxPyEndAllowThreads(__tstate
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20261 resultobj
= SWIG_From_int(static_cast< int >(result
));
20268 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20269 PyObject
*resultobj
= 0;
20270 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20277 PyObject
* obj0
= 0 ;
20278 PyObject
* obj1
= 0 ;
20279 char * kwnames
[] = {
20280 (char *) "self",(char *) "n", NULL
20283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20285 if (!SWIG_IsOK(res1
)) {
20286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20288 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20289 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20290 if (!SWIG_IsOK(ecode2
)) {
20291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20293 arg2
= static_cast< size_t >(val2
);
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 result
= (int)(arg1
)->ChangeSelection(arg2
);
20297 wxPyEndAllowThreads(__tstate
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= SWIG_From_int(static_cast< int >(result
));
20307 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
= 0;
20309 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20310 bool arg2
= (bool) true ;
20315 PyObject
* obj0
= 0 ;
20316 PyObject
* obj1
= 0 ;
20317 char * kwnames
[] = {
20318 (char *) "self",(char *) "forward", NULL
20321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20323 if (!SWIG_IsOK(res1
)) {
20324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20326 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20328 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20329 if (!SWIG_IsOK(ecode2
)) {
20330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20332 arg2
= static_cast< bool >(val2
);
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 (arg1
)->AdvanceSelection(arg2
);
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 resultobj
= SWIG_Py_Void();
20347 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
= 0;
20349 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20350 wxPoint
*arg2
= 0 ;
20351 long *arg3
= (long *) 0 ;
20357 int res3
= SWIG_TMPOBJ
;
20358 PyObject
* obj0
= 0 ;
20359 PyObject
* obj1
= 0 ;
20360 char * kwnames
[] = {
20361 (char *) "self",(char *) "pt", NULL
20365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20367 if (!SWIG_IsOK(res1
)) {
20368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20370 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20373 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20381 resultobj
= SWIG_From_int(static_cast< int >(result
));
20382 if (SWIG_IsTmpObj(res3
)) {
20383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20385 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20394 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
= 0;
20396 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20397 SwigValueWrapper
<wxVisualAttributes
> result
;
20400 PyObject
* obj0
= 0 ;
20401 char * kwnames
[] = {
20402 (char *) "variant", NULL
20405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20407 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20408 if (!SWIG_IsOK(ecode1
)) {
20409 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20411 arg1
= static_cast< wxWindowVariant
>(val1
);
20414 if (!wxPyCheckForApp()) SWIG_fail
;
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20427 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20430 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20431 return SWIG_Py_Void();
20434 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
= 0;
20436 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20437 int arg2
= (int) 0 ;
20438 int arg3
= (int) -1 ;
20439 int arg4
= (int) -1 ;
20440 wxBookCtrlBaseEvent
*result
= 0 ;
20449 PyObject
* obj0
= 0 ;
20450 PyObject
* obj1
= 0 ;
20451 PyObject
* obj2
= 0 ;
20452 PyObject
* obj3
= 0 ;
20453 char * kwnames
[] = {
20454 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20459 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20460 if (!SWIG_IsOK(ecode1
)) {
20461 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20463 arg1
= static_cast< wxEventType
>(val1
);
20466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20467 if (!SWIG_IsOK(ecode2
)) {
20468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20470 arg2
= static_cast< int >(val2
);
20473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20474 if (!SWIG_IsOK(ecode3
)) {
20475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20477 arg3
= static_cast< int >(val3
);
20480 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20481 if (!SWIG_IsOK(ecode4
)) {
20482 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20484 arg4
= static_cast< int >(val4
);
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20489 wxPyEndAllowThreads(__tstate
);
20490 if (PyErr_Occurred()) SWIG_fail
;
20492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20499 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20500 PyObject
*resultobj
= 0;
20501 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20505 PyObject
*swig_obj
[1] ;
20507 if (!args
) SWIG_fail
;
20508 swig_obj
[0] = args
;
20509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20510 if (!SWIG_IsOK(res1
)) {
20511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20513 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20516 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20520 resultobj
= SWIG_From_int(static_cast< int >(result
));
20527 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20528 PyObject
*resultobj
= 0;
20529 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20535 PyObject
* obj0
= 0 ;
20536 PyObject
* obj1
= 0 ;
20537 char * kwnames
[] = {
20538 (char *) "self",(char *) "nSel", NULL
20541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20543 if (!SWIG_IsOK(res1
)) {
20544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20546 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20548 if (!SWIG_IsOK(ecode2
)) {
20549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20551 arg2
= static_cast< int >(val2
);
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 (arg1
)->SetSelection(arg2
);
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 resultobj
= SWIG_Py_Void();
20565 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20566 PyObject
*resultobj
= 0;
20567 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20571 PyObject
*swig_obj
[1] ;
20573 if (!args
) SWIG_fail
;
20574 swig_obj
[0] = args
;
20575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20576 if (!SWIG_IsOK(res1
)) {
20577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20579 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= SWIG_From_int(static_cast< int >(result
));
20593 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20594 PyObject
*resultobj
= 0;
20595 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20601 PyObject
* obj0
= 0 ;
20602 PyObject
* obj1
= 0 ;
20603 char * kwnames
[] = {
20604 (char *) "self",(char *) "nOldSel", NULL
20607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20609 if (!SWIG_IsOK(res1
)) {
20610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20612 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20614 if (!SWIG_IsOK(ecode2
)) {
20615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20617 arg2
= static_cast< int >(val2
);
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 (arg1
)->SetOldSelection(arg2
);
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= SWIG_Py_Void();
20631 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20634 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20635 return SWIG_Py_Void();
20638 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20639 return SWIG_Python_InitShadowInstance(args
);
20642 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
= 0;
20644 wxWindow
*arg1
= (wxWindow
*) 0 ;
20645 int arg2
= (int) -1 ;
20646 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20647 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20648 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20649 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20650 long arg5
= (long) 0 ;
20651 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20652 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20653 wxNotebook
*result
= 0 ;
20662 bool temp6
= false ;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20665 PyObject
* obj2
= 0 ;
20666 PyObject
* obj3
= 0 ;
20667 PyObject
* obj4
= 0 ;
20668 PyObject
* obj5
= 0 ;
20669 char * kwnames
[] = {
20670 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20675 if (!SWIG_IsOK(res1
)) {
20676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20678 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20681 if (!SWIG_IsOK(ecode2
)) {
20682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20684 arg2
= static_cast< int >(val2
);
20689 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20695 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20699 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20700 if (!SWIG_IsOK(ecode5
)) {
20701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20703 arg5
= static_cast< long >(val5
);
20707 arg6
= wxString_in_helper(obj5
);
20708 if (arg6
== NULL
) SWIG_fail
;
20713 if (!wxPyCheckForApp()) SWIG_fail
;
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20734 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20735 PyObject
*resultobj
= 0;
20736 wxNotebook
*result
= 0 ;
20738 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20740 if (!wxPyCheckForApp()) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= (wxNotebook
*)new wxNotebook();
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20753 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
= 0;
20755 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20756 wxWindow
*arg2
= (wxWindow
*) 0 ;
20757 int arg3
= (int) -1 ;
20758 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20759 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20760 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20761 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20762 long arg6
= (long) 0 ;
20763 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20764 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20776 bool temp7
= false ;
20777 PyObject
* obj0
= 0 ;
20778 PyObject
* obj1
= 0 ;
20779 PyObject
* obj2
= 0 ;
20780 PyObject
* obj3
= 0 ;
20781 PyObject
* obj4
= 0 ;
20782 PyObject
* obj5
= 0 ;
20783 PyObject
* obj6
= 0 ;
20784 char * kwnames
[] = {
20785 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20790 if (!SWIG_IsOK(res1
)) {
20791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20793 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20794 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20795 if (!SWIG_IsOK(res2
)) {
20796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20798 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20801 if (!SWIG_IsOK(ecode3
)) {
20802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20804 arg3
= static_cast< int >(val3
);
20809 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20815 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20819 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20820 if (!SWIG_IsOK(ecode6
)) {
20821 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20823 arg6
= static_cast< long >(val6
);
20827 arg7
= wxString_in_helper(obj6
);
20828 if (arg7
== NULL
) SWIG_fail
;
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20855 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20856 PyObject
*resultobj
= 0;
20857 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20861 PyObject
*swig_obj
[1] ;
20863 if (!args
) SWIG_fail
;
20864 swig_obj
[0] = args
;
20865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20866 if (!SWIG_IsOK(res1
)) {
20867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20869 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= SWIG_From_int(static_cast< int >(result
));
20883 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20884 PyObject
*resultobj
= 0;
20885 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20890 PyObject
* obj0
= 0 ;
20891 PyObject
* obj1
= 0 ;
20892 char * kwnames
[] = {
20893 (char *) "self",(char *) "padding", NULL
20896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20898 if (!SWIG_IsOK(res1
)) {
20899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20901 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20904 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 resultobj
= SWIG_Py_Void();
20919 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
= 0;
20921 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20926 PyObject
* obj0
= 0 ;
20927 PyObject
* obj1
= 0 ;
20928 char * kwnames
[] = {
20929 (char *) "self",(char *) "sz", NULL
20932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20934 if (!SWIG_IsOK(res1
)) {
20935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20937 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20940 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_Py_Void();
20955 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20956 PyObject
*resultobj
= 0;
20957 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20961 PyObject
*swig_obj
[1] ;
20963 if (!args
) SWIG_fail
;
20964 swig_obj
[0] = args
;
20965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20966 if (!SWIG_IsOK(res1
)) {
20967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20969 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20983 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
= 0;
20985 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20986 SwigValueWrapper
<wxVisualAttributes
> result
;
20989 PyObject
* obj0
= 0 ;
20990 char * kwnames
[] = {
20991 (char *) "variant", NULL
20994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20996 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20997 if (!SWIG_IsOK(ecode1
)) {
20998 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21000 arg1
= static_cast< wxWindowVariant
>(val1
);
21003 if (!wxPyCheckForApp()) SWIG_fail
;
21004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21005 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21009 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21016 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
= 0;
21018 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21025 PyObject
* obj0
= 0 ;
21026 PyObject
* obj1
= 0 ;
21027 char * kwnames
[] = {
21028 (char *) "self",(char *) "nPage", NULL
21031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21033 if (!SWIG_IsOK(res1
)) {
21034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21036 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21038 if (!SWIG_IsOK(ecode2
)) {
21039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21041 arg2
= static_cast< int >(val2
);
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21057 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21058 PyObject
*resultobj
= 0;
21059 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21061 int arg3
= (int) -1 ;
21068 PyObject
* obj0
= 0 ;
21069 PyObject
* obj1
= 0 ;
21070 PyObject
* obj2
= 0 ;
21071 char * kwnames
[] = {
21072 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21077 if (!SWIG_IsOK(res1
)) {
21078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21080 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21082 if (!SWIG_IsOK(ecode2
)) {
21083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21085 arg2
= static_cast< int >(val2
);
21087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21088 if (!SWIG_IsOK(ecode3
)) {
21089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21091 arg3
= static_cast< int >(val3
);
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_Py_Void();
21106 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21109 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21110 return SWIG_Py_Void();
21113 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21114 return SWIG_Python_InitShadowInstance(args
);
21117 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21118 PyObject
*resultobj
= 0;
21119 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21120 int arg2
= (int) 0 ;
21121 int arg3
= (int) -1 ;
21122 int arg4
= (int) -1 ;
21123 wxNotebookEvent
*result
= 0 ;
21132 PyObject
* obj0
= 0 ;
21133 PyObject
* obj1
= 0 ;
21134 PyObject
* obj2
= 0 ;
21135 PyObject
* obj3
= 0 ;
21136 char * kwnames
[] = {
21137 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21142 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21143 if (!SWIG_IsOK(ecode1
)) {
21144 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21146 arg1
= static_cast< wxEventType
>(val1
);
21149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21150 if (!SWIG_IsOK(ecode2
)) {
21151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21153 arg2
= static_cast< int >(val2
);
21156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21157 if (!SWIG_IsOK(ecode3
)) {
21158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21160 arg3
= static_cast< int >(val3
);
21163 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21164 if (!SWIG_IsOK(ecode4
)) {
21165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21167 arg4
= static_cast< int >(val4
);
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21172 wxPyEndAllowThreads(__tstate
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21182 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21185 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21186 return SWIG_Py_Void();
21189 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21190 return SWIG_Python_InitShadowInstance(args
);
21193 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21194 PyObject
*resultobj
= 0;
21195 wxWindow
*arg1
= (wxWindow
*) 0 ;
21196 int arg2
= (int) -1 ;
21197 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21198 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21199 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21200 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21201 long arg5
= (long) 0 ;
21202 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21203 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21204 wxListbook
*result
= 0 ;
21213 bool temp6
= false ;
21214 PyObject
* obj0
= 0 ;
21215 PyObject
* obj1
= 0 ;
21216 PyObject
* obj2
= 0 ;
21217 PyObject
* obj3
= 0 ;
21218 PyObject
* obj4
= 0 ;
21219 PyObject
* obj5
= 0 ;
21220 char * kwnames
[] = {
21221 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21226 if (!SWIG_IsOK(res1
)) {
21227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21229 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21232 if (!SWIG_IsOK(ecode2
)) {
21233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21235 arg2
= static_cast< int >(val2
);
21240 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21246 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21250 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21251 if (!SWIG_IsOK(ecode5
)) {
21252 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21254 arg5
= static_cast< long >(val5
);
21258 arg6
= wxString_in_helper(obj5
);
21259 if (arg6
== NULL
) SWIG_fail
;
21264 if (!wxPyCheckForApp()) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21285 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21286 PyObject
*resultobj
= 0;
21287 wxListbook
*result
= 0 ;
21289 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21291 if (!wxPyCheckForApp()) SWIG_fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= (wxListbook
*)new wxListbook();
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21304 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21305 PyObject
*resultobj
= 0;
21306 wxListbook
*arg1
= (wxListbook
*) 0 ;
21307 wxWindow
*arg2
= (wxWindow
*) 0 ;
21308 int arg3
= (int) -1 ;
21309 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21310 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21311 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21312 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21313 long arg6
= (long) 0 ;
21314 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21315 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21327 bool temp7
= false ;
21328 PyObject
* obj0
= 0 ;
21329 PyObject
* obj1
= 0 ;
21330 PyObject
* obj2
= 0 ;
21331 PyObject
* obj3
= 0 ;
21332 PyObject
* obj4
= 0 ;
21333 PyObject
* obj5
= 0 ;
21334 PyObject
* obj6
= 0 ;
21335 char * kwnames
[] = {
21336 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21341 if (!SWIG_IsOK(res1
)) {
21342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21344 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21345 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21346 if (!SWIG_IsOK(res2
)) {
21347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21349 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21352 if (!SWIG_IsOK(ecode3
)) {
21353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21355 arg3
= static_cast< int >(val3
);
21360 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21366 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21370 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21371 if (!SWIG_IsOK(ecode6
)) {
21372 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21374 arg6
= static_cast< long >(val6
);
21378 arg7
= wxString_in_helper(obj6
);
21379 if (arg7
== NULL
) SWIG_fail
;
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21406 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21407 PyObject
*resultobj
= 0;
21408 wxListbook
*arg1
= (wxListbook
*) 0 ;
21409 wxListView
*result
= 0 ;
21412 PyObject
*swig_obj
[1] ;
21414 if (!args
) SWIG_fail
;
21415 swig_obj
[0] = args
;
21416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21417 if (!SWIG_IsOK(res1
)) {
21418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21420 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 result
= (wxListView
*)(arg1
)->GetListView();
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21434 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21437 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21438 return SWIG_Py_Void();
21441 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21442 return SWIG_Python_InitShadowInstance(args
);
21445 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
= 0;
21447 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21448 int arg2
= (int) 0 ;
21449 int arg3
= (int) -1 ;
21450 int arg4
= (int) -1 ;
21451 wxListbookEvent
*result
= 0 ;
21460 PyObject
* obj0
= 0 ;
21461 PyObject
* obj1
= 0 ;
21462 PyObject
* obj2
= 0 ;
21463 PyObject
* obj3
= 0 ;
21464 char * kwnames
[] = {
21465 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21470 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21471 if (!SWIG_IsOK(ecode1
)) {
21472 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21474 arg1
= static_cast< wxEventType
>(val1
);
21477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21478 if (!SWIG_IsOK(ecode2
)) {
21479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21481 arg2
= static_cast< int >(val2
);
21484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21485 if (!SWIG_IsOK(ecode3
)) {
21486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21488 arg3
= static_cast< int >(val3
);
21491 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21492 if (!SWIG_IsOK(ecode4
)) {
21493 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21495 arg4
= static_cast< int >(val4
);
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21510 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21513 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21514 return SWIG_Py_Void();
21517 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21518 return SWIG_Python_InitShadowInstance(args
);
21521 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21522 PyObject
*resultobj
= 0;
21523 wxWindow
*arg1
= (wxWindow
*) 0 ;
21525 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21526 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21527 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21528 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21529 long arg5
= (long) 0 ;
21530 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21531 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21532 wxChoicebook
*result
= 0 ;
21541 bool temp6
= false ;
21542 PyObject
* obj0
= 0 ;
21543 PyObject
* obj1
= 0 ;
21544 PyObject
* obj2
= 0 ;
21545 PyObject
* obj3
= 0 ;
21546 PyObject
* obj4
= 0 ;
21547 PyObject
* obj5
= 0 ;
21548 char * kwnames
[] = {
21549 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21554 if (!SWIG_IsOK(res1
)) {
21555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21557 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21559 if (!SWIG_IsOK(ecode2
)) {
21560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21562 arg2
= static_cast< int >(val2
);
21566 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21572 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21576 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21577 if (!SWIG_IsOK(ecode5
)) {
21578 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21580 arg5
= static_cast< long >(val5
);
21584 arg6
= wxString_in_helper(obj5
);
21585 if (arg6
== NULL
) SWIG_fail
;
21590 if (!wxPyCheckForApp()) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21611 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21612 PyObject
*resultobj
= 0;
21613 wxChoicebook
*result
= 0 ;
21615 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21617 if (!wxPyCheckForApp()) SWIG_fail
;
21618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21619 result
= (wxChoicebook
*)new wxChoicebook();
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21630 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21631 PyObject
*resultobj
= 0;
21632 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21633 wxWindow
*arg2
= (wxWindow
*) 0 ;
21635 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21636 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21637 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21638 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21639 long arg6
= (long) 0 ;
21640 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21641 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21653 bool temp7
= false ;
21654 PyObject
* obj0
= 0 ;
21655 PyObject
* obj1
= 0 ;
21656 PyObject
* obj2
= 0 ;
21657 PyObject
* obj3
= 0 ;
21658 PyObject
* obj4
= 0 ;
21659 PyObject
* obj5
= 0 ;
21660 PyObject
* obj6
= 0 ;
21661 char * kwnames
[] = {
21662 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21667 if (!SWIG_IsOK(res1
)) {
21668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21670 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21671 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21672 if (!SWIG_IsOK(res2
)) {
21673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21675 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21677 if (!SWIG_IsOK(ecode3
)) {
21678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21680 arg3
= static_cast< int >(val3
);
21684 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21690 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21694 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21695 if (!SWIG_IsOK(ecode6
)) {
21696 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21698 arg6
= static_cast< long >(val6
);
21702 arg7
= wxString_in_helper(obj6
);
21703 if (arg7
== NULL
) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21730 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21731 PyObject
*resultobj
= 0;
21732 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21733 wxChoice
*result
= 0 ;
21736 PyObject
*swig_obj
[1] ;
21738 if (!args
) SWIG_fail
;
21739 swig_obj
[0] = args
;
21740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21741 if (!SWIG_IsOK(res1
)) {
21742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21744 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21758 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21761 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21762 return SWIG_Py_Void();
21765 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21766 return SWIG_Python_InitShadowInstance(args
);
21769 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
= 0;
21771 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21772 int arg2
= (int) 0 ;
21773 int arg3
= (int) -1 ;
21774 int arg4
= (int) -1 ;
21775 wxChoicebookEvent
*result
= 0 ;
21784 PyObject
* obj0
= 0 ;
21785 PyObject
* obj1
= 0 ;
21786 PyObject
* obj2
= 0 ;
21787 PyObject
* obj3
= 0 ;
21788 char * kwnames
[] = {
21789 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21794 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21795 if (!SWIG_IsOK(ecode1
)) {
21796 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21798 arg1
= static_cast< wxEventType
>(val1
);
21801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21802 if (!SWIG_IsOK(ecode2
)) {
21803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21805 arg2
= static_cast< int >(val2
);
21808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21809 if (!SWIG_IsOK(ecode3
)) {
21810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21812 arg3
= static_cast< int >(val3
);
21815 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21816 if (!SWIG_IsOK(ecode4
)) {
21817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21819 arg4
= static_cast< int >(val4
);
21822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21823 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21834 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21836 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21837 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21838 return SWIG_Py_Void();
21841 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21842 return SWIG_Python_InitShadowInstance(args
);
21845 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
= 0;
21847 wxWindow
*arg1
= (wxWindow
*) 0 ;
21849 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21850 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21851 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21852 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21853 long arg5
= (long) wxBK_DEFAULT
;
21854 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21855 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21856 wxTreebook
*result
= 0 ;
21865 bool temp6
= false ;
21866 PyObject
* obj0
= 0 ;
21867 PyObject
* obj1
= 0 ;
21868 PyObject
* obj2
= 0 ;
21869 PyObject
* obj3
= 0 ;
21870 PyObject
* obj4
= 0 ;
21871 PyObject
* obj5
= 0 ;
21872 char * kwnames
[] = {
21873 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21878 if (!SWIG_IsOK(res1
)) {
21879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21881 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21883 if (!SWIG_IsOK(ecode2
)) {
21884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21886 arg2
= static_cast< int >(val2
);
21890 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21896 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21900 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21901 if (!SWIG_IsOK(ecode5
)) {
21902 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21904 arg5
= static_cast< long >(val5
);
21908 arg6
= wxString_in_helper(obj5
);
21909 if (arg6
== NULL
) SWIG_fail
;
21914 if (!wxPyCheckForApp()) SWIG_fail
;
21915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21916 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21935 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21936 PyObject
*resultobj
= 0;
21937 wxTreebook
*result
= 0 ;
21939 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21941 if (!wxPyCheckForApp()) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 result
= (wxTreebook
*)new wxTreebook();
21944 wxPyEndAllowThreads(__tstate
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21954 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
= 0;
21956 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21957 wxWindow
*arg2
= (wxWindow
*) 0 ;
21959 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21960 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21961 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21962 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21963 long arg6
= (long) wxBK_DEFAULT
;
21964 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21965 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21977 bool temp7
= false ;
21978 PyObject
* obj0
= 0 ;
21979 PyObject
* obj1
= 0 ;
21980 PyObject
* obj2
= 0 ;
21981 PyObject
* obj3
= 0 ;
21982 PyObject
* obj4
= 0 ;
21983 PyObject
* obj5
= 0 ;
21984 PyObject
* obj6
= 0 ;
21985 char * kwnames
[] = {
21986 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21991 if (!SWIG_IsOK(res1
)) {
21992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21994 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21995 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21996 if (!SWIG_IsOK(res2
)) {
21997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21999 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22001 if (!SWIG_IsOK(ecode3
)) {
22002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22004 arg3
= static_cast< int >(val3
);
22008 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22014 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22018 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22019 if (!SWIG_IsOK(ecode6
)) {
22020 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22022 arg6
= static_cast< long >(val6
);
22026 arg7
= wxString_in_helper(obj6
);
22027 if (arg7
== NULL
) SWIG_fail
;
22032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22054 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22055 PyObject
*resultobj
= 0;
22056 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22058 wxWindow
*arg3
= (wxWindow
*) 0 ;
22059 wxString
*arg4
= 0 ;
22060 bool arg5
= (bool) false ;
22061 int arg6
= (int) wxNOT_FOUND
;
22069 bool temp4
= false ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 PyObject
* obj2
= 0 ;
22077 PyObject
* obj3
= 0 ;
22078 PyObject
* obj4
= 0 ;
22079 PyObject
* obj5
= 0 ;
22080 char * kwnames
[] = {
22081 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22086 if (!SWIG_IsOK(res1
)) {
22087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22089 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22090 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22091 if (!SWIG_IsOK(ecode2
)) {
22092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22094 arg2
= static_cast< size_t >(val2
);
22095 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22096 if (!SWIG_IsOK(res3
)) {
22097 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22099 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22101 arg4
= wxString_in_helper(obj3
);
22102 if (arg4
== NULL
) SWIG_fail
;
22106 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22107 if (!SWIG_IsOK(ecode5
)) {
22108 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22110 arg5
= static_cast< bool >(val5
);
22113 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22114 if (!SWIG_IsOK(ecode6
)) {
22115 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22117 arg6
= static_cast< int >(val6
);
22120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22121 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22122 wxPyEndAllowThreads(__tstate
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22142 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
= 0;
22144 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22145 wxWindow
*arg2
= (wxWindow
*) 0 ;
22146 wxString
*arg3
= 0 ;
22147 bool arg4
= (bool) false ;
22148 int arg5
= (int) wxNOT_FOUND
;
22154 bool temp3
= false ;
22159 PyObject
* obj0
= 0 ;
22160 PyObject
* obj1
= 0 ;
22161 PyObject
* obj2
= 0 ;
22162 PyObject
* obj3
= 0 ;
22163 PyObject
* obj4
= 0 ;
22164 char * kwnames
[] = {
22165 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22170 if (!SWIG_IsOK(res1
)) {
22171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22173 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22174 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22175 if (!SWIG_IsOK(res2
)) {
22176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22178 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22180 arg3
= wxString_in_helper(obj2
);
22181 if (arg3
== NULL
) SWIG_fail
;
22185 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22186 if (!SWIG_IsOK(ecode4
)) {
22187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22189 arg4
= static_cast< bool >(val4
);
22192 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22193 if (!SWIG_IsOK(ecode5
)) {
22194 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22196 arg5
= static_cast< int >(val5
);
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22221 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22222 PyObject
*resultobj
= 0;
22223 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22230 PyObject
* obj0
= 0 ;
22231 PyObject
* obj1
= 0 ;
22232 char * kwnames
[] = {
22233 (char *) "self",(char *) "pos", NULL
22236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22238 if (!SWIG_IsOK(res1
)) {
22239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22241 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22242 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22243 if (!SWIG_IsOK(ecode2
)) {
22244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22246 arg2
= static_cast< size_t >(val2
);
22248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22249 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22250 wxPyEndAllowThreads(__tstate
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22262 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
= 0;
22264 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22266 bool arg3
= (bool) true ;
22274 PyObject
* obj0
= 0 ;
22275 PyObject
* obj1
= 0 ;
22276 PyObject
* obj2
= 0 ;
22277 char * kwnames
[] = {
22278 (char *) "self",(char *) "pos",(char *) "expand", NULL
22281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22283 if (!SWIG_IsOK(res1
)) {
22284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22286 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22287 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22288 if (!SWIG_IsOK(ecode2
)) {
22289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22291 arg2
= static_cast< size_t >(val2
);
22293 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22294 if (!SWIG_IsOK(ecode3
)) {
22295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22297 arg3
= static_cast< bool >(val3
);
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22314 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22315 PyObject
*resultobj
= 0;
22316 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22323 PyObject
* obj0
= 0 ;
22324 PyObject
* obj1
= 0 ;
22325 char * kwnames
[] = {
22326 (char *) "self",(char *) "pos", NULL
22329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22331 if (!SWIG_IsOK(res1
)) {
22332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22334 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22335 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22336 if (!SWIG_IsOK(ecode2
)) {
22337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22339 arg2
= static_cast< size_t >(val2
);
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 result
= (bool)(arg1
)->CollapseNode(arg2
);
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22355 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22356 PyObject
*resultobj
= 0;
22357 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 char * kwnames
[] = {
22367 (char *) "self",(char *) "pos", NULL
22370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22372 if (!SWIG_IsOK(res1
)) {
22373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22375 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22376 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22377 if (!SWIG_IsOK(ecode2
)) {
22378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22380 arg2
= static_cast< size_t >(val2
);
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= SWIG_From_int(static_cast< int >(result
));
22394 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22395 PyObject
*resultobj
= 0;
22396 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22397 wxPyTreeCtrl
*result
= 0 ;
22400 PyObject
*swig_obj
[1] ;
22402 if (!args
) SWIG_fail
;
22403 swig_obj
[0] = args
;
22404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22405 if (!SWIG_IsOK(res1
)) {
22406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22408 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22424 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22427 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22428 return SWIG_Py_Void();
22431 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22432 return SWIG_Python_InitShadowInstance(args
);
22435 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
= 0;
22437 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22438 int arg2
= (int) 0 ;
22439 int arg3
= (int) wxNOT_FOUND
;
22440 int arg4
= (int) wxNOT_FOUND
;
22441 wxTreebookEvent
*result
= 0 ;
22450 PyObject
* obj0
= 0 ;
22451 PyObject
* obj1
= 0 ;
22452 PyObject
* obj2
= 0 ;
22453 PyObject
* obj3
= 0 ;
22454 char * kwnames
[] = {
22455 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22460 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22461 if (!SWIG_IsOK(ecode1
)) {
22462 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22464 arg1
= static_cast< wxEventType
>(val1
);
22467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22468 if (!SWIG_IsOK(ecode2
)) {
22469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22471 arg2
= static_cast< int >(val2
);
22474 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22475 if (!SWIG_IsOK(ecode3
)) {
22476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22478 arg3
= static_cast< int >(val3
);
22481 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22482 if (!SWIG_IsOK(ecode4
)) {
22483 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22485 arg4
= static_cast< int >(val4
);
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22500 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22503 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22504 return SWIG_Py_Void();
22507 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22508 return SWIG_Python_InitShadowInstance(args
);
22511 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
= 0;
22513 wxWindow
*arg1
= (wxWindow
*) 0 ;
22515 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22516 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22517 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22518 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22519 long arg5
= (long) wxBK_DEFAULT
;
22520 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22521 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22522 wxToolbook
*result
= 0 ;
22531 bool temp6
= false ;
22532 PyObject
* obj0
= 0 ;
22533 PyObject
* obj1
= 0 ;
22534 PyObject
* obj2
= 0 ;
22535 PyObject
* obj3
= 0 ;
22536 PyObject
* obj4
= 0 ;
22537 PyObject
* obj5
= 0 ;
22538 char * kwnames
[] = {
22539 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22544 if (!SWIG_IsOK(res1
)) {
22545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22547 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22549 if (!SWIG_IsOK(ecode2
)) {
22550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22552 arg2
= static_cast< int >(val2
);
22556 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22562 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22566 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22567 if (!SWIG_IsOK(ecode5
)) {
22568 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22570 arg5
= static_cast< long >(val5
);
22574 arg6
= wxString_in_helper(obj5
);
22575 if (arg6
== NULL
) SWIG_fail
;
22580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22581 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22582 wxPyEndAllowThreads(__tstate
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22600 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22601 PyObject
*resultobj
= 0;
22602 wxToolbook
*result
= 0 ;
22604 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 result
= (wxToolbook
*)new wxToolbook();
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22618 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22619 PyObject
*resultobj
= 0;
22620 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22621 wxWindow
*arg2
= (wxWindow
*) 0 ;
22623 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22624 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22625 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22626 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22627 long arg6
= (long) 0 ;
22628 wxString
const &arg7_defvalue
= wxEmptyString
;
22629 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22641 bool temp7
= false ;
22642 PyObject
* obj0
= 0 ;
22643 PyObject
* obj1
= 0 ;
22644 PyObject
* obj2
= 0 ;
22645 PyObject
* obj3
= 0 ;
22646 PyObject
* obj4
= 0 ;
22647 PyObject
* obj5
= 0 ;
22648 PyObject
* obj6
= 0 ;
22649 char * kwnames
[] = {
22650 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22655 if (!SWIG_IsOK(res1
)) {
22656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22658 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22659 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22660 if (!SWIG_IsOK(res2
)) {
22661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22663 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22665 if (!SWIG_IsOK(ecode3
)) {
22666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22668 arg3
= static_cast< int >(val3
);
22672 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22678 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22682 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22683 if (!SWIG_IsOK(ecode6
)) {
22684 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22686 arg6
= static_cast< long >(val6
);
22690 arg7
= wxString_in_helper(obj6
);
22691 if (arg7
== NULL
) SWIG_fail
;
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22718 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22719 PyObject
*resultobj
= 0;
22720 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22721 wxToolBarBase
*result
= 0 ;
22724 PyObject
*swig_obj
[1] ;
22726 if (!args
) SWIG_fail
;
22727 swig_obj
[0] = args
;
22728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22729 if (!SWIG_IsOK(res1
)) {
22730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22732 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22740 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22748 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22749 PyObject
*resultobj
= 0;
22750 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22753 PyObject
*swig_obj
[1] ;
22755 if (!args
) SWIG_fail
;
22756 swig_obj
[0] = args
;
22757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22758 if (!SWIG_IsOK(res1
)) {
22759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22761 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22768 resultobj
= SWIG_Py_Void();
22775 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22778 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22779 return SWIG_Py_Void();
22782 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22783 return SWIG_Python_InitShadowInstance(args
);
22786 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
= 0;
22788 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22789 int arg2
= (int) 0 ;
22790 int arg3
= (int) wxNOT_FOUND
;
22791 int arg4
= (int) wxNOT_FOUND
;
22792 wxToolbookEvent
*result
= 0 ;
22801 PyObject
* obj0
= 0 ;
22802 PyObject
* obj1
= 0 ;
22803 PyObject
* obj2
= 0 ;
22804 PyObject
* obj3
= 0 ;
22805 char * kwnames
[] = {
22806 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22811 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22812 if (!SWIG_IsOK(ecode1
)) {
22813 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22815 arg1
= static_cast< wxEventType
>(val1
);
22818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22819 if (!SWIG_IsOK(ecode2
)) {
22820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22822 arg2
= static_cast< int >(val2
);
22825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22826 if (!SWIG_IsOK(ecode3
)) {
22827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22829 arg3
= static_cast< int >(val3
);
22832 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22833 if (!SWIG_IsOK(ecode4
)) {
22834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22836 arg4
= static_cast< int >(val4
);
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22851 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22853 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22854 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22855 return SWIG_Py_Void();
22858 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22859 return SWIG_Python_InitShadowInstance(args
);
22862 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22863 PyObject
*resultobj
= 0;
22864 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22868 PyObject
*swig_obj
[1] ;
22870 if (!args
) SWIG_fail
;
22871 swig_obj
[0] = args
;
22872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22873 if (!SWIG_IsOK(res1
)) {
22874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22876 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 result
= (int)(arg1
)->GetId();
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 resultobj
= SWIG_From_int(static_cast< int >(result
));
22890 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22891 PyObject
*resultobj
= 0;
22892 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22893 wxControl
*result
= 0 ;
22896 PyObject
*swig_obj
[1] ;
22898 if (!args
) SWIG_fail
;
22899 swig_obj
[0] = args
;
22900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22901 if (!SWIG_IsOK(res1
)) {
22902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22904 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 result
= (wxControl
*)(arg1
)->GetControl();
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22912 resultobj
= wxPyMake_wxObject(result
, 0);
22920 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22921 PyObject
*resultobj
= 0;
22922 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22923 wxToolBarBase
*result
= 0 ;
22926 PyObject
*swig_obj
[1] ;
22928 if (!args
) SWIG_fail
;
22929 swig_obj
[0] = args
;
22930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22931 if (!SWIG_IsOK(res1
)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22934 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22950 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22951 PyObject
*resultobj
= 0;
22952 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22956 PyObject
*swig_obj
[1] ;
22958 if (!args
) SWIG_fail
;
22959 swig_obj
[0] = args
;
22960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22961 if (!SWIG_IsOK(res1
)) {
22962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22964 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= (int)(arg1
)->IsButton();
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 resultobj
= SWIG_From_int(static_cast< int >(result
));
22978 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22979 PyObject
*resultobj
= 0;
22980 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22984 PyObject
*swig_obj
[1] ;
22986 if (!args
) SWIG_fail
;
22987 swig_obj
[0] = args
;
22988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22989 if (!SWIG_IsOK(res1
)) {
22990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22992 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22995 result
= (int)(arg1
)->IsControl();
22996 wxPyEndAllowThreads(__tstate
);
22997 if (PyErr_Occurred()) SWIG_fail
;
22999 resultobj
= SWIG_From_int(static_cast< int >(result
));
23006 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23007 PyObject
*resultobj
= 0;
23008 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23012 PyObject
*swig_obj
[1] ;
23014 if (!args
) SWIG_fail
;
23015 swig_obj
[0] = args
;
23016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23017 if (!SWIG_IsOK(res1
)) {
23018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23020 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= (int)(arg1
)->IsSeparator();
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 resultobj
= SWIG_From_int(static_cast< int >(result
));
23034 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23035 PyObject
*resultobj
= 0;
23036 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23040 PyObject
*swig_obj
[1] ;
23042 if (!args
) SWIG_fail
;
23043 swig_obj
[0] = args
;
23044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23045 if (!SWIG_IsOK(res1
)) {
23046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23048 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 result
= (int)(arg1
)->GetStyle();
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23055 resultobj
= SWIG_From_int(static_cast< int >(result
));
23062 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23063 PyObject
*resultobj
= 0;
23064 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23068 PyObject
*swig_obj
[1] ;
23070 if (!args
) SWIG_fail
;
23071 swig_obj
[0] = args
;
23072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23073 if (!SWIG_IsOK(res1
)) {
23074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23076 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 result
= (wxItemKind
)(arg1
)->GetKind();
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23083 resultobj
= SWIG_From_int(static_cast< int >(result
));
23090 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23091 PyObject
*resultobj
= 0;
23092 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23096 PyObject
*swig_obj
[1] ;
23098 if (!args
) SWIG_fail
;
23099 swig_obj
[0] = args
;
23100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23101 if (!SWIG_IsOK(res1
)) {
23102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23104 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23107 result
= (bool)(arg1
)->IsEnabled();
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23120 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23121 PyObject
*resultobj
= 0;
23122 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23126 PyObject
*swig_obj
[1] ;
23128 if (!args
) SWIG_fail
;
23129 swig_obj
[0] = args
;
23130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23131 if (!SWIG_IsOK(res1
)) {
23132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23134 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23137 result
= (bool)(arg1
)->IsToggled();
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23150 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23151 PyObject
*resultobj
= 0;
23152 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23156 PyObject
*swig_obj
[1] ;
23158 if (!args
) SWIG_fail
;
23159 swig_obj
[0] = args
;
23160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23161 if (!SWIG_IsOK(res1
)) {
23162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23164 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 result
= (bool)(arg1
)->CanBeToggled();
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23180 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23181 PyObject
*resultobj
= 0;
23182 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23183 wxBitmap
*result
= 0 ;
23186 PyObject
*swig_obj
[1] ;
23188 if (!args
) SWIG_fail
;
23189 swig_obj
[0] = args
;
23190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23191 if (!SWIG_IsOK(res1
)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23194 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23199 result
= (wxBitmap
*) &_result_ref
;
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23205 wxBitmap
* resultptr
= new wxBitmap(*result
);
23206 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23214 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23215 PyObject
*resultobj
= 0;
23216 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23217 wxBitmap
*result
= 0 ;
23220 PyObject
*swig_obj
[1] ;
23222 if (!args
) SWIG_fail
;
23223 swig_obj
[0] = args
;
23224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23225 if (!SWIG_IsOK(res1
)) {
23226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23228 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23233 result
= (wxBitmap
*) &_result_ref
;
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23239 wxBitmap
* resultptr
= new wxBitmap(*result
);
23240 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23248 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23249 PyObject
*resultobj
= 0;
23250 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23254 PyObject
*swig_obj
[1] ;
23256 if (!args
) SWIG_fail
;
23257 swig_obj
[0] = args
;
23258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23259 if (!SWIG_IsOK(res1
)) {
23260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23262 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 result
= (arg1
)->GetBitmap();
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23269 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23276 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23277 PyObject
*resultobj
= 0;
23278 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23282 PyObject
*swig_obj
[1] ;
23284 if (!args
) SWIG_fail
;
23285 swig_obj
[0] = args
;
23286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23287 if (!SWIG_IsOK(res1
)) {
23288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23290 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 result
= (arg1
)->GetLabel();
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23310 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23311 PyObject
*resultobj
= 0;
23312 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23316 PyObject
*swig_obj
[1] ;
23318 if (!args
) SWIG_fail
;
23319 swig_obj
[0] = args
;
23320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23321 if (!SWIG_IsOK(res1
)) {
23322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23324 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 result
= (arg1
)->GetShortHelp();
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23344 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23345 PyObject
*resultobj
= 0;
23346 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23350 PyObject
*swig_obj
[1] ;
23352 if (!args
) SWIG_fail
;
23353 swig_obj
[0] = args
;
23354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23355 if (!SWIG_IsOK(res1
)) {
23356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23358 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23361 result
= (arg1
)->GetLongHelp();
23362 wxPyEndAllowThreads(__tstate
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23378 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
= 0;
23380 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23387 PyObject
* obj0
= 0 ;
23388 PyObject
* obj1
= 0 ;
23389 char * kwnames
[] = {
23390 (char *) "self",(char *) "enable", NULL
23393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23395 if (!SWIG_IsOK(res1
)) {
23396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23398 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23399 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23400 if (!SWIG_IsOK(ecode2
)) {
23401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23403 arg2
= static_cast< bool >(val2
);
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 result
= (bool)(arg1
)->Enable(arg2
);
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23419 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23420 PyObject
*resultobj
= 0;
23421 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23424 PyObject
*swig_obj
[1] ;
23426 if (!args
) SWIG_fail
;
23427 swig_obj
[0] = args
;
23428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23429 if (!SWIG_IsOK(res1
)) {
23430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23432 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= SWIG_Py_Void();
23446 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23447 PyObject
*resultobj
= 0;
23448 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23455 PyObject
* obj0
= 0 ;
23456 PyObject
* obj1
= 0 ;
23457 char * kwnames
[] = {
23458 (char *) "self",(char *) "toggle", NULL
23461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23463 if (!SWIG_IsOK(res1
)) {
23464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23466 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23467 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23468 if (!SWIG_IsOK(ecode2
)) {
23469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23471 arg2
= static_cast< bool >(val2
);
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= (bool)(arg1
)->SetToggle(arg2
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23487 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
= 0;
23489 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23490 wxString
*arg2
= 0 ;
23494 bool temp2
= false ;
23495 PyObject
* obj0
= 0 ;
23496 PyObject
* obj1
= 0 ;
23497 char * kwnames
[] = {
23498 (char *) "self",(char *) "help", NULL
23501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23503 if (!SWIG_IsOK(res1
)) {
23504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23506 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23508 arg2
= wxString_in_helper(obj1
);
23509 if (arg2
== NULL
) SWIG_fail
;
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23535 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23536 PyObject
*resultobj
= 0;
23537 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23538 wxString
*arg2
= 0 ;
23542 bool temp2
= false ;
23543 PyObject
* obj0
= 0 ;
23544 PyObject
* obj1
= 0 ;
23545 char * kwnames
[] = {
23546 (char *) "self",(char *) "help", NULL
23549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23551 if (!SWIG_IsOK(res1
)) {
23552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23554 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23556 arg2
= wxString_in_helper(obj1
);
23557 if (arg2
== NULL
) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23583 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
= 0;
23585 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23586 wxBitmap
*arg2
= 0 ;
23591 PyObject
* obj0
= 0 ;
23592 PyObject
* obj1
= 0 ;
23593 char * kwnames
[] = {
23594 (char *) "self",(char *) "bmp", NULL
23597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23599 if (!SWIG_IsOK(res1
)) {
23600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23602 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23603 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23604 if (!SWIG_IsOK(res2
)) {
23605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23610 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23617 resultobj
= SWIG_Py_Void();
23624 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
= 0;
23626 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23627 wxBitmap
*arg2
= 0 ;
23632 PyObject
* obj0
= 0 ;
23633 PyObject
* obj1
= 0 ;
23634 char * kwnames
[] = {
23635 (char *) "self",(char *) "bmp", NULL
23638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23640 if (!SWIG_IsOK(res1
)) {
23641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23643 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23645 if (!SWIG_IsOK(res2
)) {
23646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23651 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23654 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23658 resultobj
= SWIG_Py_Void();
23665 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23666 PyObject
*resultobj
= 0;
23667 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23668 wxString
*arg2
= 0 ;
23671 bool temp2
= false ;
23672 PyObject
* obj0
= 0 ;
23673 PyObject
* obj1
= 0 ;
23674 char * kwnames
[] = {
23675 (char *) "self",(char *) "label", NULL
23678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23680 if (!SWIG_IsOK(res1
)) {
23681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23683 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23685 arg2
= wxString_in_helper(obj1
);
23686 if (arg2
== NULL
) SWIG_fail
;
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 (arg1
)->SetLabel((wxString
const &)*arg2
);
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 resultobj
= SWIG_Py_Void();
23710 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23711 PyObject
*resultobj
= 0;
23712 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23715 PyObject
*swig_obj
[1] ;
23717 if (!args
) SWIG_fail
;
23718 swig_obj
[0] = args
;
23719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23720 if (!SWIG_IsOK(res1
)) {
23721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23723 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= SWIG_Py_Void();
23737 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
= 0;
23739 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23740 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23745 PyObject
* obj0
= 0 ;
23746 PyObject
* obj1
= 0 ;
23747 char * kwnames
[] = {
23748 (char *) "self",(char *) "tbar", NULL
23751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23753 if (!SWIG_IsOK(res1
)) {
23754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23756 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23757 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23758 if (!SWIG_IsOK(res2
)) {
23759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23761 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 (arg1
)->Attach(arg2
);
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= SWIG_Py_Void();
23775 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23776 PyObject
*resultobj
= 0;
23777 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23778 PyObject
*result
= 0 ;
23781 PyObject
*swig_obj
[1] ;
23783 if (!args
) SWIG_fail
;
23784 swig_obj
[0] = args
;
23785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23786 if (!SWIG_IsOK(res1
)) {
23787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23789 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 resultobj
= result
;
23803 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
= 0;
23805 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23806 PyObject
*arg2
= (PyObject
*) 0 ;
23809 PyObject
* obj0
= 0 ;
23810 PyObject
* obj1
= 0 ;
23811 char * kwnames
[] = {
23812 (char *) "self",(char *) "clientData", NULL
23815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23817 if (!SWIG_IsOK(res1
)) {
23818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23820 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 resultobj
= SWIG_Py_Void();
23835 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23838 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23839 return SWIG_Py_Void();
23842 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23843 PyObject
*resultobj
= 0;
23844 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23846 wxString
*arg3
= 0 ;
23847 wxBitmap
*arg4
= 0 ;
23848 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23849 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23850 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23851 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23852 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23853 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23854 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23855 PyObject
*arg9
= (PyObject
*) NULL
;
23856 wxToolBarToolBase
*result
= 0 ;
23861 bool temp3
= false ;
23868 bool temp7
= false ;
23869 bool temp8
= false ;
23870 PyObject
* obj0
= 0 ;
23871 PyObject
* obj1
= 0 ;
23872 PyObject
* obj2
= 0 ;
23873 PyObject
* obj3
= 0 ;
23874 PyObject
* obj4
= 0 ;
23875 PyObject
* obj5
= 0 ;
23876 PyObject
* obj6
= 0 ;
23877 PyObject
* obj7
= 0 ;
23878 PyObject
* obj8
= 0 ;
23879 char * kwnames
[] = {
23880 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23885 if (!SWIG_IsOK(res1
)) {
23886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23888 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23890 if (!SWIG_IsOK(ecode2
)) {
23891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23893 arg2
= static_cast< int >(val2
);
23895 arg3
= wxString_in_helper(obj2
);
23896 if (arg3
== NULL
) SWIG_fail
;
23899 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23900 if (!SWIG_IsOK(res4
)) {
23901 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23906 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23908 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23909 if (!SWIG_IsOK(res5
)) {
23910 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23915 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23918 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23919 if (!SWIG_IsOK(ecode6
)) {
23920 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23922 arg6
= static_cast< wxItemKind
>(val6
);
23926 arg7
= wxString_in_helper(obj6
);
23927 if (arg7
== NULL
) SWIG_fail
;
23933 arg8
= wxString_in_helper(obj7
);
23934 if (arg8
== NULL
) SWIG_fail
;
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23948 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23980 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23981 PyObject
*resultobj
= 0;
23982 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23985 wxString
*arg4
= 0 ;
23986 wxBitmap
*arg5
= 0 ;
23987 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23988 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23989 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23990 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23991 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23992 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23993 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23994 PyObject
*arg10
= (PyObject
*) NULL
;
23995 wxToolBarToolBase
*result
= 0 ;
24002 bool temp4
= false ;
24009 bool temp8
= false ;
24010 bool temp9
= false ;
24011 PyObject
* obj0
= 0 ;
24012 PyObject
* obj1
= 0 ;
24013 PyObject
* obj2
= 0 ;
24014 PyObject
* obj3
= 0 ;
24015 PyObject
* obj4
= 0 ;
24016 PyObject
* obj5
= 0 ;
24017 PyObject
* obj6
= 0 ;
24018 PyObject
* obj7
= 0 ;
24019 PyObject
* obj8
= 0 ;
24020 PyObject
* obj9
= 0 ;
24021 char * kwnames
[] = {
24022 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24027 if (!SWIG_IsOK(res1
)) {
24028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24030 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24031 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24032 if (!SWIG_IsOK(ecode2
)) {
24033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24035 arg2
= static_cast< size_t >(val2
);
24036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24037 if (!SWIG_IsOK(ecode3
)) {
24038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24040 arg3
= static_cast< int >(val3
);
24042 arg4
= wxString_in_helper(obj3
);
24043 if (arg4
== NULL
) SWIG_fail
;
24046 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24047 if (!SWIG_IsOK(res5
)) {
24048 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24053 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24055 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24056 if (!SWIG_IsOK(res6
)) {
24057 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24062 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24065 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24066 if (!SWIG_IsOK(ecode7
)) {
24067 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24069 arg7
= static_cast< wxItemKind
>(val7
);
24073 arg8
= wxString_in_helper(obj7
);
24074 if (arg8
== NULL
) SWIG_fail
;
24080 arg9
= wxString_in_helper(obj8
);
24081 if (arg9
== NULL
) SWIG_fail
;
24089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24095 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24127 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
= 0;
24129 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24130 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24131 wxToolBarToolBase
*result
= 0 ;
24136 PyObject
* obj0
= 0 ;
24137 PyObject
* obj1
= 0 ;
24138 char * kwnames
[] = {
24139 (char *) "self",(char *) "tool", NULL
24142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24144 if (!SWIG_IsOK(res1
)) {
24145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24147 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24148 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24149 if (!SWIG_IsOK(res2
)) {
24150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24152 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24156 wxPyEndAllowThreads(__tstate
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24160 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24168 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
= 0;
24170 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24172 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24173 wxToolBarToolBase
*result
= 0 ;
24180 PyObject
* obj0
= 0 ;
24181 PyObject
* obj1
= 0 ;
24182 PyObject
* obj2
= 0 ;
24183 char * kwnames
[] = {
24184 (char *) "self",(char *) "pos",(char *) "tool", NULL
24187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24189 if (!SWIG_IsOK(res1
)) {
24190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24192 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24193 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24194 if (!SWIG_IsOK(ecode2
)) {
24195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24197 arg2
= static_cast< size_t >(val2
);
24198 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24199 if (!SWIG_IsOK(res3
)) {
24200 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24202 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24206 wxPyEndAllowThreads(__tstate
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24210 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24218 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24219 PyObject
*resultobj
= 0;
24220 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24221 wxControl
*arg2
= (wxControl
*) 0 ;
24222 wxToolBarToolBase
*result
= 0 ;
24227 PyObject
* obj0
= 0 ;
24228 PyObject
* obj1
= 0 ;
24229 char * kwnames
[] = {
24230 (char *) "self",(char *) "control", NULL
24233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24235 if (!SWIG_IsOK(res1
)) {
24236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24238 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24240 if (!SWIG_IsOK(res2
)) {
24241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24243 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24246 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24247 wxPyEndAllowThreads(__tstate
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24251 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24259 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
= 0;
24261 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24263 wxControl
*arg3
= (wxControl
*) 0 ;
24264 wxToolBarToolBase
*result
= 0 ;
24271 PyObject
* obj0
= 0 ;
24272 PyObject
* obj1
= 0 ;
24273 PyObject
* obj2
= 0 ;
24274 char * kwnames
[] = {
24275 (char *) "self",(char *) "pos",(char *) "control", NULL
24278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24280 if (!SWIG_IsOK(res1
)) {
24281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24283 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24284 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24285 if (!SWIG_IsOK(ecode2
)) {
24286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24288 arg2
= static_cast< size_t >(val2
);
24289 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24290 if (!SWIG_IsOK(res3
)) {
24291 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24293 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24297 wxPyEndAllowThreads(__tstate
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24301 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24309 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
= 0;
24311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24313 wxControl
*result
= 0 ;
24318 PyObject
* obj0
= 0 ;
24319 PyObject
* obj1
= 0 ;
24320 char * kwnames
[] = {
24321 (char *) "self",(char *) "id", NULL
24324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24326 if (!SWIG_IsOK(res1
)) {
24327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24329 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24331 if (!SWIG_IsOK(ecode2
)) {
24332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24334 arg2
= static_cast< int >(val2
);
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24338 wxPyEndAllowThreads(__tstate
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24342 resultobj
= wxPyMake_wxObject(result
, 0);
24350 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24351 PyObject
*resultobj
= 0;
24352 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24353 wxToolBarToolBase
*result
= 0 ;
24356 PyObject
*swig_obj
[1] ;
24358 if (!args
) SWIG_fail
;
24359 swig_obj
[0] = args
;
24360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24361 if (!SWIG_IsOK(res1
)) {
24362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24364 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24380 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
= 0;
24382 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24384 wxToolBarToolBase
*result
= 0 ;
24389 PyObject
* obj0
= 0 ;
24390 PyObject
* obj1
= 0 ;
24391 char * kwnames
[] = {
24392 (char *) "self",(char *) "pos", NULL
24395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24397 if (!SWIG_IsOK(res1
)) {
24398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24400 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24401 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24402 if (!SWIG_IsOK(ecode2
)) {
24403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24405 arg2
= static_cast< size_t >(val2
);
24407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24408 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24413 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24421 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
= 0;
24423 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24425 wxToolBarToolBase
*result
= 0 ;
24430 PyObject
* obj0
= 0 ;
24431 PyObject
* obj1
= 0 ;
24432 char * kwnames
[] = {
24433 (char *) "self",(char *) "id", NULL
24436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24438 if (!SWIG_IsOK(res1
)) {
24439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24441 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24443 if (!SWIG_IsOK(ecode2
)) {
24444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24446 arg2
= static_cast< int >(val2
);
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24454 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24462 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
= 0;
24464 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24471 PyObject
* obj0
= 0 ;
24472 PyObject
* obj1
= 0 ;
24473 char * kwnames
[] = {
24474 (char *) "self",(char *) "pos", NULL
24477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24479 if (!SWIG_IsOK(res1
)) {
24480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24482 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24483 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24484 if (!SWIG_IsOK(ecode2
)) {
24485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24487 arg2
= static_cast< size_t >(val2
);
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24503 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24504 PyObject
*resultobj
= 0;
24505 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24512 PyObject
* obj0
= 0 ;
24513 PyObject
* obj1
= 0 ;
24514 char * kwnames
[] = {
24515 (char *) "self",(char *) "id", NULL
24518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24520 if (!SWIG_IsOK(res1
)) {
24521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24523 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24525 if (!SWIG_IsOK(ecode2
)) {
24526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24528 arg2
= static_cast< int >(val2
);
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= (bool)(arg1
)->DeleteTool(arg2
);
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24544 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24545 PyObject
*resultobj
= 0;
24546 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24549 PyObject
*swig_obj
[1] ;
24551 if (!args
) SWIG_fail
;
24552 swig_obj
[0] = args
;
24553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24554 if (!SWIG_IsOK(res1
)) {
24555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24557 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 (arg1
)->ClearTools();
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24564 resultobj
= SWIG_Py_Void();
24571 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24572 PyObject
*resultobj
= 0;
24573 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24577 PyObject
*swig_obj
[1] ;
24579 if (!args
) SWIG_fail
;
24580 swig_obj
[0] = args
;
24581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24582 if (!SWIG_IsOK(res1
)) {
24583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24585 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24588 result
= (bool)(arg1
)->Realize();
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24601 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
= 0;
24603 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24612 PyObject
* obj0
= 0 ;
24613 PyObject
* obj1
= 0 ;
24614 PyObject
* obj2
= 0 ;
24615 char * kwnames
[] = {
24616 (char *) "self",(char *) "id",(char *) "enable", NULL
24619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24621 if (!SWIG_IsOK(res1
)) {
24622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24624 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24626 if (!SWIG_IsOK(ecode2
)) {
24627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24629 arg2
= static_cast< int >(val2
);
24630 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24631 if (!SWIG_IsOK(ecode3
)) {
24632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24634 arg3
= static_cast< bool >(val3
);
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 (arg1
)->EnableTool(arg2
,arg3
);
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24641 resultobj
= SWIG_Py_Void();
24648 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
= 0;
24650 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24659 PyObject
* obj0
= 0 ;
24660 PyObject
* obj1
= 0 ;
24661 PyObject
* obj2
= 0 ;
24662 char * kwnames
[] = {
24663 (char *) "self",(char *) "id",(char *) "toggle", NULL
24666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24668 if (!SWIG_IsOK(res1
)) {
24669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24671 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24673 if (!SWIG_IsOK(ecode2
)) {
24674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24676 arg2
= static_cast< int >(val2
);
24677 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24678 if (!SWIG_IsOK(ecode3
)) {
24679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24681 arg3
= static_cast< bool >(val3
);
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 (arg1
)->ToggleTool(arg2
,arg3
);
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24688 resultobj
= SWIG_Py_Void();
24695 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
= 0;
24697 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24706 PyObject
* obj0
= 0 ;
24707 PyObject
* obj1
= 0 ;
24708 PyObject
* obj2
= 0 ;
24709 char * kwnames
[] = {
24710 (char *) "self",(char *) "id",(char *) "toggle", NULL
24713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24715 if (!SWIG_IsOK(res1
)) {
24716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24718 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24720 if (!SWIG_IsOK(ecode2
)) {
24721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24723 arg2
= static_cast< int >(val2
);
24724 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24725 if (!SWIG_IsOK(ecode3
)) {
24726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24728 arg3
= static_cast< bool >(val3
);
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 (arg1
)->SetToggle(arg2
,arg3
);
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= SWIG_Py_Void();
24742 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
= 0;
24744 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24746 PyObject
*result
= 0 ;
24751 PyObject
* obj0
= 0 ;
24752 PyObject
* obj1
= 0 ;
24753 char * kwnames
[] = {
24754 (char *) "self",(char *) "id", NULL
24757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24759 if (!SWIG_IsOK(res1
)) {
24760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24762 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24764 if (!SWIG_IsOK(ecode2
)) {
24765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24767 arg2
= static_cast< int >(val2
);
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24771 wxPyEndAllowThreads(__tstate
);
24772 if (PyErr_Occurred()) SWIG_fail
;
24774 resultobj
= result
;
24781 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24782 PyObject
*resultobj
= 0;
24783 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24785 PyObject
*arg3
= (PyObject
*) 0 ;
24790 PyObject
* obj0
= 0 ;
24791 PyObject
* obj1
= 0 ;
24792 PyObject
* obj2
= 0 ;
24793 char * kwnames
[] = {
24794 (char *) "self",(char *) "id",(char *) "clientData", NULL
24797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24799 if (!SWIG_IsOK(res1
)) {
24800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24802 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24804 if (!SWIG_IsOK(ecode2
)) {
24805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24807 arg2
= static_cast< int >(val2
);
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24815 resultobj
= SWIG_Py_Void();
24822 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
= 0;
24824 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24831 PyObject
* obj0
= 0 ;
24832 PyObject
* obj1
= 0 ;
24833 char * kwnames
[] = {
24834 (char *) "self",(char *) "id", NULL
24837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24839 if (!SWIG_IsOK(res1
)) {
24840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24842 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24844 if (!SWIG_IsOK(ecode2
)) {
24845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24847 arg2
= static_cast< int >(val2
);
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 resultobj
= SWIG_From_int(static_cast< int >(result
));
24861 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
= 0;
24863 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24870 PyObject
* obj0
= 0 ;
24871 PyObject
* obj1
= 0 ;
24872 char * kwnames
[] = {
24873 (char *) "self",(char *) "id", NULL
24876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24878 if (!SWIG_IsOK(res1
)) {
24879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24881 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24883 if (!SWIG_IsOK(ecode2
)) {
24884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24886 arg2
= static_cast< int >(val2
);
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 result
= (bool)(arg1
)->GetToolState(arg2
);
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24902 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24903 PyObject
*resultobj
= 0;
24904 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24911 PyObject
* obj0
= 0 ;
24912 PyObject
* obj1
= 0 ;
24913 char * kwnames
[] = {
24914 (char *) "self",(char *) "id", NULL
24917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24919 if (!SWIG_IsOK(res1
)) {
24920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24922 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24924 if (!SWIG_IsOK(ecode2
)) {
24925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24927 arg2
= static_cast< int >(val2
);
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24943 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24944 PyObject
*resultobj
= 0;
24945 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24947 wxString
*arg3
= 0 ;
24952 bool temp3
= false ;
24953 PyObject
* obj0
= 0 ;
24954 PyObject
* obj1
= 0 ;
24955 PyObject
* obj2
= 0 ;
24956 char * kwnames
[] = {
24957 (char *) "self",(char *) "id",(char *) "helpString", NULL
24960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24962 if (!SWIG_IsOK(res1
)) {
24963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24965 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24967 if (!SWIG_IsOK(ecode2
)) {
24968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24970 arg2
= static_cast< int >(val2
);
24972 arg3
= wxString_in_helper(obj2
);
24973 if (arg3
== NULL
) SWIG_fail
;
24977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24979 wxPyEndAllowThreads(__tstate
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= SWIG_Py_Void();
24997 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
= 0;
24999 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25006 PyObject
* obj0
= 0 ;
25007 PyObject
* obj1
= 0 ;
25008 char * kwnames
[] = {
25009 (char *) "self",(char *) "id", NULL
25012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25014 if (!SWIG_IsOK(res1
)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25017 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25019 if (!SWIG_IsOK(ecode2
)) {
25020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25022 arg2
= static_cast< int >(val2
);
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 result
= (arg1
)->GetToolShortHelp(arg2
);
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25042 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
= 0;
25044 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25046 wxString
*arg3
= 0 ;
25051 bool temp3
= false ;
25052 PyObject
* obj0
= 0 ;
25053 PyObject
* obj1
= 0 ;
25054 PyObject
* obj2
= 0 ;
25055 char * kwnames
[] = {
25056 (char *) "self",(char *) "id",(char *) "helpString", NULL
25059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25061 if (!SWIG_IsOK(res1
)) {
25062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25064 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25066 if (!SWIG_IsOK(ecode2
)) {
25067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25069 arg2
= static_cast< int >(val2
);
25071 arg3
= wxString_in_helper(obj2
);
25072 if (arg3
== NULL
) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25078 wxPyEndAllowThreads(__tstate
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25081 resultobj
= SWIG_Py_Void();
25096 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25097 PyObject
*resultobj
= 0;
25098 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25105 PyObject
* obj0
= 0 ;
25106 PyObject
* obj1
= 0 ;
25107 char * kwnames
[] = {
25108 (char *) "self",(char *) "id", NULL
25111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25113 if (!SWIG_IsOK(res1
)) {
25114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25116 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25118 if (!SWIG_IsOK(ecode2
)) {
25119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25121 arg2
= static_cast< int >(val2
);
25123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25124 result
= (arg1
)->GetToolLongHelp(arg2
);
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25141 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25142 PyObject
*resultobj
= 0;
25143 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25152 PyObject
* obj0
= 0 ;
25153 PyObject
* obj1
= 0 ;
25154 PyObject
* obj2
= 0 ;
25155 char * kwnames
[] = {
25156 (char *) "self",(char *) "x",(char *) "y", NULL
25159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25161 if (!SWIG_IsOK(res1
)) {
25162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25164 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25166 if (!SWIG_IsOK(ecode2
)) {
25167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25169 arg2
= static_cast< int >(val2
);
25170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25171 if (!SWIG_IsOK(ecode3
)) {
25172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25174 arg3
= static_cast< int >(val3
);
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 (arg1
)->SetMargins(arg2
,arg3
);
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25181 resultobj
= SWIG_Py_Void();
25188 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
= 0;
25190 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25195 PyObject
* obj0
= 0 ;
25196 PyObject
* obj1
= 0 ;
25197 char * kwnames
[] = {
25198 (char *) "self",(char *) "size", NULL
25201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25203 if (!SWIG_IsOK(res1
)) {
25204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25206 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25209 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25217 resultobj
= SWIG_Py_Void();
25224 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
= 0;
25226 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25232 PyObject
* obj0
= 0 ;
25233 PyObject
* obj1
= 0 ;
25234 char * kwnames
[] = {
25235 (char *) "self",(char *) "packing", NULL
25238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25240 if (!SWIG_IsOK(res1
)) {
25241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25243 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25245 if (!SWIG_IsOK(ecode2
)) {
25246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25248 arg2
= static_cast< int >(val2
);
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 (arg1
)->SetToolPacking(arg2
);
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= SWIG_Py_Void();
25262 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25263 PyObject
*resultobj
= 0;
25264 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25270 PyObject
* obj0
= 0 ;
25271 PyObject
* obj1
= 0 ;
25272 char * kwnames
[] = {
25273 (char *) "self",(char *) "separation", NULL
25276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25278 if (!SWIG_IsOK(res1
)) {
25279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25281 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25283 if (!SWIG_IsOK(ecode2
)) {
25284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25286 arg2
= static_cast< int >(val2
);
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 (arg1
)->SetToolSeparation(arg2
);
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25293 resultobj
= SWIG_Py_Void();
25300 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25301 PyObject
*resultobj
= 0;
25302 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25306 PyObject
*swig_obj
[1] ;
25308 if (!args
) SWIG_fail
;
25309 swig_obj
[0] = args
;
25310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25311 if (!SWIG_IsOK(res1
)) {
25312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25314 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 result
= (arg1
)->GetToolMargins();
25318 wxPyEndAllowThreads(__tstate
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25321 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25328 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25329 PyObject
*resultobj
= 0;
25330 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25334 PyObject
*swig_obj
[1] ;
25336 if (!args
) SWIG_fail
;
25337 swig_obj
[0] = args
;
25338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25339 if (!SWIG_IsOK(res1
)) {
25340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25342 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 result
= (arg1
)->GetMargins();
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25356 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25357 PyObject
*resultobj
= 0;
25358 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25362 PyObject
*swig_obj
[1] ;
25364 if (!args
) SWIG_fail
;
25365 swig_obj
[0] = args
;
25366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25367 if (!SWIG_IsOK(res1
)) {
25368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25370 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 result
= (int)(arg1
)->GetToolPacking();
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25377 resultobj
= SWIG_From_int(static_cast< int >(result
));
25384 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25385 PyObject
*resultobj
= 0;
25386 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25390 PyObject
*swig_obj
[1] ;
25392 if (!args
) SWIG_fail
;
25393 swig_obj
[0] = args
;
25394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25395 if (!SWIG_IsOK(res1
)) {
25396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25398 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 result
= (int)(arg1
)->GetToolSeparation();
25402 wxPyEndAllowThreads(__tstate
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 resultobj
= SWIG_From_int(static_cast< int >(result
));
25412 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
= 0;
25414 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25420 PyObject
* obj0
= 0 ;
25421 PyObject
* obj1
= 0 ;
25422 char * kwnames
[] = {
25423 (char *) "self",(char *) "nRows", NULL
25426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25428 if (!SWIG_IsOK(res1
)) {
25429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25431 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25433 if (!SWIG_IsOK(ecode2
)) {
25434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25436 arg2
= static_cast< int >(val2
);
25438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25439 (arg1
)->SetRows(arg2
);
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25443 resultobj
= SWIG_Py_Void();
25450 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25451 PyObject
*resultobj
= 0;
25452 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25461 PyObject
* obj0
= 0 ;
25462 PyObject
* obj1
= 0 ;
25463 PyObject
* obj2
= 0 ;
25464 char * kwnames
[] = {
25465 (char *) "self",(char *) "rows",(char *) "cols", NULL
25468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25470 if (!SWIG_IsOK(res1
)) {
25471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25473 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25475 if (!SWIG_IsOK(ecode2
)) {
25476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25478 arg2
= static_cast< int >(val2
);
25479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25480 if (!SWIG_IsOK(ecode3
)) {
25481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25483 arg3
= static_cast< int >(val3
);
25485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25486 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25487 wxPyEndAllowThreads(__tstate
);
25488 if (PyErr_Occurred()) SWIG_fail
;
25490 resultobj
= SWIG_Py_Void();
25497 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25498 PyObject
*resultobj
= 0;
25499 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25503 PyObject
*swig_obj
[1] ;
25505 if (!args
) SWIG_fail
;
25506 swig_obj
[0] = args
;
25507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25508 if (!SWIG_IsOK(res1
)) {
25509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25511 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 result
= (int)(arg1
)->GetMaxRows();
25515 wxPyEndAllowThreads(__tstate
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25518 resultobj
= SWIG_From_int(static_cast< int >(result
));
25525 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25526 PyObject
*resultobj
= 0;
25527 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25531 PyObject
*swig_obj
[1] ;
25533 if (!args
) SWIG_fail
;
25534 swig_obj
[0] = args
;
25535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25536 if (!SWIG_IsOK(res1
)) {
25537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25539 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25542 result
= (int)(arg1
)->GetMaxCols();
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 resultobj
= SWIG_From_int(static_cast< int >(result
));
25553 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25554 PyObject
*resultobj
= 0;
25555 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25560 PyObject
* obj0
= 0 ;
25561 PyObject
* obj1
= 0 ;
25562 char * kwnames
[] = {
25563 (char *) "self",(char *) "size", NULL
25566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25568 if (!SWIG_IsOK(res1
)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25571 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25574 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= SWIG_Py_Void();
25589 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25590 PyObject
*resultobj
= 0;
25591 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25595 PyObject
*swig_obj
[1] ;
25597 if (!args
) SWIG_fail
;
25598 swig_obj
[0] = args
;
25599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25600 if (!SWIG_IsOK(res1
)) {
25601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25603 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 result
= (arg1
)->GetToolBitmapSize();
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25610 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25617 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25618 PyObject
*resultobj
= 0;
25619 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25623 PyObject
*swig_obj
[1] ;
25625 if (!args
) SWIG_fail
;
25626 swig_obj
[0] = args
;
25627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25628 if (!SWIG_IsOK(res1
)) {
25629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25631 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 result
= (arg1
)->GetToolSize();
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25638 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25645 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25646 PyObject
*resultobj
= 0;
25647 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25650 wxToolBarToolBase
*result
= 0 ;
25657 PyObject
* obj0
= 0 ;
25658 PyObject
* obj1
= 0 ;
25659 PyObject
* obj2
= 0 ;
25660 char * kwnames
[] = {
25661 (char *) "self",(char *) "x",(char *) "y", NULL
25664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25666 if (!SWIG_IsOK(res1
)) {
25667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25669 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25671 if (!SWIG_IsOK(ecode2
)) {
25672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25674 arg2
= static_cast< int >(val2
);
25675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25676 if (!SWIG_IsOK(ecode3
)) {
25677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25679 arg3
= static_cast< int >(val3
);
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25683 wxPyEndAllowThreads(__tstate
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25687 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25695 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
= 0;
25697 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25699 wxToolBarToolBase
*result
= 0 ;
25704 PyObject
* obj0
= 0 ;
25705 PyObject
* obj1
= 0 ;
25706 char * kwnames
[] = {
25707 (char *) "self",(char *) "toolid", NULL
25710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25712 if (!SWIG_IsOK(res1
)) {
25713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25715 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25717 if (!SWIG_IsOK(ecode2
)) {
25718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25720 arg2
= static_cast< int >(val2
);
25722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25724 wxPyEndAllowThreads(__tstate
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25728 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25736 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25737 PyObject
*resultobj
= 0;
25738 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25742 PyObject
*swig_obj
[1] ;
25744 if (!args
) SWIG_fail
;
25745 swig_obj
[0] = args
;
25746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25747 if (!SWIG_IsOK(res1
)) {
25748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25750 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 result
= (bool)(arg1
)->IsVertical();
25754 wxPyEndAllowThreads(__tstate
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25766 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25767 PyObject
*resultobj
= 0;
25768 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25772 PyObject
*swig_obj
[1] ;
25774 if (!args
) SWIG_fail
;
25775 swig_obj
[0] = args
;
25776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25777 if (!SWIG_IsOK(res1
)) {
25778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25780 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25794 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25796 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25797 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25798 return SWIG_Py_Void();
25801 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
= 0;
25803 wxWindow
*arg1
= (wxWindow
*) 0 ;
25804 int arg2
= (int) -1 ;
25805 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25806 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25807 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25808 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25809 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25810 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25811 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25812 wxToolBar
*result
= 0 ;
25821 bool temp6
= false ;
25822 PyObject
* obj0
= 0 ;
25823 PyObject
* obj1
= 0 ;
25824 PyObject
* obj2
= 0 ;
25825 PyObject
* obj3
= 0 ;
25826 PyObject
* obj4
= 0 ;
25827 PyObject
* obj5
= 0 ;
25828 char * kwnames
[] = {
25829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25834 if (!SWIG_IsOK(res1
)) {
25835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25840 if (!SWIG_IsOK(ecode2
)) {
25841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25843 arg2
= static_cast< int >(val2
);
25848 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25854 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25858 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25859 if (!SWIG_IsOK(ecode5
)) {
25860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25862 arg5
= static_cast< long >(val5
);
25866 arg6
= wxString_in_helper(obj5
);
25867 if (arg6
== NULL
) SWIG_fail
;
25872 if (!wxPyCheckForApp()) SWIG_fail
;
25873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25874 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25875 wxPyEndAllowThreads(__tstate
);
25876 if (PyErr_Occurred()) SWIG_fail
;
25878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25893 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25894 PyObject
*resultobj
= 0;
25895 wxToolBar
*result
= 0 ;
25897 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25899 if (!wxPyCheckForApp()) SWIG_fail
;
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 result
= (wxToolBar
*)new wxToolBar();
25902 wxPyEndAllowThreads(__tstate
);
25903 if (PyErr_Occurred()) SWIG_fail
;
25905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25912 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25913 PyObject
*resultobj
= 0;
25914 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25915 wxWindow
*arg2
= (wxWindow
*) 0 ;
25916 int arg3
= (int) -1 ;
25917 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25918 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25919 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25920 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25921 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25922 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25923 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25935 bool temp7
= false ;
25936 PyObject
* obj0
= 0 ;
25937 PyObject
* obj1
= 0 ;
25938 PyObject
* obj2
= 0 ;
25939 PyObject
* obj3
= 0 ;
25940 PyObject
* obj4
= 0 ;
25941 PyObject
* obj5
= 0 ;
25942 PyObject
* obj6
= 0 ;
25943 char * kwnames
[] = {
25944 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25949 if (!SWIG_IsOK(res1
)) {
25950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25952 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25953 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25954 if (!SWIG_IsOK(res2
)) {
25955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25957 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25960 if (!SWIG_IsOK(ecode3
)) {
25961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25963 arg3
= static_cast< int >(val3
);
25968 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25974 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25978 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25979 if (!SWIG_IsOK(ecode6
)) {
25980 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25982 arg6
= static_cast< long >(val6
);
25986 arg7
= wxString_in_helper(obj6
);
25987 if (arg7
== NULL
) SWIG_fail
;
25992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25993 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25994 wxPyEndAllowThreads(__tstate
);
25995 if (PyErr_Occurred()) SWIG_fail
;
25998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26014 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
= 0;
26016 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26017 SwigValueWrapper
<wxVisualAttributes
> result
;
26020 PyObject
* obj0
= 0 ;
26021 char * kwnames
[] = {
26022 (char *) "variant", NULL
26025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26027 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26028 if (!SWIG_IsOK(ecode1
)) {
26029 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26031 arg1
= static_cast< wxWindowVariant
>(val1
);
26034 if (!wxPyCheckForApp()) SWIG_fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26037 wxPyEndAllowThreads(__tstate
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26040 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26047 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26050 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26051 return SWIG_Py_Void();
26054 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26055 return SWIG_Python_InitShadowInstance(args
);
26058 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26059 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26064 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26065 PyObject
*pyobj
= 0;
26069 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26071 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26078 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
= 0;
26080 wxColour
const &arg1_defvalue
= wxNullColour
;
26081 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26082 wxColour
const &arg2_defvalue
= wxNullColour
;
26083 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26084 wxFont
const &arg3_defvalue
= wxNullFont
;
26085 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26086 wxListItemAttr
*result
= 0 ;
26091 PyObject
* obj0
= 0 ;
26092 PyObject
* obj1
= 0 ;
26093 PyObject
* obj2
= 0 ;
26094 char * kwnames
[] = {
26095 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26102 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26108 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26112 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26113 if (!SWIG_IsOK(res3
)) {
26114 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26119 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26134 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26135 PyObject
*resultobj
= 0;
26136 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26139 PyObject
*swig_obj
[1] ;
26141 if (!args
) SWIG_fail
;
26142 swig_obj
[0] = args
;
26143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26144 if (!SWIG_IsOK(res1
)) {
26145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26147 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 wxPyEndAllowThreads(__tstate
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= SWIG_Py_Void();
26162 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
= 0;
26164 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26165 wxColour
*arg2
= 0 ;
26169 PyObject
* obj0
= 0 ;
26170 PyObject
* obj1
= 0 ;
26171 char * kwnames
[] = {
26172 (char *) "self",(char *) "colText", NULL
26175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26177 if (!SWIG_IsOK(res1
)) {
26178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26180 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26183 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26187 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 resultobj
= SWIG_Py_Void();
26198 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26199 PyObject
*resultobj
= 0;
26200 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26201 wxColour
*arg2
= 0 ;
26205 PyObject
* obj0
= 0 ;
26206 PyObject
* obj1
= 0 ;
26207 char * kwnames
[] = {
26208 (char *) "self",(char *) "colBack", NULL
26211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26213 if (!SWIG_IsOK(res1
)) {
26214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26216 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26219 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26223 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26224 wxPyEndAllowThreads(__tstate
);
26225 if (PyErr_Occurred()) SWIG_fail
;
26227 resultobj
= SWIG_Py_Void();
26234 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26235 PyObject
*resultobj
= 0;
26236 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26242 PyObject
* obj0
= 0 ;
26243 PyObject
* obj1
= 0 ;
26244 char * kwnames
[] = {
26245 (char *) "self",(char *) "font", NULL
26248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26250 if (!SWIG_IsOK(res1
)) {
26251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26253 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26255 if (!SWIG_IsOK(res2
)) {
26256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26261 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26264 (arg1
)->SetFont((wxFont
const &)*arg2
);
26265 wxPyEndAllowThreads(__tstate
);
26266 if (PyErr_Occurred()) SWIG_fail
;
26268 resultobj
= SWIG_Py_Void();
26275 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26276 PyObject
*resultobj
= 0;
26277 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26281 PyObject
*swig_obj
[1] ;
26283 if (!args
) SWIG_fail
;
26284 swig_obj
[0] = args
;
26285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26286 if (!SWIG_IsOK(res1
)) {
26287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26289 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 result
= (bool)(arg1
)->HasTextColour();
26293 wxPyEndAllowThreads(__tstate
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26305 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26306 PyObject
*resultobj
= 0;
26307 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26311 PyObject
*swig_obj
[1] ;
26313 if (!args
) SWIG_fail
;
26314 swig_obj
[0] = args
;
26315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26316 if (!SWIG_IsOK(res1
)) {
26317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26319 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 result
= (bool)(arg1
)->HasBackgroundColour();
26323 wxPyEndAllowThreads(__tstate
);
26324 if (PyErr_Occurred()) SWIG_fail
;
26327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26335 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26336 PyObject
*resultobj
= 0;
26337 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26341 PyObject
*swig_obj
[1] ;
26343 if (!args
) SWIG_fail
;
26344 swig_obj
[0] = args
;
26345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26346 if (!SWIG_IsOK(res1
)) {
26347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26349 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= (bool)(arg1
)->HasFont();
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26365 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26366 PyObject
*resultobj
= 0;
26367 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26371 PyObject
*swig_obj
[1] ;
26373 if (!args
) SWIG_fail
;
26374 swig_obj
[0] = args
;
26375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26376 if (!SWIG_IsOK(res1
)) {
26377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26379 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26382 result
= (arg1
)->GetTextColour();
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26386 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26393 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26394 PyObject
*resultobj
= 0;
26395 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26399 PyObject
*swig_obj
[1] ;
26401 if (!args
) SWIG_fail
;
26402 swig_obj
[0] = args
;
26403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26404 if (!SWIG_IsOK(res1
)) {
26405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26407 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26410 result
= (arg1
)->GetBackgroundColour();
26411 wxPyEndAllowThreads(__tstate
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26414 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26421 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26422 PyObject
*resultobj
= 0;
26423 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26427 PyObject
*swig_obj
[1] ;
26429 if (!args
) SWIG_fail
;
26430 swig_obj
[0] = args
;
26431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26432 if (!SWIG_IsOK(res1
)) {
26433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26435 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 result
= (arg1
)->GetFont();
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26449 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
= 0;
26451 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26452 wxListItemAttr
*arg2
= 0 ;
26457 PyObject
* obj0
= 0 ;
26458 PyObject
* obj1
= 0 ;
26459 char * kwnames
[] = {
26460 (char *) "self",(char *) "source", NULL
26463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26465 if (!SWIG_IsOK(res1
)) {
26466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26468 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26469 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26470 if (!SWIG_IsOK(res2
)) {
26471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26476 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26483 resultobj
= SWIG_Py_Void();
26490 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26491 PyObject
*resultobj
= 0;
26492 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26495 PyObject
*swig_obj
[1] ;
26497 if (!args
) SWIG_fail
;
26498 swig_obj
[0] = args
;
26499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26500 if (!SWIG_IsOK(res1
)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26503 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 wxListItemAttr_Destroy(arg1
);
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26510 resultobj
= SWIG_Py_Void();
26517 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26520 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26521 return SWIG_Py_Void();
26524 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26525 return SWIG_Python_InitShadowInstance(args
);
26528 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26529 PyObject
*resultobj
= 0;
26530 wxListItem
*result
= 0 ;
26532 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 result
= (wxListItem
*)new wxListItem();
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26546 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26547 PyObject
*resultobj
= 0;
26548 wxListItem
*arg1
= (wxListItem
*) 0 ;
26551 PyObject
*swig_obj
[1] ;
26553 if (!args
) SWIG_fail
;
26554 swig_obj
[0] = args
;
26555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26556 if (!SWIG_IsOK(res1
)) {
26557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26559 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26564 wxPyEndAllowThreads(__tstate
);
26565 if (PyErr_Occurred()) SWIG_fail
;
26567 resultobj
= SWIG_Py_Void();
26574 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26575 PyObject
*resultobj
= 0;
26576 wxListItem
*arg1
= (wxListItem
*) 0 ;
26579 PyObject
*swig_obj
[1] ;
26581 if (!args
) SWIG_fail
;
26582 swig_obj
[0] = args
;
26583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26584 if (!SWIG_IsOK(res1
)) {
26585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26587 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= SWIG_Py_Void();
26601 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26602 PyObject
*resultobj
= 0;
26603 wxListItem
*arg1
= (wxListItem
*) 0 ;
26606 PyObject
*swig_obj
[1] ;
26608 if (!args
) SWIG_fail
;
26609 swig_obj
[0] = args
;
26610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26611 if (!SWIG_IsOK(res1
)) {
26612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26614 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 (arg1
)->ClearAttributes();
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= SWIG_Py_Void();
26628 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
= 0;
26630 wxListItem
*arg1
= (wxListItem
*) 0 ;
26636 PyObject
* obj0
= 0 ;
26637 PyObject
* obj1
= 0 ;
26638 char * kwnames
[] = {
26639 (char *) "self",(char *) "mask", NULL
26642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26644 if (!SWIG_IsOK(res1
)) {
26645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26647 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26648 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26649 if (!SWIG_IsOK(ecode2
)) {
26650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26652 arg2
= static_cast< long >(val2
);
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26655 (arg1
)->SetMask(arg2
);
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26659 resultobj
= SWIG_Py_Void();
26666 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26667 PyObject
*resultobj
= 0;
26668 wxListItem
*arg1
= (wxListItem
*) 0 ;
26674 PyObject
* obj0
= 0 ;
26675 PyObject
* obj1
= 0 ;
26676 char * kwnames
[] = {
26677 (char *) "self",(char *) "id", NULL
26680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26682 if (!SWIG_IsOK(res1
)) {
26683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26685 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26686 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26687 if (!SWIG_IsOK(ecode2
)) {
26688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26690 arg2
= static_cast< long >(val2
);
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 (arg1
)->SetId(arg2
);
26694 wxPyEndAllowThreads(__tstate
);
26695 if (PyErr_Occurred()) SWIG_fail
;
26697 resultobj
= SWIG_Py_Void();
26704 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26705 PyObject
*resultobj
= 0;
26706 wxListItem
*arg1
= (wxListItem
*) 0 ;
26712 PyObject
* obj0
= 0 ;
26713 PyObject
* obj1
= 0 ;
26714 char * kwnames
[] = {
26715 (char *) "self",(char *) "col", NULL
26718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26720 if (!SWIG_IsOK(res1
)) {
26721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26723 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26725 if (!SWIG_IsOK(ecode2
)) {
26726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26728 arg2
= static_cast< int >(val2
);
26730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26731 (arg1
)->SetColumn(arg2
);
26732 wxPyEndAllowThreads(__tstate
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26735 resultobj
= SWIG_Py_Void();
26742 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26743 PyObject
*resultobj
= 0;
26744 wxListItem
*arg1
= (wxListItem
*) 0 ;
26750 PyObject
* obj0
= 0 ;
26751 PyObject
* obj1
= 0 ;
26752 char * kwnames
[] = {
26753 (char *) "self",(char *) "state", NULL
26756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26758 if (!SWIG_IsOK(res1
)) {
26759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26761 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26762 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26763 if (!SWIG_IsOK(ecode2
)) {
26764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26766 arg2
= static_cast< long >(val2
);
26768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26769 (arg1
)->SetState(arg2
);
26770 wxPyEndAllowThreads(__tstate
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26773 resultobj
= SWIG_Py_Void();
26780 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26781 PyObject
*resultobj
= 0;
26782 wxListItem
*arg1
= (wxListItem
*) 0 ;
26788 PyObject
* obj0
= 0 ;
26789 PyObject
* obj1
= 0 ;
26790 char * kwnames
[] = {
26791 (char *) "self",(char *) "stateMask", NULL
26794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26796 if (!SWIG_IsOK(res1
)) {
26797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26799 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26800 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26801 if (!SWIG_IsOK(ecode2
)) {
26802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26804 arg2
= static_cast< long >(val2
);
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 (arg1
)->SetStateMask(arg2
);
26808 wxPyEndAllowThreads(__tstate
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26811 resultobj
= SWIG_Py_Void();
26818 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26819 PyObject
*resultobj
= 0;
26820 wxListItem
*arg1
= (wxListItem
*) 0 ;
26821 wxString
*arg2
= 0 ;
26824 bool temp2
= false ;
26825 PyObject
* obj0
= 0 ;
26826 PyObject
* obj1
= 0 ;
26827 char * kwnames
[] = {
26828 (char *) "self",(char *) "text", NULL
26831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26833 if (!SWIG_IsOK(res1
)) {
26834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26836 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26838 arg2
= wxString_in_helper(obj1
);
26839 if (arg2
== NULL
) SWIG_fail
;
26843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26844 (arg1
)->SetText((wxString
const &)*arg2
);
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26848 resultobj
= SWIG_Py_Void();
26863 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26864 PyObject
*resultobj
= 0;
26865 wxListItem
*arg1
= (wxListItem
*) 0 ;
26871 PyObject
* obj0
= 0 ;
26872 PyObject
* obj1
= 0 ;
26873 char * kwnames
[] = {
26874 (char *) "self",(char *) "image", NULL
26877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26879 if (!SWIG_IsOK(res1
)) {
26880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26882 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26884 if (!SWIG_IsOK(ecode2
)) {
26885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26887 arg2
= static_cast< int >(val2
);
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26890 (arg1
)->SetImage(arg2
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26894 resultobj
= SWIG_Py_Void();
26901 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
= 0;
26903 wxListItem
*arg1
= (wxListItem
*) 0 ;
26909 PyObject
* obj0
= 0 ;
26910 PyObject
* obj1
= 0 ;
26911 char * kwnames
[] = {
26912 (char *) "self",(char *) "data", NULL
26915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26917 if (!SWIG_IsOK(res1
)) {
26918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26920 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26921 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26922 if (!SWIG_IsOK(ecode2
)) {
26923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26925 arg2
= static_cast< long >(val2
);
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 (arg1
)->SetData(arg2
);
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26932 resultobj
= SWIG_Py_Void();
26939 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26940 PyObject
*resultobj
= 0;
26941 wxListItem
*arg1
= (wxListItem
*) 0 ;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 char * kwnames
[] = {
26950 (char *) "self",(char *) "width", NULL
26953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26955 if (!SWIG_IsOK(res1
)) {
26956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26958 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26960 if (!SWIG_IsOK(ecode2
)) {
26961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26963 arg2
= static_cast< int >(val2
);
26965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26966 (arg1
)->SetWidth(arg2
);
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26970 resultobj
= SWIG_Py_Void();
26977 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
= 0;
26979 wxListItem
*arg1
= (wxListItem
*) 0 ;
26980 wxListColumnFormat arg2
;
26985 PyObject
* obj0
= 0 ;
26986 PyObject
* obj1
= 0 ;
26987 char * kwnames
[] = {
26988 (char *) "self",(char *) "align", NULL
26991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26993 if (!SWIG_IsOK(res1
)) {
26994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26996 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26998 if (!SWIG_IsOK(ecode2
)) {
26999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27001 arg2
= static_cast< wxListColumnFormat
>(val2
);
27003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27004 (arg1
)->SetAlign(arg2
);
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27008 resultobj
= SWIG_Py_Void();
27015 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27016 PyObject
*resultobj
= 0;
27017 wxListItem
*arg1
= (wxListItem
*) 0 ;
27018 wxColour
*arg2
= 0 ;
27022 PyObject
* obj0
= 0 ;
27023 PyObject
* obj1
= 0 ;
27024 char * kwnames
[] = {
27025 (char *) "self",(char *) "colText", NULL
27028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27030 if (!SWIG_IsOK(res1
)) {
27031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27033 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27036 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= SWIG_Py_Void();
27051 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27052 PyObject
*resultobj
= 0;
27053 wxListItem
*arg1
= (wxListItem
*) 0 ;
27054 wxColour
*arg2
= 0 ;
27058 PyObject
* obj0
= 0 ;
27059 PyObject
* obj1
= 0 ;
27060 char * kwnames
[] = {
27061 (char *) "self",(char *) "colBack", NULL
27064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27066 if (!SWIG_IsOK(res1
)) {
27067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27069 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27072 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27076 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27077 wxPyEndAllowThreads(__tstate
);
27078 if (PyErr_Occurred()) SWIG_fail
;
27080 resultobj
= SWIG_Py_Void();
27087 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27088 PyObject
*resultobj
= 0;
27089 wxListItem
*arg1
= (wxListItem
*) 0 ;
27095 PyObject
* obj0
= 0 ;
27096 PyObject
* obj1
= 0 ;
27097 char * kwnames
[] = {
27098 (char *) "self",(char *) "font", NULL
27101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27103 if (!SWIG_IsOK(res1
)) {
27104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27106 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27107 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27108 if (!SWIG_IsOK(res2
)) {
27109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27114 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 (arg1
)->SetFont((wxFont
const &)*arg2
);
27118 wxPyEndAllowThreads(__tstate
);
27119 if (PyErr_Occurred()) SWIG_fail
;
27121 resultobj
= SWIG_Py_Void();
27128 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27129 PyObject
*resultobj
= 0;
27130 wxListItem
*arg1
= (wxListItem
*) 0 ;
27134 PyObject
*swig_obj
[1] ;
27136 if (!args
) SWIG_fail
;
27137 swig_obj
[0] = args
;
27138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27139 if (!SWIG_IsOK(res1
)) {
27140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27142 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27145 result
= (long)(arg1
)->GetMask();
27146 wxPyEndAllowThreads(__tstate
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27149 resultobj
= SWIG_From_long(static_cast< long >(result
));
27156 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27157 PyObject
*resultobj
= 0;
27158 wxListItem
*arg1
= (wxListItem
*) 0 ;
27162 PyObject
*swig_obj
[1] ;
27164 if (!args
) SWIG_fail
;
27165 swig_obj
[0] = args
;
27166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27167 if (!SWIG_IsOK(res1
)) {
27168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27170 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27173 result
= (long)(arg1
)->GetId();
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= SWIG_From_long(static_cast< long >(result
));
27184 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27185 PyObject
*resultobj
= 0;
27186 wxListItem
*arg1
= (wxListItem
*) 0 ;
27190 PyObject
*swig_obj
[1] ;
27192 if (!args
) SWIG_fail
;
27193 swig_obj
[0] = args
;
27194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27195 if (!SWIG_IsOK(res1
)) {
27196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27198 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27201 result
= (int)(arg1
)->GetColumn();
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 resultobj
= SWIG_From_int(static_cast< int >(result
));
27212 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27213 PyObject
*resultobj
= 0;
27214 wxListItem
*arg1
= (wxListItem
*) 0 ;
27218 PyObject
*swig_obj
[1] ;
27220 if (!args
) SWIG_fail
;
27221 swig_obj
[0] = args
;
27222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27223 if (!SWIG_IsOK(res1
)) {
27224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27226 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27229 result
= (long)(arg1
)->GetState();
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27233 resultobj
= SWIG_From_long(static_cast< long >(result
));
27240 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27241 PyObject
*resultobj
= 0;
27242 wxListItem
*arg1
= (wxListItem
*) 0 ;
27243 wxString
*result
= 0 ;
27246 PyObject
*swig_obj
[1] ;
27248 if (!args
) SWIG_fail
;
27249 swig_obj
[0] = args
;
27250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27251 if (!SWIG_IsOK(res1
)) {
27252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27254 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 wxString
const &_result_ref
= (arg1
)->GetText();
27259 result
= (wxString
*) &_result_ref
;
27261 wxPyEndAllowThreads(__tstate
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27266 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27268 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27277 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27278 PyObject
*resultobj
= 0;
27279 wxListItem
*arg1
= (wxListItem
*) 0 ;
27283 PyObject
*swig_obj
[1] ;
27285 if (!args
) SWIG_fail
;
27286 swig_obj
[0] = args
;
27287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27288 if (!SWIG_IsOK(res1
)) {
27289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27291 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27294 result
= (int)(arg1
)->GetImage();
27295 wxPyEndAllowThreads(__tstate
);
27296 if (PyErr_Occurred()) SWIG_fail
;
27298 resultobj
= SWIG_From_int(static_cast< int >(result
));
27305 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27306 PyObject
*resultobj
= 0;
27307 wxListItem
*arg1
= (wxListItem
*) 0 ;
27311 PyObject
*swig_obj
[1] ;
27313 if (!args
) SWIG_fail
;
27314 swig_obj
[0] = args
;
27315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27316 if (!SWIG_IsOK(res1
)) {
27317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27319 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27322 result
= (long)(arg1
)->GetData();
27323 wxPyEndAllowThreads(__tstate
);
27324 if (PyErr_Occurred()) SWIG_fail
;
27326 resultobj
= SWIG_From_long(static_cast< long >(result
));
27333 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27334 PyObject
*resultobj
= 0;
27335 wxListItem
*arg1
= (wxListItem
*) 0 ;
27339 PyObject
*swig_obj
[1] ;
27341 if (!args
) SWIG_fail
;
27342 swig_obj
[0] = args
;
27343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27344 if (!SWIG_IsOK(res1
)) {
27345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27347 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 result
= (int)(arg1
)->GetWidth();
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27354 resultobj
= SWIG_From_int(static_cast< int >(result
));
27361 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27362 PyObject
*resultobj
= 0;
27363 wxListItem
*arg1
= (wxListItem
*) 0 ;
27364 wxListColumnFormat result
;
27367 PyObject
*swig_obj
[1] ;
27369 if (!args
) SWIG_fail
;
27370 swig_obj
[0] = args
;
27371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27372 if (!SWIG_IsOK(res1
)) {
27373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27375 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27382 resultobj
= SWIG_From_int(static_cast< int >(result
));
27389 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27390 PyObject
*resultobj
= 0;
27391 wxListItem
*arg1
= (wxListItem
*) 0 ;
27392 wxListItemAttr
*result
= 0 ;
27395 PyObject
*swig_obj
[1] ;
27397 if (!args
) SWIG_fail
;
27398 swig_obj
[0] = args
;
27399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27400 if (!SWIG_IsOK(res1
)) {
27401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27403 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27406 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27407 wxPyEndAllowThreads(__tstate
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27417 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27418 PyObject
*resultobj
= 0;
27419 wxListItem
*arg1
= (wxListItem
*) 0 ;
27423 PyObject
*swig_obj
[1] ;
27425 if (!args
) SWIG_fail
;
27426 swig_obj
[0] = args
;
27427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27428 if (!SWIG_IsOK(res1
)) {
27429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27431 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 result
= (bool)(arg1
)->HasAttributes();
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27447 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27448 PyObject
*resultobj
= 0;
27449 wxListItem
*arg1
= (wxListItem
*) 0 ;
27453 PyObject
*swig_obj
[1] ;
27455 if (!args
) SWIG_fail
;
27456 swig_obj
[0] = args
;
27457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27458 if (!SWIG_IsOK(res1
)) {
27459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27461 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27464 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27465 wxPyEndAllowThreads(__tstate
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27468 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27475 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27476 PyObject
*resultobj
= 0;
27477 wxListItem
*arg1
= (wxListItem
*) 0 ;
27481 PyObject
*swig_obj
[1] ;
27483 if (!args
) SWIG_fail
;
27484 swig_obj
[0] = args
;
27485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27486 if (!SWIG_IsOK(res1
)) {
27487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27489 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27492 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27493 wxPyEndAllowThreads(__tstate
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27496 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27503 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27504 PyObject
*resultobj
= 0;
27505 wxListItem
*arg1
= (wxListItem
*) 0 ;
27509 PyObject
*swig_obj
[1] ;
27511 if (!args
) SWIG_fail
;
27512 swig_obj
[0] = args
;
27513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27514 if (!SWIG_IsOK(res1
)) {
27515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27517 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27520 result
= ((wxListItem
const *)arg1
)->GetFont();
27521 wxPyEndAllowThreads(__tstate
);
27522 if (PyErr_Occurred()) SWIG_fail
;
27524 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27531 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27532 PyObject
*resultobj
= 0;
27533 wxListItem
*arg1
= (wxListItem
*) 0 ;
27539 PyObject
*swig_obj
[2] ;
27541 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27543 if (!SWIG_IsOK(res1
)) {
27544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27546 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27547 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27548 if (!SWIG_IsOK(ecode2
)) {
27549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27551 arg2
= static_cast< long >(val2
);
27552 if (arg1
) (arg1
)->m_mask
= arg2
;
27554 resultobj
= SWIG_Py_Void();
27561 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27562 PyObject
*resultobj
= 0;
27563 wxListItem
*arg1
= (wxListItem
*) 0 ;
27567 PyObject
*swig_obj
[1] ;
27569 if (!args
) SWIG_fail
;
27570 swig_obj
[0] = args
;
27571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27572 if (!SWIG_IsOK(res1
)) {
27573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27575 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27576 result
= (long) ((arg1
)->m_mask
);
27577 resultobj
= SWIG_From_long(static_cast< long >(result
));
27584 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27585 PyObject
*resultobj
= 0;
27586 wxListItem
*arg1
= (wxListItem
*) 0 ;
27592 PyObject
*swig_obj
[2] ;
27594 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27596 if (!SWIG_IsOK(res1
)) {
27597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27599 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27600 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27601 if (!SWIG_IsOK(ecode2
)) {
27602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27604 arg2
= static_cast< long >(val2
);
27605 if (arg1
) (arg1
)->m_itemId
= arg2
;
27607 resultobj
= SWIG_Py_Void();
27614 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27615 PyObject
*resultobj
= 0;
27616 wxListItem
*arg1
= (wxListItem
*) 0 ;
27620 PyObject
*swig_obj
[1] ;
27622 if (!args
) SWIG_fail
;
27623 swig_obj
[0] = args
;
27624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27625 if (!SWIG_IsOK(res1
)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27628 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27629 result
= (long) ((arg1
)->m_itemId
);
27630 resultobj
= SWIG_From_long(static_cast< long >(result
));
27637 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27638 PyObject
*resultobj
= 0;
27639 wxListItem
*arg1
= (wxListItem
*) 0 ;
27645 PyObject
*swig_obj
[2] ;
27647 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27649 if (!SWIG_IsOK(res1
)) {
27650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27652 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27653 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27654 if (!SWIG_IsOK(ecode2
)) {
27655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27657 arg2
= static_cast< int >(val2
);
27658 if (arg1
) (arg1
)->m_col
= arg2
;
27660 resultobj
= SWIG_Py_Void();
27667 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27668 PyObject
*resultobj
= 0;
27669 wxListItem
*arg1
= (wxListItem
*) 0 ;
27673 PyObject
*swig_obj
[1] ;
27675 if (!args
) SWIG_fail
;
27676 swig_obj
[0] = args
;
27677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27678 if (!SWIG_IsOK(res1
)) {
27679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27681 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27682 result
= (int) ((arg1
)->m_col
);
27683 resultobj
= SWIG_From_int(static_cast< int >(result
));
27690 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27691 PyObject
*resultobj
= 0;
27692 wxListItem
*arg1
= (wxListItem
*) 0 ;
27698 PyObject
*swig_obj
[2] ;
27700 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27702 if (!SWIG_IsOK(res1
)) {
27703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27705 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27706 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27707 if (!SWIG_IsOK(ecode2
)) {
27708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27710 arg2
= static_cast< long >(val2
);
27711 if (arg1
) (arg1
)->m_state
= arg2
;
27713 resultobj
= SWIG_Py_Void();
27720 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27721 PyObject
*resultobj
= 0;
27722 wxListItem
*arg1
= (wxListItem
*) 0 ;
27726 PyObject
*swig_obj
[1] ;
27728 if (!args
) SWIG_fail
;
27729 swig_obj
[0] = args
;
27730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27731 if (!SWIG_IsOK(res1
)) {
27732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27734 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27735 result
= (long) ((arg1
)->m_state
);
27736 resultobj
= SWIG_From_long(static_cast< long >(result
));
27743 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27744 PyObject
*resultobj
= 0;
27745 wxListItem
*arg1
= (wxListItem
*) 0 ;
27751 PyObject
*swig_obj
[2] ;
27753 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27755 if (!SWIG_IsOK(res1
)) {
27756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27758 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27759 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27760 if (!SWIG_IsOK(ecode2
)) {
27761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27763 arg2
= static_cast< long >(val2
);
27764 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27766 resultobj
= SWIG_Py_Void();
27773 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27774 PyObject
*resultobj
= 0;
27775 wxListItem
*arg1
= (wxListItem
*) 0 ;
27779 PyObject
*swig_obj
[1] ;
27781 if (!args
) SWIG_fail
;
27782 swig_obj
[0] = args
;
27783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27784 if (!SWIG_IsOK(res1
)) {
27785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27787 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27788 result
= (long) ((arg1
)->m_stateMask
);
27789 resultobj
= SWIG_From_long(static_cast< long >(result
));
27796 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27797 PyObject
*resultobj
= 0;
27798 wxListItem
*arg1
= (wxListItem
*) 0 ;
27799 wxString
*arg2
= (wxString
*) 0 ;
27802 bool temp2
= false ;
27803 PyObject
*swig_obj
[2] ;
27805 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27807 if (!SWIG_IsOK(res1
)) {
27808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27810 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27812 arg2
= wxString_in_helper(swig_obj
[1]);
27813 if (arg2
== NULL
) SWIG_fail
;
27816 if (arg1
) (arg1
)->m_text
= *arg2
;
27818 resultobj
= SWIG_Py_Void();
27833 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27834 PyObject
*resultobj
= 0;
27835 wxListItem
*arg1
= (wxListItem
*) 0 ;
27836 wxString
*result
= 0 ;
27839 PyObject
*swig_obj
[1] ;
27841 if (!args
) SWIG_fail
;
27842 swig_obj
[0] = args
;
27843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27844 if (!SWIG_IsOK(res1
)) {
27845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27847 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27848 result
= (wxString
*)& ((arg1
)->m_text
);
27851 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27853 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27862 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27863 PyObject
*resultobj
= 0;
27864 wxListItem
*arg1
= (wxListItem
*) 0 ;
27870 PyObject
*swig_obj
[2] ;
27872 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27874 if (!SWIG_IsOK(res1
)) {
27875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27877 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27878 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27879 if (!SWIG_IsOK(ecode2
)) {
27880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27882 arg2
= static_cast< int >(val2
);
27883 if (arg1
) (arg1
)->m_image
= arg2
;
27885 resultobj
= SWIG_Py_Void();
27892 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27893 PyObject
*resultobj
= 0;
27894 wxListItem
*arg1
= (wxListItem
*) 0 ;
27898 PyObject
*swig_obj
[1] ;
27900 if (!args
) SWIG_fail
;
27901 swig_obj
[0] = args
;
27902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27903 if (!SWIG_IsOK(res1
)) {
27904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27906 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27907 result
= (int) ((arg1
)->m_image
);
27908 resultobj
= SWIG_From_int(static_cast< int >(result
));
27915 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27916 PyObject
*resultobj
= 0;
27917 wxListItem
*arg1
= (wxListItem
*) 0 ;
27923 PyObject
*swig_obj
[2] ;
27925 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27927 if (!SWIG_IsOK(res1
)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27930 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27931 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27932 if (!SWIG_IsOK(ecode2
)) {
27933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27935 arg2
= static_cast< long >(val2
);
27936 if (arg1
) (arg1
)->m_data
= arg2
;
27938 resultobj
= SWIG_Py_Void();
27945 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27946 PyObject
*resultobj
= 0;
27947 wxListItem
*arg1
= (wxListItem
*) 0 ;
27951 PyObject
*swig_obj
[1] ;
27953 if (!args
) SWIG_fail
;
27954 swig_obj
[0] = args
;
27955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27956 if (!SWIG_IsOK(res1
)) {
27957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27959 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27960 result
= (long) ((arg1
)->m_data
);
27961 resultobj
= SWIG_From_long(static_cast< long >(result
));
27968 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27969 PyObject
*resultobj
= 0;
27970 wxListItem
*arg1
= (wxListItem
*) 0 ;
27976 PyObject
*swig_obj
[2] ;
27978 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27980 if (!SWIG_IsOK(res1
)) {
27981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27983 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27984 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27985 if (!SWIG_IsOK(ecode2
)) {
27986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27988 arg2
= static_cast< int >(val2
);
27989 if (arg1
) (arg1
)->m_format
= arg2
;
27991 resultobj
= SWIG_Py_Void();
27998 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27999 PyObject
*resultobj
= 0;
28000 wxListItem
*arg1
= (wxListItem
*) 0 ;
28004 PyObject
*swig_obj
[1] ;
28006 if (!args
) SWIG_fail
;
28007 swig_obj
[0] = args
;
28008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28009 if (!SWIG_IsOK(res1
)) {
28010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28012 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28013 result
= (int) ((arg1
)->m_format
);
28014 resultobj
= SWIG_From_int(static_cast< int >(result
));
28021 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28022 PyObject
*resultobj
= 0;
28023 wxListItem
*arg1
= (wxListItem
*) 0 ;
28029 PyObject
*swig_obj
[2] ;
28031 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28033 if (!SWIG_IsOK(res1
)) {
28034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28036 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28037 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28038 if (!SWIG_IsOK(ecode2
)) {
28039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28041 arg2
= static_cast< int >(val2
);
28042 if (arg1
) (arg1
)->m_width
= arg2
;
28044 resultobj
= SWIG_Py_Void();
28051 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28052 PyObject
*resultobj
= 0;
28053 wxListItem
*arg1
= (wxListItem
*) 0 ;
28057 PyObject
*swig_obj
[1] ;
28059 if (!args
) SWIG_fail
;
28060 swig_obj
[0] = args
;
28061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28062 if (!SWIG_IsOK(res1
)) {
28063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28065 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28066 result
= (int) ((arg1
)->m_width
);
28067 resultobj
= SWIG_From_int(static_cast< int >(result
));
28074 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28076 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28077 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28078 return SWIG_Py_Void();
28081 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28082 return SWIG_Python_InitShadowInstance(args
);
28085 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28086 PyObject
*resultobj
= 0;
28087 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28088 int arg2
= (int) 0 ;
28089 wxListEvent
*result
= 0 ;
28094 PyObject
* obj0
= 0 ;
28095 PyObject
* obj1
= 0 ;
28096 char * kwnames
[] = {
28097 (char *) "commandType",(char *) "id", NULL
28100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28102 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28103 if (!SWIG_IsOK(ecode1
)) {
28104 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28106 arg1
= static_cast< wxEventType
>(val1
);
28109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28110 if (!SWIG_IsOK(ecode2
)) {
28111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28113 arg2
= static_cast< int >(val2
);
28116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28117 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28118 wxPyEndAllowThreads(__tstate
);
28119 if (PyErr_Occurred()) SWIG_fail
;
28121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28128 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28129 PyObject
*resultobj
= 0;
28130 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28136 PyObject
*swig_obj
[2] ;
28138 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28140 if (!SWIG_IsOK(res1
)) {
28141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28143 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28144 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28145 if (!SWIG_IsOK(ecode2
)) {
28146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28148 arg2
= static_cast< int >(val2
);
28149 if (arg1
) (arg1
)->m_code
= arg2
;
28151 resultobj
= SWIG_Py_Void();
28158 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28159 PyObject
*resultobj
= 0;
28160 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28164 PyObject
*swig_obj
[1] ;
28166 if (!args
) SWIG_fail
;
28167 swig_obj
[0] = args
;
28168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28169 if (!SWIG_IsOK(res1
)) {
28170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28172 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28173 result
= (int) ((arg1
)->m_code
);
28174 resultobj
= SWIG_From_int(static_cast< int >(result
));
28181 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28182 PyObject
*resultobj
= 0;
28183 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28189 PyObject
*swig_obj
[2] ;
28191 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28193 if (!SWIG_IsOK(res1
)) {
28194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28196 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28197 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28198 if (!SWIG_IsOK(ecode2
)) {
28199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28201 arg2
= static_cast< long >(val2
);
28202 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28204 resultobj
= SWIG_Py_Void();
28211 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28212 PyObject
*resultobj
= 0;
28213 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28217 PyObject
*swig_obj
[1] ;
28219 if (!args
) SWIG_fail
;
28220 swig_obj
[0] = args
;
28221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28222 if (!SWIG_IsOK(res1
)) {
28223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28225 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28226 result
= (long) ((arg1
)->m_oldItemIndex
);
28227 resultobj
= SWIG_From_long(static_cast< long >(result
));
28234 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28235 PyObject
*resultobj
= 0;
28236 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28242 PyObject
*swig_obj
[2] ;
28244 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28246 if (!SWIG_IsOK(res1
)) {
28247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28249 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28250 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28251 if (!SWIG_IsOK(ecode2
)) {
28252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28254 arg2
= static_cast< long >(val2
);
28255 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28257 resultobj
= SWIG_Py_Void();
28264 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28265 PyObject
*resultobj
= 0;
28266 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28270 PyObject
*swig_obj
[1] ;
28272 if (!args
) SWIG_fail
;
28273 swig_obj
[0] = args
;
28274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28275 if (!SWIG_IsOK(res1
)) {
28276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28278 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28279 result
= (long) ((arg1
)->m_itemIndex
);
28280 resultobj
= SWIG_From_long(static_cast< long >(result
));
28287 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28288 PyObject
*resultobj
= 0;
28289 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28295 PyObject
*swig_obj
[2] ;
28297 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28299 if (!SWIG_IsOK(res1
)) {
28300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28302 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28303 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28304 if (!SWIG_IsOK(ecode2
)) {
28305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28307 arg2
= static_cast< int >(val2
);
28308 if (arg1
) (arg1
)->m_col
= arg2
;
28310 resultobj
= SWIG_Py_Void();
28317 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28318 PyObject
*resultobj
= 0;
28319 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28323 PyObject
*swig_obj
[1] ;
28325 if (!args
) SWIG_fail
;
28326 swig_obj
[0] = args
;
28327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28328 if (!SWIG_IsOK(res1
)) {
28329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28331 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28332 result
= (int) ((arg1
)->m_col
);
28333 resultobj
= SWIG_From_int(static_cast< int >(result
));
28340 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28341 PyObject
*resultobj
= 0;
28342 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28343 wxPoint
*arg2
= (wxPoint
*) 0 ;
28348 PyObject
*swig_obj
[2] ;
28350 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28352 if (!SWIG_IsOK(res1
)) {
28353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28355 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28356 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28357 if (!SWIG_IsOK(res2
)) {
28358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28360 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28361 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28363 resultobj
= SWIG_Py_Void();
28370 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28371 PyObject
*resultobj
= 0;
28372 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28373 wxPoint
*result
= 0 ;
28376 PyObject
*swig_obj
[1] ;
28378 if (!args
) SWIG_fail
;
28379 swig_obj
[0] = args
;
28380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28381 if (!SWIG_IsOK(res1
)) {
28382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28384 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28385 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28393 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28394 PyObject
*resultobj
= 0;
28395 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28396 wxListItem
*result
= 0 ;
28399 PyObject
*swig_obj
[1] ;
28401 if (!args
) SWIG_fail
;
28402 swig_obj
[0] = args
;
28403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28404 if (!SWIG_IsOK(res1
)) {
28405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28407 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28408 result
= (wxListItem
*)& ((arg1
)->m_item
);
28410 resultobj
= wxPyMake_wxObject(result
, 0);
28418 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28419 PyObject
*resultobj
= 0;
28420 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28424 PyObject
*swig_obj
[1] ;
28426 if (!args
) SWIG_fail
;
28427 swig_obj
[0] = args
;
28428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28429 if (!SWIG_IsOK(res1
)) {
28430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28432 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28435 result
= (int)(arg1
)->GetKeyCode();
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= SWIG_From_int(static_cast< int >(result
));
28446 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28447 PyObject
*resultobj
= 0;
28448 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28452 PyObject
*swig_obj
[1] ;
28454 if (!args
) SWIG_fail
;
28455 swig_obj
[0] = args
;
28456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28457 if (!SWIG_IsOK(res1
)) {
28458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28460 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28463 result
= (long)(arg1
)->GetIndex();
28464 wxPyEndAllowThreads(__tstate
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28467 resultobj
= SWIG_From_long(static_cast< long >(result
));
28474 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28475 PyObject
*resultobj
= 0;
28476 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28480 PyObject
*swig_obj
[1] ;
28482 if (!args
) SWIG_fail
;
28483 swig_obj
[0] = args
;
28484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28485 if (!SWIG_IsOK(res1
)) {
28486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28488 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28491 result
= (int)(arg1
)->GetColumn();
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28495 resultobj
= SWIG_From_int(static_cast< int >(result
));
28502 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28503 PyObject
*resultobj
= 0;
28504 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28508 PyObject
*swig_obj
[1] ;
28510 if (!args
) SWIG_fail
;
28511 swig_obj
[0] = args
;
28512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28513 if (!SWIG_IsOK(res1
)) {
28514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28516 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28519 result
= (arg1
)->GetPoint();
28520 wxPyEndAllowThreads(__tstate
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28523 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28530 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28531 PyObject
*resultobj
= 0;
28532 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28533 wxString
*result
= 0 ;
28536 PyObject
*swig_obj
[1] ;
28538 if (!args
) SWIG_fail
;
28539 swig_obj
[0] = args
;
28540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28541 if (!SWIG_IsOK(res1
)) {
28542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28544 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 wxString
const &_result_ref
= (arg1
)->GetLabel();
28549 result
= (wxString
*) &_result_ref
;
28551 wxPyEndAllowThreads(__tstate
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28558 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28567 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28568 PyObject
*resultobj
= 0;
28569 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28570 wxString
*result
= 0 ;
28573 PyObject
*swig_obj
[1] ;
28575 if (!args
) SWIG_fail
;
28576 swig_obj
[0] = args
;
28577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28578 if (!SWIG_IsOK(res1
)) {
28579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28581 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28585 wxString
const &_result_ref
= (arg1
)->GetText();
28586 result
= (wxString
*) &_result_ref
;
28588 wxPyEndAllowThreads(__tstate
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28593 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28595 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28604 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28605 PyObject
*resultobj
= 0;
28606 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28610 PyObject
*swig_obj
[1] ;
28612 if (!args
) SWIG_fail
;
28613 swig_obj
[0] = args
;
28614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28615 if (!SWIG_IsOK(res1
)) {
28616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28618 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28621 result
= (int)(arg1
)->GetImage();
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28625 resultobj
= SWIG_From_int(static_cast< int >(result
));
28632 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28633 PyObject
*resultobj
= 0;
28634 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28638 PyObject
*swig_obj
[1] ;
28640 if (!args
) SWIG_fail
;
28641 swig_obj
[0] = args
;
28642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28643 if (!SWIG_IsOK(res1
)) {
28644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28646 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28649 result
= (long)(arg1
)->GetData();
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28653 resultobj
= SWIG_From_long(static_cast< long >(result
));
28660 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28661 PyObject
*resultobj
= 0;
28662 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28666 PyObject
*swig_obj
[1] ;
28668 if (!args
) SWIG_fail
;
28669 swig_obj
[0] = args
;
28670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28671 if (!SWIG_IsOK(res1
)) {
28672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28674 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 result
= (long)(arg1
)->GetMask();
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= SWIG_From_long(static_cast< long >(result
));
28688 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28689 PyObject
*resultobj
= 0;
28690 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28691 wxListItem
*result
= 0 ;
28694 PyObject
*swig_obj
[1] ;
28696 if (!args
) SWIG_fail
;
28697 swig_obj
[0] = args
;
28698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28699 if (!SWIG_IsOK(res1
)) {
28700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28702 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28706 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28707 result
= (wxListItem
*) &_result_ref
;
28709 wxPyEndAllowThreads(__tstate
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28719 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28720 PyObject
*resultobj
= 0;
28721 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28725 PyObject
*swig_obj
[1] ;
28727 if (!args
) SWIG_fail
;
28728 swig_obj
[0] = args
;
28729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28730 if (!SWIG_IsOK(res1
)) {
28731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28733 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28736 result
= (long)(arg1
)->GetCacheFrom();
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 resultobj
= SWIG_From_long(static_cast< long >(result
));
28747 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28748 PyObject
*resultobj
= 0;
28749 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28753 PyObject
*swig_obj
[1] ;
28755 if (!args
) SWIG_fail
;
28756 swig_obj
[0] = args
;
28757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28758 if (!SWIG_IsOK(res1
)) {
28759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28761 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 result
= (long)(arg1
)->GetCacheTo();
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 resultobj
= SWIG_From_long(static_cast< long >(result
));
28775 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28776 PyObject
*resultobj
= 0;
28777 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28781 PyObject
*swig_obj
[1] ;
28783 if (!args
) SWIG_fail
;
28784 swig_obj
[0] = args
;
28785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28786 if (!SWIG_IsOK(res1
)) {
28787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28789 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28792 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28793 wxPyEndAllowThreads(__tstate
);
28794 if (PyErr_Occurred()) SWIG_fail
;
28797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28805 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28806 PyObject
*resultobj
= 0;
28807 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28813 PyObject
* obj0
= 0 ;
28814 PyObject
* obj1
= 0 ;
28815 char * kwnames
[] = {
28816 (char *) "self",(char *) "editCancelled", NULL
28819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28821 if (!SWIG_IsOK(res1
)) {
28822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28824 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28825 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28826 if (!SWIG_IsOK(ecode2
)) {
28827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28829 arg2
= static_cast< bool >(val2
);
28831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28832 (arg1
)->SetEditCanceled(arg2
);
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28836 resultobj
= SWIG_Py_Void();
28843 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28846 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28847 return SWIG_Py_Void();
28850 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28851 return SWIG_Python_InitShadowInstance(args
);
28854 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28855 PyObject
*resultobj
= 0;
28856 wxWindow
*arg1
= (wxWindow
*) 0 ;
28857 int arg2
= (int) -1 ;
28858 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28859 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28860 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28861 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28862 long arg5
= (long) wxLC_ICON
;
28863 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28864 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28865 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28866 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28867 wxPyListCtrl
*result
= 0 ;
28878 bool temp7
= false ;
28879 PyObject
* obj0
= 0 ;
28880 PyObject
* obj1
= 0 ;
28881 PyObject
* obj2
= 0 ;
28882 PyObject
* obj3
= 0 ;
28883 PyObject
* obj4
= 0 ;
28884 PyObject
* obj5
= 0 ;
28885 PyObject
* obj6
= 0 ;
28886 char * kwnames
[] = {
28887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28892 if (!SWIG_IsOK(res1
)) {
28893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28895 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28898 if (!SWIG_IsOK(ecode2
)) {
28899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28901 arg2
= static_cast< int >(val2
);
28906 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28912 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28916 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28917 if (!SWIG_IsOK(ecode5
)) {
28918 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28920 arg5
= static_cast< long >(val5
);
28923 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28924 if (!SWIG_IsOK(res6
)) {
28925 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28930 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28934 arg7
= wxString_in_helper(obj6
);
28935 if (arg7
== NULL
) SWIG_fail
;
28940 if (!wxPyCheckForApp()) SWIG_fail
;
28941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28942 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28943 wxPyEndAllowThreads(__tstate
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28961 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28962 PyObject
*resultobj
= 0;
28963 wxPyListCtrl
*result
= 0 ;
28965 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28967 if (!wxPyCheckForApp()) SWIG_fail
;
28968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28969 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28970 wxPyEndAllowThreads(__tstate
);
28971 if (PyErr_Occurred()) SWIG_fail
;
28973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28980 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28981 PyObject
*resultobj
= 0;
28982 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28983 wxWindow
*arg2
= (wxWindow
*) 0 ;
28984 int arg3
= (int) -1 ;
28985 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28986 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28987 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28988 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28989 long arg6
= (long) wxLC_ICON
;
28990 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28991 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28992 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28993 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29007 bool temp8
= false ;
29008 PyObject
* obj0
= 0 ;
29009 PyObject
* obj1
= 0 ;
29010 PyObject
* obj2
= 0 ;
29011 PyObject
* obj3
= 0 ;
29012 PyObject
* obj4
= 0 ;
29013 PyObject
* obj5
= 0 ;
29014 PyObject
* obj6
= 0 ;
29015 PyObject
* obj7
= 0 ;
29016 char * kwnames
[] = {
29017 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29022 if (!SWIG_IsOK(res1
)) {
29023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29025 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29026 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29027 if (!SWIG_IsOK(res2
)) {
29028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29030 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29033 if (!SWIG_IsOK(ecode3
)) {
29034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29036 arg3
= static_cast< int >(val3
);
29041 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29047 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29051 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29052 if (!SWIG_IsOK(ecode6
)) {
29053 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29055 arg6
= static_cast< long >(val6
);
29058 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29059 if (!SWIG_IsOK(res7
)) {
29060 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29065 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29069 arg8
= wxString_in_helper(obj7
);
29070 if (arg8
== NULL
) SWIG_fail
;
29075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29076 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29077 wxPyEndAllowThreads(__tstate
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29097 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29098 PyObject
*resultobj
= 0;
29099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29100 PyObject
*arg2
= (PyObject
*) 0 ;
29101 PyObject
*arg3
= (PyObject
*) 0 ;
29104 PyObject
* obj0
= 0 ;
29105 PyObject
* obj1
= 0 ;
29106 PyObject
* obj2
= 0 ;
29107 char * kwnames
[] = {
29108 (char *) "self",(char *) "self",(char *) "_class", NULL
29111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29113 if (!SWIG_IsOK(res1
)) {
29114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29116 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29121 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29122 wxPyEndAllowThreads(__tstate
);
29123 if (PyErr_Occurred()) SWIG_fail
;
29125 resultobj
= SWIG_Py_Void();
29132 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29133 PyObject
*resultobj
= 0;
29134 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29136 wxListItem
*result
= 0 ;
29141 PyObject
* obj0
= 0 ;
29142 PyObject
* obj1
= 0 ;
29143 char * kwnames
[] = {
29144 (char *) "self",(char *) "col", NULL
29147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29149 if (!SWIG_IsOK(res1
)) {
29150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29152 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29154 if (!SWIG_IsOK(ecode2
)) {
29155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29157 arg2
= static_cast< int >(val2
);
29159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29161 wxPyEndAllowThreads(__tstate
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29165 resultobj
= wxPyMake_wxObject(result
, 0);
29173 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29174 PyObject
*resultobj
= 0;
29175 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29177 wxListItem
*arg3
= 0 ;
29185 PyObject
* obj0
= 0 ;
29186 PyObject
* obj1
= 0 ;
29187 PyObject
* obj2
= 0 ;
29188 char * kwnames
[] = {
29189 (char *) "self",(char *) "col",(char *) "item", NULL
29192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29194 if (!SWIG_IsOK(res1
)) {
29195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29197 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29199 if (!SWIG_IsOK(ecode2
)) {
29200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29202 arg2
= static_cast< int >(val2
);
29203 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29204 if (!SWIG_IsOK(res3
)) {
29205 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29210 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29213 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29214 wxPyEndAllowThreads(__tstate
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29226 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29227 PyObject
*resultobj
= 0;
29228 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29235 PyObject
* obj0
= 0 ;
29236 PyObject
* obj1
= 0 ;
29237 char * kwnames
[] = {
29238 (char *) "self",(char *) "col", NULL
29241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29243 if (!SWIG_IsOK(res1
)) {
29244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29246 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29248 if (!SWIG_IsOK(ecode2
)) {
29249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29251 arg2
= static_cast< int >(val2
);
29253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29254 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29255 wxPyEndAllowThreads(__tstate
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29258 resultobj
= SWIG_From_int(static_cast< int >(result
));
29265 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29266 PyObject
*resultobj
= 0;
29267 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29277 PyObject
* obj0
= 0 ;
29278 PyObject
* obj1
= 0 ;
29279 PyObject
* obj2
= 0 ;
29280 char * kwnames
[] = {
29281 (char *) "self",(char *) "col",(char *) "width", NULL
29284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29286 if (!SWIG_IsOK(res1
)) {
29287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29289 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29291 if (!SWIG_IsOK(ecode2
)) {
29292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29294 arg2
= static_cast< int >(val2
);
29295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29296 if (!SWIG_IsOK(ecode3
)) {
29297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29299 arg3
= static_cast< int >(val3
);
29301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29302 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29303 wxPyEndAllowThreads(__tstate
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29315 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29316 PyObject
*resultobj
= 0;
29317 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29321 PyObject
*swig_obj
[1] ;
29323 if (!args
) SWIG_fail
;
29324 swig_obj
[0] = args
;
29325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29326 if (!SWIG_IsOK(res1
)) {
29327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29329 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29333 wxPyEndAllowThreads(__tstate
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29336 resultobj
= SWIG_From_int(static_cast< int >(result
));
29343 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29344 PyObject
*resultobj
= 0;
29345 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29349 PyObject
*swig_obj
[1] ;
29351 if (!args
) SWIG_fail
;
29352 swig_obj
[0] = args
;
29353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29354 if (!SWIG_IsOK(res1
)) {
29355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29357 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29360 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29361 wxPyEndAllowThreads(__tstate
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29364 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29371 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29372 PyObject
*resultobj
= 0;
29373 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29374 wxTextCtrl
*result
= 0 ;
29377 PyObject
*swig_obj
[1] ;
29379 if (!args
) SWIG_fail
;
29380 swig_obj
[0] = args
;
29381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29382 if (!SWIG_IsOK(res1
)) {
29383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29385 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29388 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29389 wxPyEndAllowThreads(__tstate
);
29390 if (PyErr_Occurred()) SWIG_fail
;
29393 resultobj
= wxPyMake_wxObject(result
, 0);
29401 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29402 PyObject
*resultobj
= 0;
29403 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29405 int arg3
= (int) 0 ;
29406 wxListItem
*result
= 0 ;
29413 PyObject
* obj0
= 0 ;
29414 PyObject
* obj1
= 0 ;
29415 PyObject
* obj2
= 0 ;
29416 char * kwnames
[] = {
29417 (char *) "self",(char *) "itemId",(char *) "col", NULL
29420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29422 if (!SWIG_IsOK(res1
)) {
29423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29425 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29426 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29427 if (!SWIG_IsOK(ecode2
)) {
29428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29430 arg2
= static_cast< long >(val2
);
29432 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29433 if (!SWIG_IsOK(ecode3
)) {
29434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29436 arg3
= static_cast< int >(val3
);
29439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29440 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29441 wxPyEndAllowThreads(__tstate
);
29442 if (PyErr_Occurred()) SWIG_fail
;
29445 resultobj
= wxPyMake_wxObject(result
, 0);
29453 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
= 0;
29455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29456 wxListItem
*arg2
= 0 ;
29462 PyObject
* obj0
= 0 ;
29463 PyObject
* obj1
= 0 ;
29464 char * kwnames
[] = {
29465 (char *) "self",(char *) "info", NULL
29468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29470 if (!SWIG_IsOK(res1
)) {
29471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29473 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29474 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29475 if (!SWIG_IsOK(res2
)) {
29476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29481 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29484 result
= (bool)(arg1
)->SetItem(*arg2
);
29485 wxPyEndAllowThreads(__tstate
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29497 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29498 PyObject
*resultobj
= 0;
29499 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29502 wxString
*arg4
= 0 ;
29503 int arg5
= (int) -1 ;
29511 bool temp4
= false ;
29514 PyObject
* obj0
= 0 ;
29515 PyObject
* obj1
= 0 ;
29516 PyObject
* obj2
= 0 ;
29517 PyObject
* obj3
= 0 ;
29518 PyObject
* obj4
= 0 ;
29519 char * kwnames
[] = {
29520 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29525 if (!SWIG_IsOK(res1
)) {
29526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29528 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29529 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29530 if (!SWIG_IsOK(ecode2
)) {
29531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29533 arg2
= static_cast< long >(val2
);
29534 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29535 if (!SWIG_IsOK(ecode3
)) {
29536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29538 arg3
= static_cast< int >(val3
);
29540 arg4
= wxString_in_helper(obj3
);
29541 if (arg4
== NULL
) SWIG_fail
;
29545 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29546 if (!SWIG_IsOK(ecode5
)) {
29547 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29549 arg5
= static_cast< int >(val5
);
29552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29553 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29554 wxPyEndAllowThreads(__tstate
);
29555 if (PyErr_Occurred()) SWIG_fail
;
29557 resultobj
= SWIG_From_long(static_cast< long >(result
));
29572 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29573 PyObject
*resultobj
= 0;
29574 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29584 PyObject
* obj0
= 0 ;
29585 PyObject
* obj1
= 0 ;
29586 PyObject
* obj2
= 0 ;
29587 char * kwnames
[] = {
29588 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29593 if (!SWIG_IsOK(res1
)) {
29594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29596 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29597 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29598 if (!SWIG_IsOK(ecode2
)) {
29599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29601 arg2
= static_cast< long >(val2
);
29602 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29603 if (!SWIG_IsOK(ecode3
)) {
29604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29606 arg3
= static_cast< long >(val3
);
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29613 resultobj
= SWIG_From_int(static_cast< int >(result
));
29620 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29621 PyObject
*resultobj
= 0;
29622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29635 PyObject
* obj0
= 0 ;
29636 PyObject
* obj1
= 0 ;
29637 PyObject
* obj2
= 0 ;
29638 PyObject
* obj3
= 0 ;
29639 char * kwnames
[] = {
29640 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29645 if (!SWIG_IsOK(res1
)) {
29646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29648 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29649 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29650 if (!SWIG_IsOK(ecode2
)) {
29651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29653 arg2
= static_cast< long >(val2
);
29654 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29655 if (!SWIG_IsOK(ecode3
)) {
29656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29658 arg3
= static_cast< long >(val3
);
29659 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29660 if (!SWIG_IsOK(ecode4
)) {
29661 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29663 arg4
= static_cast< long >(val4
);
29665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29666 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29667 wxPyEndAllowThreads(__tstate
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29679 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
= 0;
29681 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29684 int arg4
= (int) -1 ;
29694 PyObject
* obj0
= 0 ;
29695 PyObject
* obj1
= 0 ;
29696 PyObject
* obj2
= 0 ;
29697 PyObject
* obj3
= 0 ;
29698 char * kwnames
[] = {
29699 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29704 if (!SWIG_IsOK(res1
)) {
29705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29707 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29708 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29709 if (!SWIG_IsOK(ecode2
)) {
29710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29712 arg2
= static_cast< long >(val2
);
29713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29714 if (!SWIG_IsOK(ecode3
)) {
29715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29717 arg3
= static_cast< int >(val3
);
29719 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29720 if (!SWIG_IsOK(ecode4
)) {
29721 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29723 arg4
= static_cast< int >(val4
);
29726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29727 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29728 wxPyEndAllowThreads(__tstate
);
29729 if (PyErr_Occurred()) SWIG_fail
;
29732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29740 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29741 PyObject
*resultobj
= 0;
29742 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29755 PyObject
* obj0
= 0 ;
29756 PyObject
* obj1
= 0 ;
29757 PyObject
* obj2
= 0 ;
29758 PyObject
* obj3
= 0 ;
29759 char * kwnames
[] = {
29760 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29765 if (!SWIG_IsOK(res1
)) {
29766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29768 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29769 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29770 if (!SWIG_IsOK(ecode2
)) {
29771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29773 arg2
= static_cast< long >(val2
);
29774 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29775 if (!SWIG_IsOK(ecode3
)) {
29776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29778 arg3
= static_cast< long >(val3
);
29779 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29780 if (!SWIG_IsOK(ecode4
)) {
29781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29783 arg4
= static_cast< int >(val4
);
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29799 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29800 PyObject
*resultobj
= 0;
29801 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29808 PyObject
* obj0
= 0 ;
29809 PyObject
* obj1
= 0 ;
29810 char * kwnames
[] = {
29811 (char *) "self",(char *) "item", NULL
29814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29816 if (!SWIG_IsOK(res1
)) {
29817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29819 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29820 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29821 if (!SWIG_IsOK(ecode2
)) {
29822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29824 arg2
= static_cast< long >(val2
);
29826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29827 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29828 wxPyEndAllowThreads(__tstate
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29844 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29845 PyObject
*resultobj
= 0;
29846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29848 wxString
*arg3
= 0 ;
29853 bool temp3
= false ;
29854 PyObject
* obj0
= 0 ;
29855 PyObject
* obj1
= 0 ;
29856 PyObject
* obj2
= 0 ;
29857 char * kwnames
[] = {
29858 (char *) "self",(char *) "item",(char *) "str", NULL
29861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29863 if (!SWIG_IsOK(res1
)) {
29864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29866 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29867 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29868 if (!SWIG_IsOK(ecode2
)) {
29869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29871 arg2
= static_cast< long >(val2
);
29873 arg3
= wxString_in_helper(obj2
);
29874 if (arg3
== NULL
) SWIG_fail
;
29878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29879 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29880 wxPyEndAllowThreads(__tstate
);
29881 if (PyErr_Occurred()) SWIG_fail
;
29883 resultobj
= SWIG_Py_Void();
29898 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29899 PyObject
*resultobj
= 0;
29900 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29907 PyObject
* obj0
= 0 ;
29908 PyObject
* obj1
= 0 ;
29909 char * kwnames
[] = {
29910 (char *) "self",(char *) "item", NULL
29913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29915 if (!SWIG_IsOK(res1
)) {
29916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29918 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29919 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29920 if (!SWIG_IsOK(ecode2
)) {
29921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29923 arg2
= static_cast< long >(val2
);
29925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29926 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29927 wxPyEndAllowThreads(__tstate
);
29928 if (PyErr_Occurred()) SWIG_fail
;
29930 resultobj
= SWIG_From_long(static_cast< long >(result
));
29937 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29938 PyObject
*resultobj
= 0;
29939 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29949 PyObject
* obj0
= 0 ;
29950 PyObject
* obj1
= 0 ;
29951 PyObject
* obj2
= 0 ;
29952 char * kwnames
[] = {
29953 (char *) "self",(char *) "item",(char *) "data", NULL
29956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29958 if (!SWIG_IsOK(res1
)) {
29959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29961 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29962 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29963 if (!SWIG_IsOK(ecode2
)) {
29964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29966 arg2
= static_cast< long >(val2
);
29967 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29968 if (!SWIG_IsOK(ecode3
)) {
29969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29971 arg3
= static_cast< long >(val3
);
29973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29974 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29975 wxPyEndAllowThreads(__tstate
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29987 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
= 0;
29989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29996 PyObject
* obj0
= 0 ;
29997 PyObject
* obj1
= 0 ;
29998 char * kwnames
[] = {
29999 (char *) "self",(char *) "item", NULL
30002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30004 if (!SWIG_IsOK(res1
)) {
30005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30007 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30008 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30009 if (!SWIG_IsOK(ecode2
)) {
30010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30012 arg2
= static_cast< long >(val2
);
30014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30015 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30016 wxPyEndAllowThreads(__tstate
);
30017 if (PyErr_Occurred()) SWIG_fail
;
30019 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30026 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30027 PyObject
*resultobj
= 0;
30028 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30030 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30038 PyObject
* obj0
= 0 ;
30039 PyObject
* obj1
= 0 ;
30040 PyObject
* obj2
= 0 ;
30041 char * kwnames
[] = {
30042 (char *) "self",(char *) "item",(char *) "code", NULL
30045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30047 if (!SWIG_IsOK(res1
)) {
30048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30050 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30051 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30052 if (!SWIG_IsOK(ecode2
)) {
30053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30055 arg2
= static_cast< long >(val2
);
30057 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30058 if (!SWIG_IsOK(ecode3
)) {
30059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30061 arg3
= static_cast< int >(val3
);
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30066 wxPyEndAllowThreads(__tstate
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30069 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30076 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30077 PyObject
*resultobj
= 0;
30078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30080 wxPoint
*arg3
= 0 ;
30087 PyObject
* obj0
= 0 ;
30088 PyObject
* obj1
= 0 ;
30089 PyObject
* obj2
= 0 ;
30090 char * kwnames
[] = {
30091 (char *) "self",(char *) "item",(char *) "pos", NULL
30094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30096 if (!SWIG_IsOK(res1
)) {
30097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30099 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30100 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30101 if (!SWIG_IsOK(ecode2
)) {
30102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30104 arg2
= static_cast< long >(val2
);
30107 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30111 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30112 wxPyEndAllowThreads(__tstate
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30124 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30125 PyObject
*resultobj
= 0;
30126 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30130 PyObject
*swig_obj
[1] ;
30132 if (!args
) SWIG_fail
;
30133 swig_obj
[0] = args
;
30134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30135 if (!SWIG_IsOK(res1
)) {
30136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30138 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30141 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30142 wxPyEndAllowThreads(__tstate
);
30143 if (PyErr_Occurred()) SWIG_fail
;
30145 resultobj
= SWIG_From_int(static_cast< int >(result
));
30152 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30153 PyObject
*resultobj
= 0;
30154 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30158 PyObject
*swig_obj
[1] ;
30160 if (!args
) SWIG_fail
;
30161 swig_obj
[0] = args
;
30162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30163 if (!SWIG_IsOK(res1
)) {
30164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30166 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30169 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30170 wxPyEndAllowThreads(__tstate
);
30171 if (PyErr_Occurred()) SWIG_fail
;
30173 resultobj
= SWIG_From_int(static_cast< int >(result
));
30180 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30181 PyObject
*resultobj
= 0;
30182 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30186 PyObject
*swig_obj
[1] ;
30188 if (!args
) SWIG_fail
;
30189 swig_obj
[0] = args
;
30190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30191 if (!SWIG_IsOK(res1
)) {
30192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30194 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30197 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30198 wxPyEndAllowThreads(__tstate
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30201 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30208 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
= 0;
30210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30212 bool arg3
= (bool) false ;
30219 PyObject
* obj0
= 0 ;
30220 PyObject
* obj1
= 0 ;
30221 PyObject
* obj2
= 0 ;
30222 char * kwnames
[] = {
30223 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30228 if (!SWIG_IsOK(res1
)) {
30229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30231 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30233 if (!SWIG_IsOK(ecode2
)) {
30234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30236 arg2
= static_cast< int >(val2
);
30238 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30239 if (!SWIG_IsOK(ecode3
)) {
30240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30242 arg3
= static_cast< bool >(val3
);
30245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30246 (arg1
)->SetItemSpacing(arg2
,arg3
);
30247 wxPyEndAllowThreads(__tstate
);
30248 if (PyErr_Occurred()) SWIG_fail
;
30250 resultobj
= SWIG_Py_Void();
30257 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30258 PyObject
*resultobj
= 0;
30259 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30263 PyObject
*swig_obj
[1] ;
30265 if (!args
) SWIG_fail
;
30266 swig_obj
[0] = args
;
30267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30268 if (!SWIG_IsOK(res1
)) {
30269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30271 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30274 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30275 wxPyEndAllowThreads(__tstate
);
30276 if (PyErr_Occurred()) SWIG_fail
;
30278 resultobj
= SWIG_From_int(static_cast< int >(result
));
30285 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30286 PyObject
*resultobj
= 0;
30287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30291 PyObject
*swig_obj
[1] ;
30293 if (!args
) SWIG_fail
;
30294 swig_obj
[0] = args
;
30295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30296 if (!SWIG_IsOK(res1
)) {
30297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30299 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30303 wxPyEndAllowThreads(__tstate
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30306 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30313 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30314 PyObject
*resultobj
= 0;
30315 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30316 wxColour
*arg2
= 0 ;
30320 PyObject
* obj0
= 0 ;
30321 PyObject
* obj1
= 0 ;
30322 char * kwnames
[] = {
30323 (char *) "self",(char *) "col", NULL
30326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30328 if (!SWIG_IsOK(res1
)) {
30329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30331 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30334 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30338 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30339 wxPyEndAllowThreads(__tstate
);
30340 if (PyErr_Occurred()) SWIG_fail
;
30342 resultobj
= SWIG_Py_Void();
30349 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30350 PyObject
*resultobj
= 0;
30351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30355 PyObject
*swig_obj
[1] ;
30357 if (!args
) SWIG_fail
;
30358 swig_obj
[0] = args
;
30359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30360 if (!SWIG_IsOK(res1
)) {
30361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30363 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30366 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30367 wxPyEndAllowThreads(__tstate
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30370 resultobj
= SWIG_From_long(static_cast< long >(result
));
30377 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30378 PyObject
*resultobj
= 0;
30379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30381 bool arg3
= (bool) true ;
30388 PyObject
* obj0
= 0 ;
30389 PyObject
* obj1
= 0 ;
30390 PyObject
* obj2
= 0 ;
30391 char * kwnames
[] = {
30392 (char *) "self",(char *) "style",(char *) "add", NULL
30395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30397 if (!SWIG_IsOK(res1
)) {
30398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30400 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30401 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30402 if (!SWIG_IsOK(ecode2
)) {
30403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30405 arg2
= static_cast< long >(val2
);
30407 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30408 if (!SWIG_IsOK(ecode3
)) {
30409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30411 arg3
= static_cast< bool >(val3
);
30414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30415 (arg1
)->SetSingleStyle(arg2
,arg3
);
30416 wxPyEndAllowThreads(__tstate
);
30417 if (PyErr_Occurred()) SWIG_fail
;
30419 resultobj
= SWIG_Py_Void();
30426 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30427 PyObject
*resultobj
= 0;
30428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30430 int arg3
= (int) wxLIST_NEXT_ALL
;
30431 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30441 PyObject
* obj0
= 0 ;
30442 PyObject
* obj1
= 0 ;
30443 PyObject
* obj2
= 0 ;
30444 PyObject
* obj3
= 0 ;
30445 char * kwnames
[] = {
30446 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30451 if (!SWIG_IsOK(res1
)) {
30452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30454 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30455 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30456 if (!SWIG_IsOK(ecode2
)) {
30457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30459 arg2
= static_cast< long >(val2
);
30461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30462 if (!SWIG_IsOK(ecode3
)) {
30463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30465 arg3
= static_cast< int >(val3
);
30468 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30469 if (!SWIG_IsOK(ecode4
)) {
30470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30472 arg4
= static_cast< int >(val4
);
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30477 wxPyEndAllowThreads(__tstate
);
30478 if (PyErr_Occurred()) SWIG_fail
;
30480 resultobj
= SWIG_From_long(static_cast< long >(result
));
30487 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30488 PyObject
*resultobj
= 0;
30489 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30491 wxImageList
*result
= 0 ;
30496 PyObject
* obj0
= 0 ;
30497 PyObject
* obj1
= 0 ;
30498 char * kwnames
[] = {
30499 (char *) "self",(char *) "which", NULL
30502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30504 if (!SWIG_IsOK(res1
)) {
30505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30507 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30509 if (!SWIG_IsOK(ecode2
)) {
30510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30512 arg2
= static_cast< int >(val2
);
30514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30515 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30520 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30528 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30529 PyObject
*resultobj
= 0;
30530 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30531 wxImageList
*arg2
= (wxImageList
*) 0 ;
30539 PyObject
* obj0
= 0 ;
30540 PyObject
* obj1
= 0 ;
30541 PyObject
* obj2
= 0 ;
30542 char * kwnames
[] = {
30543 (char *) "self",(char *) "imageList",(char *) "which", NULL
30546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30548 if (!SWIG_IsOK(res1
)) {
30549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30551 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30553 if (!SWIG_IsOK(res2
)) {
30554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30556 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30558 if (!SWIG_IsOK(ecode3
)) {
30559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30561 arg3
= static_cast< int >(val3
);
30563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30564 (arg1
)->SetImageList(arg2
,arg3
);
30565 wxPyEndAllowThreads(__tstate
);
30566 if (PyErr_Occurred()) SWIG_fail
;
30568 resultobj
= SWIG_Py_Void();
30575 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30576 PyObject
*resultobj
= 0;
30577 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30578 wxImageList
*arg2
= (wxImageList
*) 0 ;
30585 PyObject
* obj0
= 0 ;
30586 PyObject
* obj1
= 0 ;
30587 PyObject
* obj2
= 0 ;
30588 char * kwnames
[] = {
30589 (char *) "self",(char *) "imageList",(char *) "which", NULL
30592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30594 if (!SWIG_IsOK(res1
)) {
30595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30597 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30598 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30599 if (!SWIG_IsOK(res2
)) {
30600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30603 if (!SWIG_IsOK(ecode3
)) {
30604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30606 arg3
= static_cast< int >(val3
);
30608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30609 (arg1
)->AssignImageList(arg2
,arg3
);
30610 wxPyEndAllowThreads(__tstate
);
30611 if (PyErr_Occurred()) SWIG_fail
;
30613 resultobj
= SWIG_Py_Void();
30620 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30621 PyObject
*resultobj
= 0;
30622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30626 PyObject
*swig_obj
[1] ;
30628 if (!args
) SWIG_fail
;
30629 swig_obj
[0] = args
;
30630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30631 if (!SWIG_IsOK(res1
)) {
30632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30634 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30637 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30638 wxPyEndAllowThreads(__tstate
);
30639 if (PyErr_Occurred()) SWIG_fail
;
30642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30650 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30651 PyObject
*resultobj
= 0;
30652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30656 PyObject
*swig_obj
[1] ;
30658 if (!args
) SWIG_fail
;
30659 swig_obj
[0] = args
;
30660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30661 if (!SWIG_IsOK(res1
)) {
30662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30664 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30667 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30668 wxPyEndAllowThreads(__tstate
);
30669 if (PyErr_Occurred()) SWIG_fail
;
30672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30680 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30681 PyObject
*resultobj
= 0;
30682 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30688 PyObject
* obj0
= 0 ;
30689 PyObject
* obj1
= 0 ;
30690 char * kwnames
[] = {
30691 (char *) "self",(char *) "item", NULL
30694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30696 if (!SWIG_IsOK(res1
)) {
30697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30699 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30700 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30701 if (!SWIG_IsOK(ecode2
)) {
30702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30704 arg2
= static_cast< long >(val2
);
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 (arg1
)->RefreshItem(arg2
);
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30711 resultobj
= SWIG_Py_Void();
30718 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30719 PyObject
*resultobj
= 0;
30720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30729 PyObject
* obj0
= 0 ;
30730 PyObject
* obj1
= 0 ;
30731 PyObject
* obj2
= 0 ;
30732 char * kwnames
[] = {
30733 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30738 if (!SWIG_IsOK(res1
)) {
30739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30741 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30742 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30743 if (!SWIG_IsOK(ecode2
)) {
30744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30746 arg2
= static_cast< long >(val2
);
30747 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30748 if (!SWIG_IsOK(ecode3
)) {
30749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30751 arg3
= static_cast< long >(val3
);
30753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30754 (arg1
)->RefreshItems(arg2
,arg3
);
30755 wxPyEndAllowThreads(__tstate
);
30756 if (PyErr_Occurred()) SWIG_fail
;
30758 resultobj
= SWIG_Py_Void();
30765 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30766 PyObject
*resultobj
= 0;
30767 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30768 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30774 PyObject
* obj0
= 0 ;
30775 PyObject
* obj1
= 0 ;
30776 char * kwnames
[] = {
30777 (char *) "self",(char *) "flag", NULL
30780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30782 if (!SWIG_IsOK(res1
)) {
30783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30785 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30788 if (!SWIG_IsOK(ecode2
)) {
30789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30791 arg2
= static_cast< int >(val2
);
30794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30795 result
= (bool)(arg1
)->Arrange(arg2
);
30796 wxPyEndAllowThreads(__tstate
);
30797 if (PyErr_Occurred()) SWIG_fail
;
30800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30808 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30809 PyObject
*resultobj
= 0;
30810 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30817 PyObject
* obj0
= 0 ;
30818 PyObject
* obj1
= 0 ;
30819 char * kwnames
[] = {
30820 (char *) "self",(char *) "item", NULL
30823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30825 if (!SWIG_IsOK(res1
)) {
30826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30828 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30829 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30830 if (!SWIG_IsOK(ecode2
)) {
30831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30833 arg2
= static_cast< long >(val2
);
30835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30836 result
= (bool)(arg1
)->DeleteItem(arg2
);
30837 wxPyEndAllowThreads(__tstate
);
30838 if (PyErr_Occurred()) SWIG_fail
;
30841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30849 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30850 PyObject
*resultobj
= 0;
30851 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30855 PyObject
*swig_obj
[1] ;
30857 if (!args
) SWIG_fail
;
30858 swig_obj
[0] = args
;
30859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30860 if (!SWIG_IsOK(res1
)) {
30861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30863 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30866 result
= (bool)(arg1
)->DeleteAllItems();
30867 wxPyEndAllowThreads(__tstate
);
30868 if (PyErr_Occurred()) SWIG_fail
;
30871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30879 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30880 PyObject
*resultobj
= 0;
30881 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30888 PyObject
* obj0
= 0 ;
30889 PyObject
* obj1
= 0 ;
30890 char * kwnames
[] = {
30891 (char *) "self",(char *) "col", NULL
30894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30896 if (!SWIG_IsOK(res1
)) {
30897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30899 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30901 if (!SWIG_IsOK(ecode2
)) {
30902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30904 arg2
= static_cast< int >(val2
);
30906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30908 wxPyEndAllowThreads(__tstate
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30920 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30921 PyObject
*resultobj
= 0;
30922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30926 PyObject
*swig_obj
[1] ;
30928 if (!args
) SWIG_fail
;
30929 swig_obj
[0] = args
;
30930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30931 if (!SWIG_IsOK(res1
)) {
30932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30934 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30937 result
= (bool)(arg1
)->DeleteAllColumns();
30938 wxPyEndAllowThreads(__tstate
);
30939 if (PyErr_Occurred()) SWIG_fail
;
30942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30950 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30951 PyObject
*resultobj
= 0;
30952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30955 PyObject
*swig_obj
[1] ;
30957 if (!args
) SWIG_fail
;
30958 swig_obj
[0] = args
;
30959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30960 if (!SWIG_IsOK(res1
)) {
30961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30963 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30966 (arg1
)->ClearAll();
30967 wxPyEndAllowThreads(__tstate
);
30968 if (PyErr_Occurred()) SWIG_fail
;
30970 resultobj
= SWIG_Py_Void();
30977 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30978 PyObject
*resultobj
= 0;
30979 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30985 PyObject
* obj0
= 0 ;
30986 PyObject
* obj1
= 0 ;
30987 char * kwnames
[] = {
30988 (char *) "self",(char *) "item", NULL
30991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30993 if (!SWIG_IsOK(res1
)) {
30994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30996 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30997 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30998 if (!SWIG_IsOK(ecode2
)) {
30999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31001 arg2
= static_cast< long >(val2
);
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 (arg1
)->EditLabel(arg2
);
31005 wxPyEndAllowThreads(__tstate
);
31006 if (PyErr_Occurred()) SWIG_fail
;
31008 resultobj
= SWIG_Py_Void();
31015 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31016 PyObject
*resultobj
= 0;
31017 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31024 PyObject
* obj0
= 0 ;
31025 PyObject
* obj1
= 0 ;
31026 char * kwnames
[] = {
31027 (char *) "self",(char *) "item", NULL
31030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31032 if (!SWIG_IsOK(res1
)) {
31033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31035 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31036 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31037 if (!SWIG_IsOK(ecode2
)) {
31038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31040 arg2
= static_cast< long >(val2
);
31042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31043 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31044 wxPyEndAllowThreads(__tstate
);
31045 if (PyErr_Occurred()) SWIG_fail
;
31048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31056 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31057 PyObject
*resultobj
= 0;
31058 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31060 wxString
*arg3
= 0 ;
31061 bool arg4
= (bool) false ;
31067 bool temp3
= false ;
31070 PyObject
* obj0
= 0 ;
31071 PyObject
* obj1
= 0 ;
31072 PyObject
* obj2
= 0 ;
31073 PyObject
* obj3
= 0 ;
31074 char * kwnames
[] = {
31075 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31080 if (!SWIG_IsOK(res1
)) {
31081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31083 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31084 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31085 if (!SWIG_IsOK(ecode2
)) {
31086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31088 arg2
= static_cast< long >(val2
);
31090 arg3
= wxString_in_helper(obj2
);
31091 if (arg3
== NULL
) SWIG_fail
;
31095 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31096 if (!SWIG_IsOK(ecode4
)) {
31097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31099 arg4
= static_cast< bool >(val4
);
31102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31103 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31104 wxPyEndAllowThreads(__tstate
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31107 resultobj
= SWIG_From_long(static_cast< long >(result
));
31122 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31123 PyObject
*resultobj
= 0;
31124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31134 PyObject
* obj0
= 0 ;
31135 PyObject
* obj1
= 0 ;
31136 PyObject
* obj2
= 0 ;
31137 char * kwnames
[] = {
31138 (char *) "self",(char *) "start",(char *) "data", NULL
31141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31143 if (!SWIG_IsOK(res1
)) {
31144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31146 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31147 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31148 if (!SWIG_IsOK(ecode2
)) {
31149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31151 arg2
= static_cast< long >(val2
);
31152 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31153 if (!SWIG_IsOK(ecode3
)) {
31154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31156 arg3
= static_cast< long >(val3
);
31158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31159 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31160 wxPyEndAllowThreads(__tstate
);
31161 if (PyErr_Occurred()) SWIG_fail
;
31163 resultobj
= SWIG_From_long(static_cast< long >(result
));
31170 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31171 PyObject
*resultobj
= 0;
31172 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31174 wxPoint
*arg3
= 0 ;
31184 PyObject
* obj0
= 0 ;
31185 PyObject
* obj1
= 0 ;
31186 PyObject
* obj2
= 0 ;
31187 PyObject
* obj3
= 0 ;
31188 char * kwnames
[] = {
31189 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31194 if (!SWIG_IsOK(res1
)) {
31195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31197 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31198 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31199 if (!SWIG_IsOK(ecode2
)) {
31200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31202 arg2
= static_cast< long >(val2
);
31205 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31207 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31208 if (!SWIG_IsOK(ecode4
)) {
31209 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31211 arg4
= static_cast< int >(val4
);
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 resultobj
= SWIG_From_long(static_cast< long >(result
));
31225 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31226 PyObject
*resultobj
= 0;
31227 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31228 wxPoint
*arg2
= 0 ;
31235 int res3
= SWIG_TMPOBJ
;
31236 PyObject
* obj0
= 0 ;
31237 PyObject
* obj1
= 0 ;
31238 char * kwnames
[] = {
31239 (char *) "self",(char *) "point", NULL
31243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31245 if (!SWIG_IsOK(res1
)) {
31246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31248 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31251 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31255 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31256 wxPyEndAllowThreads(__tstate
);
31257 if (PyErr_Occurred()) SWIG_fail
;
31259 resultobj
= SWIG_From_long(static_cast< long >(result
));
31260 if (SWIG_IsTmpObj(res3
)) {
31261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31263 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31272 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31273 PyObject
*resultobj
= 0;
31274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31275 wxPoint
*arg2
= 0 ;
31277 long *arg4
= (long *) 0 ;
31283 int res3
= SWIG_TMPOBJ
;
31285 int res4
= SWIG_TMPOBJ
;
31286 PyObject
* obj0
= 0 ;
31287 PyObject
* obj1
= 0 ;
31288 char * kwnames
[] = {
31289 (char *) "self",(char *) "point", NULL
31294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31296 if (!SWIG_IsOK(res1
)) {
31297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31299 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31302 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31306 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31307 wxPyEndAllowThreads(__tstate
);
31308 if (PyErr_Occurred()) SWIG_fail
;
31310 resultobj
= SWIG_From_long(static_cast< long >(result
));
31311 if (SWIG_IsTmpObj(res3
)) {
31312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31314 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31317 if (SWIG_IsTmpObj(res4
)) {
31318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31320 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31329 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31330 PyObject
*resultobj
= 0;
31331 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31332 wxListItem
*arg2
= 0 ;
31338 PyObject
* obj0
= 0 ;
31339 PyObject
* obj1
= 0 ;
31340 char * kwnames
[] = {
31341 (char *) "self",(char *) "info", NULL
31344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31346 if (!SWIG_IsOK(res1
)) {
31347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31349 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31350 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31351 if (!SWIG_IsOK(res2
)) {
31352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31357 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31360 result
= (long)(arg1
)->InsertItem(*arg2
);
31361 wxPyEndAllowThreads(__tstate
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31364 resultobj
= SWIG_From_long(static_cast< long >(result
));
31371 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31372 PyObject
*resultobj
= 0;
31373 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31375 wxString
*arg3
= 0 ;
31376 int arg4
= (int) -1 ;
31382 bool temp3
= false ;
31385 PyObject
* obj0
= 0 ;
31386 PyObject
* obj1
= 0 ;
31387 PyObject
* obj2
= 0 ;
31388 PyObject
* obj3
= 0 ;
31389 char * kwnames
[] = {
31390 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31395 if (!SWIG_IsOK(res1
)) {
31396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31398 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31399 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31400 if (!SWIG_IsOK(ecode2
)) {
31401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31403 arg2
= static_cast< long >(val2
);
31405 arg3
= wxString_in_helper(obj2
);
31406 if (arg3
== NULL
) SWIG_fail
;
31410 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31411 if (!SWIG_IsOK(ecode4
)) {
31412 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31414 arg4
= static_cast< int >(val4
);
31417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31418 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31419 wxPyEndAllowThreads(__tstate
);
31420 if (PyErr_Occurred()) SWIG_fail
;
31422 resultobj
= SWIG_From_long(static_cast< long >(result
));
31437 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31438 PyObject
*resultobj
= 0;
31439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31449 PyObject
* obj0
= 0 ;
31450 PyObject
* obj1
= 0 ;
31451 PyObject
* obj2
= 0 ;
31452 char * kwnames
[] = {
31453 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31458 if (!SWIG_IsOK(res1
)) {
31459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31461 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31462 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31463 if (!SWIG_IsOK(ecode2
)) {
31464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31466 arg2
= static_cast< long >(val2
);
31467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31468 if (!SWIG_IsOK(ecode3
)) {
31469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31471 arg3
= static_cast< int >(val3
);
31473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31474 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31475 wxPyEndAllowThreads(__tstate
);
31476 if (PyErr_Occurred()) SWIG_fail
;
31478 resultobj
= SWIG_From_long(static_cast< long >(result
));
31485 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31486 PyObject
*resultobj
= 0;
31487 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31489 wxString
*arg3
= 0 ;
31496 bool temp3
= false ;
31499 PyObject
* obj0
= 0 ;
31500 PyObject
* obj1
= 0 ;
31501 PyObject
* obj2
= 0 ;
31502 PyObject
* obj3
= 0 ;
31503 char * kwnames
[] = {
31504 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31509 if (!SWIG_IsOK(res1
)) {
31510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31512 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31513 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31514 if (!SWIG_IsOK(ecode2
)) {
31515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31517 arg2
= static_cast< long >(val2
);
31519 arg3
= wxString_in_helper(obj2
);
31520 if (arg3
== NULL
) SWIG_fail
;
31523 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31524 if (!SWIG_IsOK(ecode4
)) {
31525 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31527 arg4
= static_cast< int >(val4
);
31529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31530 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31531 wxPyEndAllowThreads(__tstate
);
31532 if (PyErr_Occurred()) SWIG_fail
;
31534 resultobj
= SWIG_From_long(static_cast< long >(result
));
31549 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31550 PyObject
*resultobj
= 0;
31551 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31553 wxListItem
*arg3
= 0 ;
31561 PyObject
* obj0
= 0 ;
31562 PyObject
* obj1
= 0 ;
31563 PyObject
* obj2
= 0 ;
31564 char * kwnames
[] = {
31565 (char *) "self",(char *) "col",(char *) "info", NULL
31568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31570 if (!SWIG_IsOK(res1
)) {
31571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31573 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31574 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31575 if (!SWIG_IsOK(ecode2
)) {
31576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31578 arg2
= static_cast< long >(val2
);
31579 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31580 if (!SWIG_IsOK(res3
)) {
31581 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31586 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31589 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31590 wxPyEndAllowThreads(__tstate
);
31591 if (PyErr_Occurred()) SWIG_fail
;
31593 resultobj
= SWIG_From_long(static_cast< long >(result
));
31600 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31601 PyObject
*resultobj
= 0;
31602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31604 wxString
*arg3
= 0 ;
31605 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31606 int arg5
= (int) -1 ;
31612 bool temp3
= false ;
31617 PyObject
* obj0
= 0 ;
31618 PyObject
* obj1
= 0 ;
31619 PyObject
* obj2
= 0 ;
31620 PyObject
* obj3
= 0 ;
31621 PyObject
* obj4
= 0 ;
31622 char * kwnames
[] = {
31623 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31628 if (!SWIG_IsOK(res1
)) {
31629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31631 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31632 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31633 if (!SWIG_IsOK(ecode2
)) {
31634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31636 arg2
= static_cast< long >(val2
);
31638 arg3
= wxString_in_helper(obj2
);
31639 if (arg3
== NULL
) SWIG_fail
;
31643 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31644 if (!SWIG_IsOK(ecode4
)) {
31645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31647 arg4
= static_cast< int >(val4
);
31650 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31651 if (!SWIG_IsOK(ecode5
)) {
31652 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31654 arg5
= static_cast< int >(val5
);
31657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31658 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31659 wxPyEndAllowThreads(__tstate
);
31660 if (PyErr_Occurred()) SWIG_fail
;
31662 resultobj
= SWIG_From_long(static_cast< long >(result
));
31677 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31678 PyObject
*resultobj
= 0;
31679 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31685 PyObject
* obj0
= 0 ;
31686 PyObject
* obj1
= 0 ;
31687 char * kwnames
[] = {
31688 (char *) "self",(char *) "count", NULL
31691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31693 if (!SWIG_IsOK(res1
)) {
31694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31696 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31697 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31698 if (!SWIG_IsOK(ecode2
)) {
31699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31701 arg2
= static_cast< long >(val2
);
31703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31704 (arg1
)->SetItemCount(arg2
);
31705 wxPyEndAllowThreads(__tstate
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31708 resultobj
= SWIG_Py_Void();
31715 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31716 PyObject
*resultobj
= 0;
31717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31727 PyObject
* obj0
= 0 ;
31728 PyObject
* obj1
= 0 ;
31729 PyObject
* obj2
= 0 ;
31730 char * kwnames
[] = {
31731 (char *) "self",(char *) "dx",(char *) "dy", NULL
31734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31736 if (!SWIG_IsOK(res1
)) {
31737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31739 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31741 if (!SWIG_IsOK(ecode2
)) {
31742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31744 arg2
= static_cast< int >(val2
);
31745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31746 if (!SWIG_IsOK(ecode3
)) {
31747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31749 arg3
= static_cast< int >(val3
);
31751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31752 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31753 wxPyEndAllowThreads(__tstate
);
31754 if (PyErr_Occurred()) SWIG_fail
;
31757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31765 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31766 PyObject
*resultobj
= 0;
31767 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31769 wxColour
*arg3
= 0 ;
31775 PyObject
* obj0
= 0 ;
31776 PyObject
* obj1
= 0 ;
31777 PyObject
* obj2
= 0 ;
31778 char * kwnames
[] = {
31779 (char *) "self",(char *) "item",(char *) "col", NULL
31782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31784 if (!SWIG_IsOK(res1
)) {
31785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31787 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31788 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31789 if (!SWIG_IsOK(ecode2
)) {
31790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31792 arg2
= static_cast< long >(val2
);
31795 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31799 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31800 wxPyEndAllowThreads(__tstate
);
31801 if (PyErr_Occurred()) SWIG_fail
;
31803 resultobj
= SWIG_Py_Void();
31810 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31811 PyObject
*resultobj
= 0;
31812 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31819 PyObject
* obj0
= 0 ;
31820 PyObject
* obj1
= 0 ;
31821 char * kwnames
[] = {
31822 (char *) "self",(char *) "item", NULL
31825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31827 if (!SWIG_IsOK(res1
)) {
31828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31830 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31831 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31832 if (!SWIG_IsOK(ecode2
)) {
31833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31835 arg2
= static_cast< long >(val2
);
31837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31838 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31839 wxPyEndAllowThreads(__tstate
);
31840 if (PyErr_Occurred()) SWIG_fail
;
31842 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31849 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31850 PyObject
*resultobj
= 0;
31851 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31853 wxColour
*arg3
= 0 ;
31859 PyObject
* obj0
= 0 ;
31860 PyObject
* obj1
= 0 ;
31861 PyObject
* obj2
= 0 ;
31862 char * kwnames
[] = {
31863 (char *) "self",(char *) "item",(char *) "col", NULL
31866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31868 if (!SWIG_IsOK(res1
)) {
31869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31871 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31872 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31873 if (!SWIG_IsOK(ecode2
)) {
31874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31876 arg2
= static_cast< long >(val2
);
31879 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31883 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31884 wxPyEndAllowThreads(__tstate
);
31885 if (PyErr_Occurred()) SWIG_fail
;
31887 resultobj
= SWIG_Py_Void();
31894 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31895 PyObject
*resultobj
= 0;
31896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31903 PyObject
* obj0
= 0 ;
31904 PyObject
* obj1
= 0 ;
31905 char * kwnames
[] = {
31906 (char *) "self",(char *) "item", NULL
31909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31911 if (!SWIG_IsOK(res1
)) {
31912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31914 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31915 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31916 if (!SWIG_IsOK(ecode2
)) {
31917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31919 arg2
= static_cast< long >(val2
);
31921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31922 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31923 wxPyEndAllowThreads(__tstate
);
31924 if (PyErr_Occurred()) SWIG_fail
;
31926 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31933 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31934 PyObject
*resultobj
= 0;
31935 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31944 PyObject
* obj0
= 0 ;
31945 PyObject
* obj1
= 0 ;
31946 PyObject
* obj2
= 0 ;
31947 char * kwnames
[] = {
31948 (char *) "self",(char *) "item",(char *) "f", NULL
31951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31953 if (!SWIG_IsOK(res1
)) {
31954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31956 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31957 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31958 if (!SWIG_IsOK(ecode2
)) {
31959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31961 arg2
= static_cast< long >(val2
);
31962 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31963 if (!SWIG_IsOK(res3
)) {
31964 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31969 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31972 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31976 resultobj
= SWIG_Py_Void();
31983 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31984 PyObject
*resultobj
= 0;
31985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31992 PyObject
* obj0
= 0 ;
31993 PyObject
* obj1
= 0 ;
31994 char * kwnames
[] = {
31995 (char *) "self",(char *) "item", NULL
31998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32000 if (!SWIG_IsOK(res1
)) {
32001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32003 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32004 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32005 if (!SWIG_IsOK(ecode2
)) {
32006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32008 arg2
= static_cast< long >(val2
);
32010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32011 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32012 wxPyEndAllowThreads(__tstate
);
32013 if (PyErr_Occurred()) SWIG_fail
;
32015 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32022 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32023 PyObject
*resultobj
= 0;
32024 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32025 PyObject
*arg2
= (PyObject
*) 0 ;
32029 PyObject
* obj0
= 0 ;
32030 PyObject
* obj1
= 0 ;
32031 char * kwnames
[] = {
32032 (char *) "self",(char *) "func", NULL
32035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32037 if (!SWIG_IsOK(res1
)) {
32038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32040 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32044 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32045 wxPyEndAllowThreads(__tstate
);
32046 if (PyErr_Occurred()) SWIG_fail
;
32049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32057 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32058 PyObject
*resultobj
= 0;
32059 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32060 wxWindow
*result
= 0 ;
32063 PyObject
*swig_obj
[1] ;
32065 if (!args
) SWIG_fail
;
32066 swig_obj
[0] = args
;
32067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32068 if (!SWIG_IsOK(res1
)) {
32069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32071 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32074 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32075 wxPyEndAllowThreads(__tstate
);
32076 if (PyErr_Occurred()) SWIG_fail
;
32079 resultobj
= wxPyMake_wxObject(result
, 0);
32087 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32088 PyObject
*resultobj
= 0;
32089 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32090 SwigValueWrapper
<wxVisualAttributes
> result
;
32093 PyObject
* obj0
= 0 ;
32094 char * kwnames
[] = {
32095 (char *) "variant", NULL
32098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32100 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32101 if (!SWIG_IsOK(ecode1
)) {
32102 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32104 arg1
= static_cast< wxWindowVariant
>(val1
);
32107 if (!wxPyCheckForApp()) SWIG_fail
;
32108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32109 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32110 wxPyEndAllowThreads(__tstate
);
32111 if (PyErr_Occurred()) SWIG_fail
;
32113 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32120 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32123 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32124 return SWIG_Py_Void();
32127 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32128 return SWIG_Python_InitShadowInstance(args
);
32131 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32132 PyObject
*resultobj
= 0;
32133 wxWindow
*arg1
= (wxWindow
*) 0 ;
32134 int arg2
= (int) -1 ;
32135 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32136 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32137 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32138 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32139 long arg5
= (long) wxLC_REPORT
;
32140 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32141 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32142 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32143 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32144 wxListView
*result
= 0 ;
32155 bool temp7
= false ;
32156 PyObject
* obj0
= 0 ;
32157 PyObject
* obj1
= 0 ;
32158 PyObject
* obj2
= 0 ;
32159 PyObject
* obj3
= 0 ;
32160 PyObject
* obj4
= 0 ;
32161 PyObject
* obj5
= 0 ;
32162 PyObject
* obj6
= 0 ;
32163 char * kwnames
[] = {
32164 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32169 if (!SWIG_IsOK(res1
)) {
32170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32172 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32175 if (!SWIG_IsOK(ecode2
)) {
32176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32178 arg2
= static_cast< int >(val2
);
32183 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32189 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32193 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32194 if (!SWIG_IsOK(ecode5
)) {
32195 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32197 arg5
= static_cast< long >(val5
);
32200 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32201 if (!SWIG_IsOK(res6
)) {
32202 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32207 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32211 arg7
= wxString_in_helper(obj6
);
32212 if (arg7
== NULL
) SWIG_fail
;
32217 if (!wxPyCheckForApp()) SWIG_fail
;
32218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32219 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32220 wxPyEndAllowThreads(__tstate
);
32221 if (PyErr_Occurred()) SWIG_fail
;
32223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32238 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32239 PyObject
*resultobj
= 0;
32240 wxListView
*result
= 0 ;
32242 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32244 if (!wxPyCheckForApp()) SWIG_fail
;
32245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32246 result
= (wxListView
*)new wxListView();
32247 wxPyEndAllowThreads(__tstate
);
32248 if (PyErr_Occurred()) SWIG_fail
;
32250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32257 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32258 PyObject
*resultobj
= 0;
32259 wxListView
*arg1
= (wxListView
*) 0 ;
32260 wxWindow
*arg2
= (wxWindow
*) 0 ;
32261 int arg3
= (int) -1 ;
32262 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32263 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32264 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32265 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32266 long arg6
= (long) wxLC_REPORT
;
32267 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32268 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32269 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32270 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32284 bool temp8
= false ;
32285 PyObject
* obj0
= 0 ;
32286 PyObject
* obj1
= 0 ;
32287 PyObject
* obj2
= 0 ;
32288 PyObject
* obj3
= 0 ;
32289 PyObject
* obj4
= 0 ;
32290 PyObject
* obj5
= 0 ;
32291 PyObject
* obj6
= 0 ;
32292 PyObject
* obj7
= 0 ;
32293 char * kwnames
[] = {
32294 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32299 if (!SWIG_IsOK(res1
)) {
32300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32302 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32303 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32304 if (!SWIG_IsOK(res2
)) {
32305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32307 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32310 if (!SWIG_IsOK(ecode3
)) {
32311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32313 arg3
= static_cast< int >(val3
);
32318 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32324 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32328 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32329 if (!SWIG_IsOK(ecode6
)) {
32330 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32332 arg6
= static_cast< long >(val6
);
32335 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32336 if (!SWIG_IsOK(res7
)) {
32337 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32342 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32346 arg8
= wxString_in_helper(obj7
);
32347 if (arg8
== NULL
) SWIG_fail
;
32352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32353 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32354 wxPyEndAllowThreads(__tstate
);
32355 if (PyErr_Occurred()) SWIG_fail
;
32358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32374 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32375 PyObject
*resultobj
= 0;
32376 wxListView
*arg1
= (wxListView
*) 0 ;
32378 bool arg3
= (bool) true ;
32385 PyObject
* obj0
= 0 ;
32386 PyObject
* obj1
= 0 ;
32387 PyObject
* obj2
= 0 ;
32388 char * kwnames
[] = {
32389 (char *) "self",(char *) "n",(char *) "on", NULL
32392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32394 if (!SWIG_IsOK(res1
)) {
32395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32397 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32398 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32399 if (!SWIG_IsOK(ecode2
)) {
32400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32402 arg2
= static_cast< long >(val2
);
32404 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32405 if (!SWIG_IsOK(ecode3
)) {
32406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32408 arg3
= static_cast< bool >(val3
);
32411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32412 (arg1
)->Select(arg2
,arg3
);
32413 wxPyEndAllowThreads(__tstate
);
32414 if (PyErr_Occurred()) SWIG_fail
;
32416 resultobj
= SWIG_Py_Void();
32423 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32424 PyObject
*resultobj
= 0;
32425 wxListView
*arg1
= (wxListView
*) 0 ;
32431 PyObject
* obj0
= 0 ;
32432 PyObject
* obj1
= 0 ;
32433 char * kwnames
[] = {
32434 (char *) "self",(char *) "index", NULL
32437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32439 if (!SWIG_IsOK(res1
)) {
32440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32442 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32443 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32444 if (!SWIG_IsOK(ecode2
)) {
32445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32447 arg2
= static_cast< long >(val2
);
32449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32450 (arg1
)->Focus(arg2
);
32451 wxPyEndAllowThreads(__tstate
);
32452 if (PyErr_Occurred()) SWIG_fail
;
32454 resultobj
= SWIG_Py_Void();
32461 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32462 PyObject
*resultobj
= 0;
32463 wxListView
*arg1
= (wxListView
*) 0 ;
32467 PyObject
*swig_obj
[1] ;
32469 if (!args
) SWIG_fail
;
32470 swig_obj
[0] = args
;
32471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32472 if (!SWIG_IsOK(res1
)) {
32473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32475 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32478 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32479 wxPyEndAllowThreads(__tstate
);
32480 if (PyErr_Occurred()) SWIG_fail
;
32482 resultobj
= SWIG_From_long(static_cast< long >(result
));
32489 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32490 PyObject
*resultobj
= 0;
32491 wxListView
*arg1
= (wxListView
*) 0 ;
32498 PyObject
* obj0
= 0 ;
32499 PyObject
* obj1
= 0 ;
32500 char * kwnames
[] = {
32501 (char *) "self",(char *) "item", NULL
32504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32506 if (!SWIG_IsOK(res1
)) {
32507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32509 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32510 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32511 if (!SWIG_IsOK(ecode2
)) {
32512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32514 arg2
= static_cast< long >(val2
);
32516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32517 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32518 wxPyEndAllowThreads(__tstate
);
32519 if (PyErr_Occurred()) SWIG_fail
;
32521 resultobj
= SWIG_From_long(static_cast< long >(result
));
32528 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32529 PyObject
*resultobj
= 0;
32530 wxListView
*arg1
= (wxListView
*) 0 ;
32534 PyObject
*swig_obj
[1] ;
32536 if (!args
) SWIG_fail
;
32537 swig_obj
[0] = args
;
32538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32539 if (!SWIG_IsOK(res1
)) {
32540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32542 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32545 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32546 wxPyEndAllowThreads(__tstate
);
32547 if (PyErr_Occurred()) SWIG_fail
;
32549 resultobj
= SWIG_From_long(static_cast< long >(result
));
32556 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32557 PyObject
*resultobj
= 0;
32558 wxListView
*arg1
= (wxListView
*) 0 ;
32565 PyObject
* obj0
= 0 ;
32566 PyObject
* obj1
= 0 ;
32567 char * kwnames
[] = {
32568 (char *) "self",(char *) "index", NULL
32571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32573 if (!SWIG_IsOK(res1
)) {
32574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32576 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32577 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32578 if (!SWIG_IsOK(ecode2
)) {
32579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32581 arg2
= static_cast< long >(val2
);
32583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 result
= (bool)(arg1
)->IsSelected(arg2
);
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32597 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32598 PyObject
*resultobj
= 0;
32599 wxListView
*arg1
= (wxListView
*) 0 ;
32608 PyObject
* obj0
= 0 ;
32609 PyObject
* obj1
= 0 ;
32610 PyObject
* obj2
= 0 ;
32611 char * kwnames
[] = {
32612 (char *) "self",(char *) "col",(char *) "image", NULL
32615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32617 if (!SWIG_IsOK(res1
)) {
32618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32620 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32622 if (!SWIG_IsOK(ecode2
)) {
32623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32625 arg2
= static_cast< int >(val2
);
32626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32627 if (!SWIG_IsOK(ecode3
)) {
32628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32630 arg3
= static_cast< int >(val3
);
32632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32633 (arg1
)->SetColumnImage(arg2
,arg3
);
32634 wxPyEndAllowThreads(__tstate
);
32635 if (PyErr_Occurred()) SWIG_fail
;
32637 resultobj
= SWIG_Py_Void();
32644 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32645 PyObject
*resultobj
= 0;
32646 wxListView
*arg1
= (wxListView
*) 0 ;
32652 PyObject
* obj0
= 0 ;
32653 PyObject
* obj1
= 0 ;
32654 char * kwnames
[] = {
32655 (char *) "self",(char *) "col", NULL
32658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32660 if (!SWIG_IsOK(res1
)) {
32661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32663 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32665 if (!SWIG_IsOK(ecode2
)) {
32666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32668 arg2
= static_cast< int >(val2
);
32670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32671 (arg1
)->ClearColumnImage(arg2
);
32672 wxPyEndAllowThreads(__tstate
);
32673 if (PyErr_Occurred()) SWIG_fail
;
32675 resultobj
= SWIG_Py_Void();
32682 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32684 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32685 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32686 return SWIG_Py_Void();
32689 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32690 return SWIG_Python_InitShadowInstance(args
);
32693 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32694 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32699 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32700 PyObject
*pyobj
= 0;
32704 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32706 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32713 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32714 PyObject
*resultobj
= 0;
32715 wxTreeItemId
*result
= 0 ;
32717 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32720 result
= (wxTreeItemId
*)new wxTreeItemId();
32721 wxPyEndAllowThreads(__tstate
);
32722 if (PyErr_Occurred()) SWIG_fail
;
32724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32731 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32732 PyObject
*resultobj
= 0;
32733 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32736 PyObject
*swig_obj
[1] ;
32738 if (!args
) SWIG_fail
;
32739 swig_obj
[0] = args
;
32740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32741 if (!SWIG_IsOK(res1
)) {
32742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32744 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32752 resultobj
= SWIG_Py_Void();
32759 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32760 PyObject
*resultobj
= 0;
32761 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32765 PyObject
*swig_obj
[1] ;
32767 if (!args
) SWIG_fail
;
32768 swig_obj
[0] = args
;
32769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32770 if (!SWIG_IsOK(res1
)) {
32771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32773 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32776 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32777 wxPyEndAllowThreads(__tstate
);
32778 if (PyErr_Occurred()) SWIG_fail
;
32781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32789 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32790 PyObject
*resultobj
= 0;
32791 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32792 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32798 PyObject
* obj0
= 0 ;
32799 PyObject
* obj1
= 0 ;
32800 char * kwnames
[] = {
32801 (char *) "self",(char *) "other", NULL
32804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32806 if (!SWIG_IsOK(res1
)) {
32807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32809 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32810 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32811 if (!SWIG_IsOK(res2
)) {
32812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32814 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32817 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32818 wxPyEndAllowThreads(__tstate
);
32819 if (PyErr_Occurred()) SWIG_fail
;
32822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32830 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32831 PyObject
*resultobj
= 0;
32832 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32833 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32839 PyObject
* obj0
= 0 ;
32840 PyObject
* obj1
= 0 ;
32841 char * kwnames
[] = {
32842 (char *) "self",(char *) "other", NULL
32845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32847 if (!SWIG_IsOK(res1
)) {
32848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32850 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32851 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32852 if (!SWIG_IsOK(res2
)) {
32853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32855 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32858 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32859 wxPyEndAllowThreads(__tstate
);
32860 if (PyErr_Occurred()) SWIG_fail
;
32863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32871 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32872 PyObject
*resultobj
= 0;
32873 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32874 void *arg2
= (void *) 0 ;
32878 PyObject
*swig_obj
[2] ;
32880 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32882 if (!SWIG_IsOK(res1
)) {
32883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32885 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32886 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32887 if (!SWIG_IsOK(res2
)) {
32888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32890 if (arg1
) (arg1
)->m_pItem
= arg2
;
32892 resultobj
= SWIG_Py_Void();
32899 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32900 PyObject
*resultobj
= 0;
32901 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32905 PyObject
*swig_obj
[1] ;
32907 if (!args
) SWIG_fail
;
32908 swig_obj
[0] = args
;
32909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32910 if (!SWIG_IsOK(res1
)) {
32911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32913 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32914 result
= (void *) ((arg1
)->m_pItem
);
32915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32922 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32925 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32926 return SWIG_Py_Void();
32929 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32930 return SWIG_Python_InitShadowInstance(args
);
32933 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32934 PyObject
*resultobj
= 0;
32935 PyObject
*arg1
= (PyObject
*) NULL
;
32936 wxPyTreeItemData
*result
= 0 ;
32937 PyObject
* obj0
= 0 ;
32938 char * kwnames
[] = {
32939 (char *) "obj", NULL
32942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32948 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32949 wxPyEndAllowThreads(__tstate
);
32950 if (PyErr_Occurred()) SWIG_fail
;
32952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32959 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32960 PyObject
*resultobj
= 0;
32961 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32964 PyObject
*swig_obj
[1] ;
32966 if (!args
) SWIG_fail
;
32967 swig_obj
[0] = args
;
32968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32969 if (!SWIG_IsOK(res1
)) {
32970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32972 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32977 wxPyEndAllowThreads(__tstate
);
32978 if (PyErr_Occurred()) SWIG_fail
;
32980 resultobj
= SWIG_Py_Void();
32987 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32988 PyObject
*resultobj
= 0;
32989 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32990 PyObject
*result
= 0 ;
32993 PyObject
*swig_obj
[1] ;
32995 if (!args
) SWIG_fail
;
32996 swig_obj
[0] = args
;
32997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32998 if (!SWIG_IsOK(res1
)) {
32999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33001 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33004 result
= (PyObject
*)(arg1
)->GetData();
33005 wxPyEndAllowThreads(__tstate
);
33006 if (PyErr_Occurred()) SWIG_fail
;
33008 resultobj
= result
;
33015 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33016 PyObject
*resultobj
= 0;
33017 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33018 PyObject
*arg2
= (PyObject
*) 0 ;
33021 PyObject
* obj0
= 0 ;
33022 PyObject
* obj1
= 0 ;
33023 char * kwnames
[] = {
33024 (char *) "self",(char *) "obj", NULL
33027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33029 if (!SWIG_IsOK(res1
)) {
33030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33032 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33036 (arg1
)->SetData(arg2
);
33037 wxPyEndAllowThreads(__tstate
);
33038 if (PyErr_Occurred()) SWIG_fail
;
33040 resultobj
= SWIG_Py_Void();
33047 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33048 PyObject
*resultobj
= 0;
33049 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33050 wxTreeItemId
*result
= 0 ;
33053 PyObject
*swig_obj
[1] ;
33055 if (!args
) SWIG_fail
;
33056 swig_obj
[0] = args
;
33057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33058 if (!SWIG_IsOK(res1
)) {
33059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33061 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33065 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33066 result
= (wxTreeItemId
*) &_result_ref
;
33068 wxPyEndAllowThreads(__tstate
);
33069 if (PyErr_Occurred()) SWIG_fail
;
33071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33078 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33079 PyObject
*resultobj
= 0;
33080 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33081 wxTreeItemId
*arg2
= 0 ;
33086 PyObject
* obj0
= 0 ;
33087 PyObject
* obj1
= 0 ;
33088 char * kwnames
[] = {
33089 (char *) "self",(char *) "id", NULL
33092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33094 if (!SWIG_IsOK(res1
)) {
33095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33097 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33098 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33099 if (!SWIG_IsOK(res2
)) {
33100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33105 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33109 wxPyEndAllowThreads(__tstate
);
33110 if (PyErr_Occurred()) SWIG_fail
;
33112 resultobj
= SWIG_Py_Void();
33119 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33120 PyObject
*resultobj
= 0;
33121 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33124 PyObject
*swig_obj
[1] ;
33126 if (!args
) SWIG_fail
;
33127 swig_obj
[0] = args
;
33128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33129 if (!SWIG_IsOK(res1
)) {
33130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33132 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33135 wxPyTreeItemData_Destroy(arg1
);
33136 wxPyEndAllowThreads(__tstate
);
33137 if (PyErr_Occurred()) SWIG_fail
;
33139 resultobj
= SWIG_Py_Void();
33146 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33149 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33150 return SWIG_Py_Void();
33153 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33154 return SWIG_Python_InitShadowInstance(args
);
33157 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33160 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33161 if (!SWIG_IsOK(res
)) {
33162 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33167 wxTreeItemId
* temp
;
33168 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33169 wxNullTreeItemId
= *temp
;
33170 if (SWIG_IsNewObj(res
)) delete temp
;
33179 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33180 PyObject
*pyobj
= 0;
33182 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33187 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33188 PyObject
*resultobj
= 0;
33189 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33190 int arg2
= (int) 0 ;
33191 wxTreeEvent
*result
= 0 ;
33197 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33199 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33200 if (!SWIG_IsOK(ecode1
)) {
33201 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33203 arg1
= static_cast< wxEventType
>(val1
);
33206 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33207 if (!SWIG_IsOK(ecode2
)) {
33208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33210 arg2
= static_cast< int >(val2
);
33213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33214 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33215 wxPyEndAllowThreads(__tstate
);
33216 if (PyErr_Occurred()) SWIG_fail
;
33218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33225 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33226 PyObject
*resultobj
= 0;
33228 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33229 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33230 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33231 wxTreeEvent
*result
= 0 ;
33239 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33240 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33241 if (!SWIG_IsOK(ecode1
)) {
33242 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33244 arg1
= static_cast< wxEventType
>(val1
);
33245 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33246 if (!SWIG_IsOK(res2
)) {
33247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33249 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33251 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33252 if (!SWIG_IsOK(res3
)) {
33253 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33258 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33262 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33263 wxPyEndAllowThreads(__tstate
);
33264 if (PyErr_Occurred()) SWIG_fail
;
33266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33273 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33277 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33279 if ((argc
>= 0) && (argc
<= 2)) {
33284 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33285 _v
= SWIG_CheckState(res
);
33288 if (!_v
) goto check_1
;
33290 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33294 if ((argc
>= 2) && (argc
<= 3)) {
33295 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33299 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33304 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33305 PyObject
*resultobj
= 0;
33306 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33307 wxTreeItemId result
;
33310 PyObject
*swig_obj
[1] ;
33312 if (!args
) SWIG_fail
;
33313 swig_obj
[0] = args
;
33314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33315 if (!SWIG_IsOK(res1
)) {
33316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33318 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33321 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33322 wxPyEndAllowThreads(__tstate
);
33323 if (PyErr_Occurred()) SWIG_fail
;
33325 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33332 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33333 PyObject
*resultobj
= 0;
33334 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33335 wxTreeItemId
*arg2
= 0 ;
33340 PyObject
* obj0
= 0 ;
33341 PyObject
* obj1
= 0 ;
33342 char * kwnames
[] = {
33343 (char *) "self",(char *) "item", NULL
33346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33348 if (!SWIG_IsOK(res1
)) {
33349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33351 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33352 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33353 if (!SWIG_IsOK(res2
)) {
33354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33359 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33362 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33363 wxPyEndAllowThreads(__tstate
);
33364 if (PyErr_Occurred()) SWIG_fail
;
33366 resultobj
= SWIG_Py_Void();
33373 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33374 PyObject
*resultobj
= 0;
33375 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33376 wxTreeItemId result
;
33379 PyObject
*swig_obj
[1] ;
33381 if (!args
) SWIG_fail
;
33382 swig_obj
[0] = args
;
33383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33384 if (!SWIG_IsOK(res1
)) {
33385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33387 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33390 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33391 wxPyEndAllowThreads(__tstate
);
33392 if (PyErr_Occurred()) SWIG_fail
;
33394 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33401 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33402 PyObject
*resultobj
= 0;
33403 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33404 wxTreeItemId
*arg2
= 0 ;
33409 PyObject
* obj0
= 0 ;
33410 PyObject
* obj1
= 0 ;
33411 char * kwnames
[] = {
33412 (char *) "self",(char *) "item", NULL
33415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33417 if (!SWIG_IsOK(res1
)) {
33418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33420 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33421 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33422 if (!SWIG_IsOK(res2
)) {
33423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33428 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33431 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33432 wxPyEndAllowThreads(__tstate
);
33433 if (PyErr_Occurred()) SWIG_fail
;
33435 resultobj
= SWIG_Py_Void();
33442 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33443 PyObject
*resultobj
= 0;
33444 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33448 PyObject
*swig_obj
[1] ;
33450 if (!args
) SWIG_fail
;
33451 swig_obj
[0] = args
;
33452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33453 if (!SWIG_IsOK(res1
)) {
33454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33456 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33459 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33460 wxPyEndAllowThreads(__tstate
);
33461 if (PyErr_Occurred()) SWIG_fail
;
33463 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33470 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33471 PyObject
*resultobj
= 0;
33472 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33473 wxPoint
*arg2
= 0 ;
33477 PyObject
* obj0
= 0 ;
33478 PyObject
* obj1
= 0 ;
33479 char * kwnames
[] = {
33480 (char *) "self",(char *) "pt", NULL
33483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33485 if (!SWIG_IsOK(res1
)) {
33486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33488 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33491 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33495 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33496 wxPyEndAllowThreads(__tstate
);
33497 if (PyErr_Occurred()) SWIG_fail
;
33499 resultobj
= SWIG_Py_Void();
33506 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33507 PyObject
*resultobj
= 0;
33508 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33509 wxKeyEvent
*result
= 0 ;
33512 PyObject
*swig_obj
[1] ;
33514 if (!args
) SWIG_fail
;
33515 swig_obj
[0] = args
;
33516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33517 if (!SWIG_IsOK(res1
)) {
33518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33520 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33524 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33525 result
= (wxKeyEvent
*) &_result_ref
;
33527 wxPyEndAllowThreads(__tstate
);
33528 if (PyErr_Occurred()) SWIG_fail
;
33530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33537 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33538 PyObject
*resultobj
= 0;
33539 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33543 PyObject
*swig_obj
[1] ;
33545 if (!args
) SWIG_fail
;
33546 swig_obj
[0] = args
;
33547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33548 if (!SWIG_IsOK(res1
)) {
33549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33551 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33554 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33555 wxPyEndAllowThreads(__tstate
);
33556 if (PyErr_Occurred()) SWIG_fail
;
33558 resultobj
= SWIG_From_int(static_cast< int >(result
));
33565 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33566 PyObject
*resultobj
= 0;
33567 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33568 wxKeyEvent
*arg2
= 0 ;
33573 PyObject
* obj0
= 0 ;
33574 PyObject
* obj1
= 0 ;
33575 char * kwnames
[] = {
33576 (char *) "self",(char *) "evt", NULL
33579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33581 if (!SWIG_IsOK(res1
)) {
33582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33584 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33585 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33586 if (!SWIG_IsOK(res2
)) {
33587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33592 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33595 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33596 wxPyEndAllowThreads(__tstate
);
33597 if (PyErr_Occurred()) SWIG_fail
;
33599 resultobj
= SWIG_Py_Void();
33606 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33607 PyObject
*resultobj
= 0;
33608 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33609 wxString
*result
= 0 ;
33612 PyObject
*swig_obj
[1] ;
33614 if (!args
) SWIG_fail
;
33615 swig_obj
[0] = args
;
33616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33617 if (!SWIG_IsOK(res1
)) {
33618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33620 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33624 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33625 result
= (wxString
*) &_result_ref
;
33627 wxPyEndAllowThreads(__tstate
);
33628 if (PyErr_Occurred()) SWIG_fail
;
33632 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33634 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33643 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33644 PyObject
*resultobj
= 0;
33645 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33646 wxString
*arg2
= 0 ;
33649 bool temp2
= false ;
33650 PyObject
* obj0
= 0 ;
33651 PyObject
* obj1
= 0 ;
33652 char * kwnames
[] = {
33653 (char *) "self",(char *) "label", NULL
33656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33658 if (!SWIG_IsOK(res1
)) {
33659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33661 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33663 arg2
= wxString_in_helper(obj1
);
33664 if (arg2
== NULL
) SWIG_fail
;
33668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33669 (arg1
)->SetLabel((wxString
const &)*arg2
);
33670 wxPyEndAllowThreads(__tstate
);
33671 if (PyErr_Occurred()) SWIG_fail
;
33673 resultobj
= SWIG_Py_Void();
33688 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33689 PyObject
*resultobj
= 0;
33690 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33694 PyObject
*swig_obj
[1] ;
33696 if (!args
) SWIG_fail
;
33697 swig_obj
[0] = args
;
33698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33699 if (!SWIG_IsOK(res1
)) {
33700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33702 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33705 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33706 wxPyEndAllowThreads(__tstate
);
33707 if (PyErr_Occurred()) SWIG_fail
;
33710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33718 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33719 PyObject
*resultobj
= 0;
33720 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33726 PyObject
* obj0
= 0 ;
33727 PyObject
* obj1
= 0 ;
33728 char * kwnames
[] = {
33729 (char *) "self",(char *) "editCancelled", NULL
33732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33734 if (!SWIG_IsOK(res1
)) {
33735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33737 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33738 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33739 if (!SWIG_IsOK(ecode2
)) {
33740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33742 arg2
= static_cast< bool >(val2
);
33744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33745 (arg1
)->SetEditCanceled(arg2
);
33746 wxPyEndAllowThreads(__tstate
);
33747 if (PyErr_Occurred()) SWIG_fail
;
33749 resultobj
= SWIG_Py_Void();
33756 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33757 PyObject
*resultobj
= 0;
33758 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33759 wxString
*arg2
= 0 ;
33762 bool temp2
= false ;
33763 PyObject
* obj0
= 0 ;
33764 PyObject
* obj1
= 0 ;
33765 char * kwnames
[] = {
33766 (char *) "self",(char *) "toolTip", NULL
33769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33771 if (!SWIG_IsOK(res1
)) {
33772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33774 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33776 arg2
= wxString_in_helper(obj1
);
33777 if (arg2
== NULL
) SWIG_fail
;
33781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33782 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33783 wxPyEndAllowThreads(__tstate
);
33784 if (PyErr_Occurred()) SWIG_fail
;
33786 resultobj
= SWIG_Py_Void();
33801 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33802 PyObject
*resultobj
= 0;
33803 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33807 PyObject
*swig_obj
[1] ;
33809 if (!args
) SWIG_fail
;
33810 swig_obj
[0] = args
;
33811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33812 if (!SWIG_IsOK(res1
)) {
33813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33815 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33818 result
= (arg1
)->GetToolTip();
33819 wxPyEndAllowThreads(__tstate
);
33820 if (PyErr_Occurred()) SWIG_fail
;
33824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33835 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33838 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33839 return SWIG_Py_Void();
33842 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33843 return SWIG_Python_InitShadowInstance(args
);
33846 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33847 PyObject
*resultobj
= 0;
33848 wxWindow
*arg1
= (wxWindow
*) 0 ;
33849 int arg2
= (int) -1 ;
33850 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33851 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33852 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33853 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33854 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33855 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33856 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33857 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33858 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33859 wxPyTreeCtrl
*result
= 0 ;
33870 bool temp7
= false ;
33871 PyObject
* obj0
= 0 ;
33872 PyObject
* obj1
= 0 ;
33873 PyObject
* obj2
= 0 ;
33874 PyObject
* obj3
= 0 ;
33875 PyObject
* obj4
= 0 ;
33876 PyObject
* obj5
= 0 ;
33877 PyObject
* obj6
= 0 ;
33878 char * kwnames
[] = {
33879 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33884 if (!SWIG_IsOK(res1
)) {
33885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33887 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33890 if (!SWIG_IsOK(ecode2
)) {
33891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33893 arg2
= static_cast< int >(val2
);
33898 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33904 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33908 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33909 if (!SWIG_IsOK(ecode5
)) {
33910 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33912 arg5
= static_cast< long >(val5
);
33915 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33916 if (!SWIG_IsOK(res6
)) {
33917 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33922 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33926 arg7
= wxString_in_helper(obj6
);
33927 if (arg7
== NULL
) SWIG_fail
;
33932 if (!wxPyCheckForApp()) SWIG_fail
;
33933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33934 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33935 wxPyEndAllowThreads(__tstate
);
33936 if (PyErr_Occurred()) SWIG_fail
;
33938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33953 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33954 PyObject
*resultobj
= 0;
33955 wxPyTreeCtrl
*result
= 0 ;
33957 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33959 if (!wxPyCheckForApp()) SWIG_fail
;
33960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33961 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33962 wxPyEndAllowThreads(__tstate
);
33963 if (PyErr_Occurred()) SWIG_fail
;
33965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33972 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33973 PyObject
*resultobj
= 0;
33974 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33975 wxWindow
*arg2
= (wxWindow
*) 0 ;
33976 int arg3
= (int) -1 ;
33977 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33978 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33979 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33980 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33981 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33982 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33983 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33984 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33985 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33999 bool temp8
= false ;
34000 PyObject
* obj0
= 0 ;
34001 PyObject
* obj1
= 0 ;
34002 PyObject
* obj2
= 0 ;
34003 PyObject
* obj3
= 0 ;
34004 PyObject
* obj4
= 0 ;
34005 PyObject
* obj5
= 0 ;
34006 PyObject
* obj6
= 0 ;
34007 PyObject
* obj7
= 0 ;
34008 char * kwnames
[] = {
34009 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34014 if (!SWIG_IsOK(res1
)) {
34015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34017 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34019 if (!SWIG_IsOK(res2
)) {
34020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34022 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34025 if (!SWIG_IsOK(ecode3
)) {
34026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34028 arg3
= static_cast< int >(val3
);
34033 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34039 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34043 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34044 if (!SWIG_IsOK(ecode6
)) {
34045 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34047 arg6
= static_cast< long >(val6
);
34050 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34051 if (!SWIG_IsOK(res7
)) {
34052 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34057 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34061 arg8
= wxString_in_helper(obj7
);
34062 if (arg8
== NULL
) SWIG_fail
;
34067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34068 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34069 wxPyEndAllowThreads(__tstate
);
34070 if (PyErr_Occurred()) SWIG_fail
;
34073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34089 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34090 PyObject
*resultobj
= 0;
34091 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34092 PyObject
*arg2
= (PyObject
*) 0 ;
34093 PyObject
*arg3
= (PyObject
*) 0 ;
34096 PyObject
* obj0
= 0 ;
34097 PyObject
* obj1
= 0 ;
34098 PyObject
* obj2
= 0 ;
34099 char * kwnames
[] = {
34100 (char *) "self",(char *) "self",(char *) "_class", NULL
34103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34105 if (!SWIG_IsOK(res1
)) {
34106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34108 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34113 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34114 wxPyEndAllowThreads(__tstate
);
34115 if (PyErr_Occurred()) SWIG_fail
;
34117 resultobj
= SWIG_Py_Void();
34124 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34125 PyObject
*resultobj
= 0;
34126 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34127 unsigned int result
;
34130 PyObject
*swig_obj
[1] ;
34132 if (!args
) SWIG_fail
;
34133 swig_obj
[0] = args
;
34134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34135 if (!SWIG_IsOK(res1
)) {
34136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34138 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34141 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34142 wxPyEndAllowThreads(__tstate
);
34143 if (PyErr_Occurred()) SWIG_fail
;
34145 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34152 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34153 PyObject
*resultobj
= 0;
34154 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34155 unsigned int result
;
34158 PyObject
*swig_obj
[1] ;
34160 if (!args
) SWIG_fail
;
34161 swig_obj
[0] = args
;
34162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34163 if (!SWIG_IsOK(res1
)) {
34164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34166 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34169 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34170 wxPyEndAllowThreads(__tstate
);
34171 if (PyErr_Occurred()) SWIG_fail
;
34173 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34180 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34181 PyObject
*resultobj
= 0;
34182 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34183 unsigned int arg2
;
34186 unsigned int val2
;
34188 PyObject
* obj0
= 0 ;
34189 PyObject
* obj1
= 0 ;
34190 char * kwnames
[] = {
34191 (char *) "self",(char *) "indent", NULL
34194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34196 if (!SWIG_IsOK(res1
)) {
34197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34199 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34200 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34201 if (!SWIG_IsOK(ecode2
)) {
34202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34204 arg2
= static_cast< unsigned int >(val2
);
34206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34207 (arg1
)->SetIndent(arg2
);
34208 wxPyEndAllowThreads(__tstate
);
34209 if (PyErr_Occurred()) SWIG_fail
;
34211 resultobj
= SWIG_Py_Void();
34218 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34219 PyObject
*resultobj
= 0;
34220 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34221 unsigned int result
;
34224 PyObject
*swig_obj
[1] ;
34226 if (!args
) SWIG_fail
;
34227 swig_obj
[0] = args
;
34228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34229 if (!SWIG_IsOK(res1
)) {
34230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34232 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34235 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34236 wxPyEndAllowThreads(__tstate
);
34237 if (PyErr_Occurred()) SWIG_fail
;
34239 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34246 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34247 PyObject
*resultobj
= 0;
34248 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34249 unsigned int arg2
;
34252 unsigned int val2
;
34254 PyObject
* obj0
= 0 ;
34255 PyObject
* obj1
= 0 ;
34256 char * kwnames
[] = {
34257 (char *) "self",(char *) "spacing", NULL
34260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34262 if (!SWIG_IsOK(res1
)) {
34263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34265 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34266 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34267 if (!SWIG_IsOK(ecode2
)) {
34268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34270 arg2
= static_cast< unsigned int >(val2
);
34272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34273 (arg1
)->SetSpacing(arg2
);
34274 wxPyEndAllowThreads(__tstate
);
34275 if (PyErr_Occurred()) SWIG_fail
;
34277 resultobj
= SWIG_Py_Void();
34284 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34285 PyObject
*resultobj
= 0;
34286 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34287 wxImageList
*result
= 0 ;
34290 PyObject
*swig_obj
[1] ;
34292 if (!args
) SWIG_fail
;
34293 swig_obj
[0] = args
;
34294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34295 if (!SWIG_IsOK(res1
)) {
34296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34298 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34302 wxPyEndAllowThreads(__tstate
);
34303 if (PyErr_Occurred()) SWIG_fail
;
34306 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34314 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34315 PyObject
*resultobj
= 0;
34316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34317 wxImageList
*result
= 0 ;
34320 PyObject
*swig_obj
[1] ;
34322 if (!args
) SWIG_fail
;
34323 swig_obj
[0] = args
;
34324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34325 if (!SWIG_IsOK(res1
)) {
34326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34328 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34331 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34332 wxPyEndAllowThreads(__tstate
);
34333 if (PyErr_Occurred()) SWIG_fail
;
34336 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34344 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34345 PyObject
*resultobj
= 0;
34346 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34347 wxImageList
*arg2
= (wxImageList
*) 0 ;
34352 PyObject
* obj0
= 0 ;
34353 PyObject
* obj1
= 0 ;
34354 char * kwnames
[] = {
34355 (char *) "self",(char *) "imageList", NULL
34358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34360 if (!SWIG_IsOK(res1
)) {
34361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34363 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34364 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34365 if (!SWIG_IsOK(res2
)) {
34366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34368 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34371 (arg1
)->SetImageList(arg2
);
34372 wxPyEndAllowThreads(__tstate
);
34373 if (PyErr_Occurred()) SWIG_fail
;
34375 resultobj
= SWIG_Py_Void();
34382 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34383 PyObject
*resultobj
= 0;
34384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34385 wxImageList
*arg2
= (wxImageList
*) 0 ;
34390 PyObject
* obj0
= 0 ;
34391 PyObject
* obj1
= 0 ;
34392 char * kwnames
[] = {
34393 (char *) "self",(char *) "imageList", NULL
34396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34398 if (!SWIG_IsOK(res1
)) {
34399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34401 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34402 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34403 if (!SWIG_IsOK(res2
)) {
34404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34406 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34409 (arg1
)->SetStateImageList(arg2
);
34410 wxPyEndAllowThreads(__tstate
);
34411 if (PyErr_Occurred()) SWIG_fail
;
34413 resultobj
= SWIG_Py_Void();
34420 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34421 PyObject
*resultobj
= 0;
34422 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34423 wxImageList
*arg2
= (wxImageList
*) 0 ;
34427 PyObject
* obj0
= 0 ;
34428 PyObject
* obj1
= 0 ;
34429 char * kwnames
[] = {
34430 (char *) "self",(char *) "imageList", NULL
34433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34435 if (!SWIG_IsOK(res1
)) {
34436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34438 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34439 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34440 if (!SWIG_IsOK(res2
)) {
34441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34445 (arg1
)->AssignImageList(arg2
);
34446 wxPyEndAllowThreads(__tstate
);
34447 if (PyErr_Occurred()) SWIG_fail
;
34449 resultobj
= SWIG_Py_Void();
34456 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34457 PyObject
*resultobj
= 0;
34458 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34459 wxImageList
*arg2
= (wxImageList
*) 0 ;
34463 PyObject
* obj0
= 0 ;
34464 PyObject
* obj1
= 0 ;
34465 char * kwnames
[] = {
34466 (char *) "self",(char *) "imageList", NULL
34469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34471 if (!SWIG_IsOK(res1
)) {
34472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34474 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34475 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34476 if (!SWIG_IsOK(res2
)) {
34477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34481 (arg1
)->AssignStateImageList(arg2
);
34482 wxPyEndAllowThreads(__tstate
);
34483 if (PyErr_Occurred()) SWIG_fail
;
34485 resultobj
= SWIG_Py_Void();
34492 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34493 PyObject
*resultobj
= 0;
34494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34495 wxTreeItemId
*arg2
= 0 ;
34501 PyObject
* obj0
= 0 ;
34502 PyObject
* obj1
= 0 ;
34503 char * kwnames
[] = {
34504 (char *) "self",(char *) "item", NULL
34507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34509 if (!SWIG_IsOK(res1
)) {
34510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34512 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34513 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34514 if (!SWIG_IsOK(res2
)) {
34515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34520 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34523 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34524 wxPyEndAllowThreads(__tstate
);
34525 if (PyErr_Occurred()) SWIG_fail
;
34529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34540 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34541 PyObject
*resultobj
= 0;
34542 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34543 wxTreeItemId
*arg2
= 0 ;
34544 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34552 PyObject
* obj0
= 0 ;
34553 PyObject
* obj1
= 0 ;
34554 PyObject
* obj2
= 0 ;
34555 char * kwnames
[] = {
34556 (char *) "self",(char *) "item",(char *) "which", NULL
34559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34561 if (!SWIG_IsOK(res1
)) {
34562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34564 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34565 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34566 if (!SWIG_IsOK(res2
)) {
34567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34572 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34575 if (!SWIG_IsOK(ecode3
)) {
34576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34578 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34582 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34583 wxPyEndAllowThreads(__tstate
);
34584 if (PyErr_Occurred()) SWIG_fail
;
34586 resultobj
= SWIG_From_int(static_cast< int >(result
));
34593 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34594 PyObject
*resultobj
= 0;
34595 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34596 wxTreeItemId
*arg2
= 0 ;
34597 wxPyTreeItemData
*result
= 0 ;
34602 PyObject
* obj0
= 0 ;
34603 PyObject
* obj1
= 0 ;
34604 char * kwnames
[] = {
34605 (char *) "self",(char *) "item", NULL
34608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34610 if (!SWIG_IsOK(res1
)) {
34611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34613 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34615 if (!SWIG_IsOK(res2
)) {
34616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34621 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34624 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34625 wxPyEndAllowThreads(__tstate
);
34626 if (PyErr_Occurred()) SWIG_fail
;
34628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34635 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34636 PyObject
*resultobj
= 0;
34637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34638 wxTreeItemId
*arg2
= 0 ;
34639 PyObject
*result
= 0 ;
34644 PyObject
* obj0
= 0 ;
34645 PyObject
* obj1
= 0 ;
34646 char * kwnames
[] = {
34647 (char *) "self",(char *) "item", NULL
34650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34652 if (!SWIG_IsOK(res1
)) {
34653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34655 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34657 if (!SWIG_IsOK(res2
)) {
34658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34663 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34666 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34667 wxPyEndAllowThreads(__tstate
);
34668 if (PyErr_Occurred()) SWIG_fail
;
34670 resultobj
= result
;
34677 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34678 PyObject
*resultobj
= 0;
34679 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34680 wxTreeItemId
*arg2
= 0 ;
34686 PyObject
* obj0
= 0 ;
34687 PyObject
* obj1
= 0 ;
34688 char * kwnames
[] = {
34689 (char *) "self",(char *) "item", NULL
34692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34694 if (!SWIG_IsOK(res1
)) {
34695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34697 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34698 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34699 if (!SWIG_IsOK(res2
)) {
34700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34705 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34708 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34709 wxPyEndAllowThreads(__tstate
);
34710 if (PyErr_Occurred()) SWIG_fail
;
34712 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34719 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34720 PyObject
*resultobj
= 0;
34721 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34722 wxTreeItemId
*arg2
= 0 ;
34728 PyObject
* obj0
= 0 ;
34729 PyObject
* obj1
= 0 ;
34730 char * kwnames
[] = {
34731 (char *) "self",(char *) "item", NULL
34734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34736 if (!SWIG_IsOK(res1
)) {
34737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34739 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34740 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34741 if (!SWIG_IsOK(res2
)) {
34742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34747 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34750 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34751 wxPyEndAllowThreads(__tstate
);
34752 if (PyErr_Occurred()) SWIG_fail
;
34754 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34761 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34762 PyObject
*resultobj
= 0;
34763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34764 wxTreeItemId
*arg2
= 0 ;
34770 PyObject
* obj0
= 0 ;
34771 PyObject
* obj1
= 0 ;
34772 char * kwnames
[] = {
34773 (char *) "self",(char *) "item", NULL
34776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34778 if (!SWIG_IsOK(res1
)) {
34779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34781 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34783 if (!SWIG_IsOK(res2
)) {
34784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34789 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34792 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34793 wxPyEndAllowThreads(__tstate
);
34794 if (PyErr_Occurred()) SWIG_fail
;
34796 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34803 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34804 PyObject
*resultobj
= 0;
34805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34806 wxTreeItemId
*arg2
= 0 ;
34807 wxString
*arg3
= 0 ;
34812 bool temp3
= false ;
34813 PyObject
* obj0
= 0 ;
34814 PyObject
* obj1
= 0 ;
34815 PyObject
* obj2
= 0 ;
34816 char * kwnames
[] = {
34817 (char *) "self",(char *) "item",(char *) "text", NULL
34820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34822 if (!SWIG_IsOK(res1
)) {
34823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34825 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34827 if (!SWIG_IsOK(res2
)) {
34828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34833 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34835 arg3
= wxString_in_helper(obj2
);
34836 if (arg3
== NULL
) SWIG_fail
;
34840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34841 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34842 wxPyEndAllowThreads(__tstate
);
34843 if (PyErr_Occurred()) SWIG_fail
;
34845 resultobj
= SWIG_Py_Void();
34860 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34861 PyObject
*resultobj
= 0;
34862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34863 wxTreeItemId
*arg2
= 0 ;
34865 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34874 PyObject
* obj0
= 0 ;
34875 PyObject
* obj1
= 0 ;
34876 PyObject
* obj2
= 0 ;
34877 PyObject
* obj3
= 0 ;
34878 char * kwnames
[] = {
34879 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34884 if (!SWIG_IsOK(res1
)) {
34885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34887 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34888 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34889 if (!SWIG_IsOK(res2
)) {
34890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34895 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34897 if (!SWIG_IsOK(ecode3
)) {
34898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34900 arg3
= static_cast< int >(val3
);
34902 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34903 if (!SWIG_IsOK(ecode4
)) {
34904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34906 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34910 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34911 wxPyEndAllowThreads(__tstate
);
34912 if (PyErr_Occurred()) SWIG_fail
;
34914 resultobj
= SWIG_Py_Void();
34921 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34922 PyObject
*resultobj
= 0;
34923 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34924 wxTreeItemId
*arg2
= 0 ;
34925 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34931 PyObject
* obj0
= 0 ;
34932 PyObject
* obj1
= 0 ;
34933 PyObject
* obj2
= 0 ;
34934 char * kwnames
[] = {
34935 (char *) "self",(char *) "item",(char *) "data", NULL
34938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34940 if (!SWIG_IsOK(res1
)) {
34941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34943 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34945 if (!SWIG_IsOK(res2
)) {
34946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34951 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34952 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34953 if (!SWIG_IsOK(res3
)) {
34954 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34958 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34959 wxPyEndAllowThreads(__tstate
);
34960 if (PyErr_Occurred()) SWIG_fail
;
34962 resultobj
= SWIG_Py_Void();
34969 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34970 PyObject
*resultobj
= 0;
34971 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34972 wxTreeItemId
*arg2
= 0 ;
34973 PyObject
*arg3
= (PyObject
*) 0 ;
34978 PyObject
* obj0
= 0 ;
34979 PyObject
* obj1
= 0 ;
34980 PyObject
* obj2
= 0 ;
34981 char * kwnames
[] = {
34982 (char *) "self",(char *) "item",(char *) "obj", NULL
34985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34987 if (!SWIG_IsOK(res1
)) {
34988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34990 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34992 if (!SWIG_IsOK(res2
)) {
34993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34998 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35002 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35003 wxPyEndAllowThreads(__tstate
);
35004 if (PyErr_Occurred()) SWIG_fail
;
35006 resultobj
= SWIG_Py_Void();
35013 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35014 PyObject
*resultobj
= 0;
35015 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35016 wxTreeItemId
*arg2
= 0 ;
35017 bool arg3
= (bool) true ;
35024 PyObject
* obj0
= 0 ;
35025 PyObject
* obj1
= 0 ;
35026 PyObject
* obj2
= 0 ;
35027 char * kwnames
[] = {
35028 (char *) "self",(char *) "item",(char *) "has", NULL
35031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35033 if (!SWIG_IsOK(res1
)) {
35034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35036 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35037 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35038 if (!SWIG_IsOK(res2
)) {
35039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35044 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35046 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35047 if (!SWIG_IsOK(ecode3
)) {
35048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35050 arg3
= static_cast< bool >(val3
);
35053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35054 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35055 wxPyEndAllowThreads(__tstate
);
35056 if (PyErr_Occurred()) SWIG_fail
;
35058 resultobj
= SWIG_Py_Void();
35065 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35066 PyObject
*resultobj
= 0;
35067 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35068 wxTreeItemId
*arg2
= 0 ;
35069 bool arg3
= (bool) true ;
35076 PyObject
* obj0
= 0 ;
35077 PyObject
* obj1
= 0 ;
35078 PyObject
* obj2
= 0 ;
35079 char * kwnames
[] = {
35080 (char *) "self",(char *) "item",(char *) "bold", NULL
35083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35085 if (!SWIG_IsOK(res1
)) {
35086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35088 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35089 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35090 if (!SWIG_IsOK(res2
)) {
35091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35096 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35098 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35099 if (!SWIG_IsOK(ecode3
)) {
35100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35102 arg3
= static_cast< bool >(val3
);
35105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35106 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35107 wxPyEndAllowThreads(__tstate
);
35108 if (PyErr_Occurred()) SWIG_fail
;
35110 resultobj
= SWIG_Py_Void();
35117 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35118 PyObject
*resultobj
= 0;
35119 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35120 wxTreeItemId
*arg2
= 0 ;
35121 bool arg3
= (bool) true ;
35128 PyObject
* obj0
= 0 ;
35129 PyObject
* obj1
= 0 ;
35130 PyObject
* obj2
= 0 ;
35131 char * kwnames
[] = {
35132 (char *) "self",(char *) "item",(char *) "highlight", NULL
35135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35137 if (!SWIG_IsOK(res1
)) {
35138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35140 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35141 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35142 if (!SWIG_IsOK(res2
)) {
35143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35148 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35150 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35151 if (!SWIG_IsOK(ecode3
)) {
35152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35154 arg3
= static_cast< bool >(val3
);
35157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35158 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35159 wxPyEndAllowThreads(__tstate
);
35160 if (PyErr_Occurred()) SWIG_fail
;
35162 resultobj
= SWIG_Py_Void();
35169 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35170 PyObject
*resultobj
= 0;
35171 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35172 wxTreeItemId
*arg2
= 0 ;
35173 wxColour
*arg3
= 0 ;
35179 PyObject
* obj0
= 0 ;
35180 PyObject
* obj1
= 0 ;
35181 PyObject
* obj2
= 0 ;
35182 char * kwnames
[] = {
35183 (char *) "self",(char *) "item",(char *) "col", NULL
35186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35188 if (!SWIG_IsOK(res1
)) {
35189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35191 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35192 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35193 if (!SWIG_IsOK(res2
)) {
35194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35199 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35202 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35206 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35207 wxPyEndAllowThreads(__tstate
);
35208 if (PyErr_Occurred()) SWIG_fail
;
35210 resultobj
= SWIG_Py_Void();
35217 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35218 PyObject
*resultobj
= 0;
35219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35220 wxTreeItemId
*arg2
= 0 ;
35221 wxColour
*arg3
= 0 ;
35227 PyObject
* obj0
= 0 ;
35228 PyObject
* obj1
= 0 ;
35229 PyObject
* obj2
= 0 ;
35230 char * kwnames
[] = {
35231 (char *) "self",(char *) "item",(char *) "col", NULL
35234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35236 if (!SWIG_IsOK(res1
)) {
35237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35239 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35240 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35241 if (!SWIG_IsOK(res2
)) {
35242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35247 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35250 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35254 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35255 wxPyEndAllowThreads(__tstate
);
35256 if (PyErr_Occurred()) SWIG_fail
;
35258 resultobj
= SWIG_Py_Void();
35265 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35266 PyObject
*resultobj
= 0;
35267 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35268 wxTreeItemId
*arg2
= 0 ;
35276 PyObject
* obj0
= 0 ;
35277 PyObject
* obj1
= 0 ;
35278 PyObject
* obj2
= 0 ;
35279 char * kwnames
[] = {
35280 (char *) "self",(char *) "item",(char *) "font", NULL
35283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35285 if (!SWIG_IsOK(res1
)) {
35286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35288 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35290 if (!SWIG_IsOK(res2
)) {
35291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35296 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35297 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35298 if (!SWIG_IsOK(res3
)) {
35299 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35304 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35307 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35308 wxPyEndAllowThreads(__tstate
);
35309 if (PyErr_Occurred()) SWIG_fail
;
35311 resultobj
= SWIG_Py_Void();
35318 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35319 PyObject
*resultobj
= 0;
35320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35321 wxTreeItemId
*arg2
= 0 ;
35327 PyObject
* obj0
= 0 ;
35328 PyObject
* obj1
= 0 ;
35329 char * kwnames
[] = {
35330 (char *) "self",(char *) "item", NULL
35333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35335 if (!SWIG_IsOK(res1
)) {
35336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35338 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35340 if (!SWIG_IsOK(res2
)) {
35341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35346 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35349 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35350 wxPyEndAllowThreads(__tstate
);
35351 if (PyErr_Occurred()) SWIG_fail
;
35354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35362 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35363 PyObject
*resultobj
= 0;
35364 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35365 wxTreeItemId
*arg2
= 0 ;
35371 PyObject
* obj0
= 0 ;
35372 PyObject
* obj1
= 0 ;
35373 char * kwnames
[] = {
35374 (char *) "self",(char *) "item", NULL
35377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35379 if (!SWIG_IsOK(res1
)) {
35380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35382 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35384 if (!SWIG_IsOK(res2
)) {
35385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35390 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35393 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35394 wxPyEndAllowThreads(__tstate
);
35395 if (PyErr_Occurred()) SWIG_fail
;
35398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35406 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35407 PyObject
*resultobj
= 0;
35408 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35409 wxTreeItemId
*arg2
= 0 ;
35415 PyObject
* obj0
= 0 ;
35416 PyObject
* obj1
= 0 ;
35417 char * kwnames
[] = {
35418 (char *) "self",(char *) "item", NULL
35421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35423 if (!SWIG_IsOK(res1
)) {
35424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35426 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35427 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35428 if (!SWIG_IsOK(res2
)) {
35429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35434 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35437 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35438 wxPyEndAllowThreads(__tstate
);
35439 if (PyErr_Occurred()) SWIG_fail
;
35442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35450 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35451 PyObject
*resultobj
= 0;
35452 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35453 wxTreeItemId
*arg2
= 0 ;
35459 PyObject
* obj0
= 0 ;
35460 PyObject
* obj1
= 0 ;
35461 char * kwnames
[] = {
35462 (char *) "self",(char *) "item", NULL
35465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35467 if (!SWIG_IsOK(res1
)) {
35468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35470 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35472 if (!SWIG_IsOK(res2
)) {
35473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35478 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35481 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35482 wxPyEndAllowThreads(__tstate
);
35483 if (PyErr_Occurred()) SWIG_fail
;
35486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35494 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35495 PyObject
*resultobj
= 0;
35496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35497 wxTreeItemId
*arg2
= 0 ;
35503 PyObject
* obj0
= 0 ;
35504 PyObject
* obj1
= 0 ;
35505 char * kwnames
[] = {
35506 (char *) "self",(char *) "item", NULL
35509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35511 if (!SWIG_IsOK(res1
)) {
35512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35514 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35515 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35516 if (!SWIG_IsOK(res2
)) {
35517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35522 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35525 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35526 wxPyEndAllowThreads(__tstate
);
35527 if (PyErr_Occurred()) SWIG_fail
;
35530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35538 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35539 PyObject
*resultobj
= 0;
35540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35541 wxTreeItemId
*arg2
= 0 ;
35542 bool arg3
= (bool) true ;
35550 PyObject
* obj0
= 0 ;
35551 PyObject
* obj1
= 0 ;
35552 PyObject
* obj2
= 0 ;
35553 char * kwnames
[] = {
35554 (char *) "self",(char *) "item",(char *) "recursively", NULL
35557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35559 if (!SWIG_IsOK(res1
)) {
35560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35562 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35564 if (!SWIG_IsOK(res2
)) {
35565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35570 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35572 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35573 if (!SWIG_IsOK(ecode3
)) {
35574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35576 arg3
= static_cast< bool >(val3
);
35579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35580 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35581 wxPyEndAllowThreads(__tstate
);
35582 if (PyErr_Occurred()) SWIG_fail
;
35584 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35591 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35592 PyObject
*resultobj
= 0;
35593 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35594 wxTreeItemId result
;
35597 PyObject
*swig_obj
[1] ;
35599 if (!args
) SWIG_fail
;
35600 swig_obj
[0] = args
;
35601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35602 if (!SWIG_IsOK(res1
)) {
35603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35605 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35608 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35609 wxPyEndAllowThreads(__tstate
);
35610 if (PyErr_Occurred()) SWIG_fail
;
35612 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35619 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35620 PyObject
*resultobj
= 0;
35621 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35622 wxTreeItemId result
;
35625 PyObject
*swig_obj
[1] ;
35627 if (!args
) SWIG_fail
;
35628 swig_obj
[0] = args
;
35629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35630 if (!SWIG_IsOK(res1
)) {
35631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35633 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35636 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35637 wxPyEndAllowThreads(__tstate
);
35638 if (PyErr_Occurred()) SWIG_fail
;
35640 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35647 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35648 PyObject
*resultobj
= 0;
35649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35650 PyObject
*result
= 0 ;
35653 PyObject
*swig_obj
[1] ;
35655 if (!args
) SWIG_fail
;
35656 swig_obj
[0] = args
;
35657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35658 if (!SWIG_IsOK(res1
)) {
35659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35661 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35664 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35665 wxPyEndAllowThreads(__tstate
);
35666 if (PyErr_Occurred()) SWIG_fail
;
35668 resultobj
= result
;
35675 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35676 PyObject
*resultobj
= 0;
35677 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35678 wxTreeItemId
*arg2
= 0 ;
35679 wxTreeItemId result
;
35684 PyObject
* obj0
= 0 ;
35685 PyObject
* obj1
= 0 ;
35686 char * kwnames
[] = {
35687 (char *) "self",(char *) "item", NULL
35690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35692 if (!SWIG_IsOK(res1
)) {
35693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35695 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35696 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35697 if (!SWIG_IsOK(res2
)) {
35698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35703 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35706 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35707 wxPyEndAllowThreads(__tstate
);
35708 if (PyErr_Occurred()) SWIG_fail
;
35710 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35717 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35718 PyObject
*resultobj
= 0;
35719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35720 wxTreeItemId
*arg2
= 0 ;
35721 PyObject
*result
= 0 ;
35726 PyObject
* obj0
= 0 ;
35727 PyObject
* obj1
= 0 ;
35728 char * kwnames
[] = {
35729 (char *) "self",(char *) "item", NULL
35732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35734 if (!SWIG_IsOK(res1
)) {
35735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35737 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35738 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35739 if (!SWIG_IsOK(res2
)) {
35740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35745 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35748 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35749 wxPyEndAllowThreads(__tstate
);
35750 if (PyErr_Occurred()) SWIG_fail
;
35752 resultobj
= result
;
35759 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35760 PyObject
*resultobj
= 0;
35761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35762 wxTreeItemId
*arg2
= 0 ;
35763 void *arg3
= (void *) 0 ;
35764 PyObject
*result
= 0 ;
35770 PyObject
* obj0
= 0 ;
35771 PyObject
* obj1
= 0 ;
35772 PyObject
* obj2
= 0 ;
35773 char * kwnames
[] = {
35774 (char *) "self",(char *) "item",(char *) "cookie", NULL
35777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35779 if (!SWIG_IsOK(res1
)) {
35780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35782 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35784 if (!SWIG_IsOK(res2
)) {
35785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35790 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35791 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35792 if (!SWIG_IsOK(res3
)) {
35793 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35797 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35798 wxPyEndAllowThreads(__tstate
);
35799 if (PyErr_Occurred()) SWIG_fail
;
35801 resultobj
= result
;
35808 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35809 PyObject
*resultobj
= 0;
35810 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35811 wxTreeItemId
*arg2
= 0 ;
35812 wxTreeItemId result
;
35817 PyObject
* obj0
= 0 ;
35818 PyObject
* obj1
= 0 ;
35819 char * kwnames
[] = {
35820 (char *) "self",(char *) "item", NULL
35823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35825 if (!SWIG_IsOK(res1
)) {
35826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35828 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35830 if (!SWIG_IsOK(res2
)) {
35831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35836 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35839 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35840 wxPyEndAllowThreads(__tstate
);
35841 if (PyErr_Occurred()) SWIG_fail
;
35843 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35850 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35851 PyObject
*resultobj
= 0;
35852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35853 wxTreeItemId
*arg2
= 0 ;
35854 wxTreeItemId result
;
35859 PyObject
* obj0
= 0 ;
35860 PyObject
* obj1
= 0 ;
35861 char * kwnames
[] = {
35862 (char *) "self",(char *) "item", NULL
35865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35867 if (!SWIG_IsOK(res1
)) {
35868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35870 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35872 if (!SWIG_IsOK(res2
)) {
35873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35878 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35881 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35882 wxPyEndAllowThreads(__tstate
);
35883 if (PyErr_Occurred()) SWIG_fail
;
35885 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35892 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35893 PyObject
*resultobj
= 0;
35894 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35895 wxTreeItemId
*arg2
= 0 ;
35896 wxTreeItemId result
;
35901 PyObject
* obj0
= 0 ;
35902 PyObject
* obj1
= 0 ;
35903 char * kwnames
[] = {
35904 (char *) "self",(char *) "item", NULL
35907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35909 if (!SWIG_IsOK(res1
)) {
35910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35912 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35914 if (!SWIG_IsOK(res2
)) {
35915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35920 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35923 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35924 wxPyEndAllowThreads(__tstate
);
35925 if (PyErr_Occurred()) SWIG_fail
;
35927 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35934 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35935 PyObject
*resultobj
= 0;
35936 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35937 wxTreeItemId result
;
35940 PyObject
*swig_obj
[1] ;
35942 if (!args
) SWIG_fail
;
35943 swig_obj
[0] = args
;
35944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35945 if (!SWIG_IsOK(res1
)) {
35946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35948 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35951 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35952 wxPyEndAllowThreads(__tstate
);
35953 if (PyErr_Occurred()) SWIG_fail
;
35955 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35962 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35963 PyObject
*resultobj
= 0;
35964 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35965 wxTreeItemId
*arg2
= 0 ;
35966 wxTreeItemId result
;
35971 PyObject
* obj0
= 0 ;
35972 PyObject
* obj1
= 0 ;
35973 char * kwnames
[] = {
35974 (char *) "self",(char *) "item", NULL
35977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35979 if (!SWIG_IsOK(res1
)) {
35980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35982 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35984 if (!SWIG_IsOK(res2
)) {
35985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35990 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35993 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35994 wxPyEndAllowThreads(__tstate
);
35995 if (PyErr_Occurred()) SWIG_fail
;
35997 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36004 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36005 PyObject
*resultobj
= 0;
36006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36007 wxTreeItemId
*arg2
= 0 ;
36008 wxTreeItemId result
;
36013 PyObject
* obj0
= 0 ;
36014 PyObject
* obj1
= 0 ;
36015 char * kwnames
[] = {
36016 (char *) "self",(char *) "item", NULL
36019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36021 if (!SWIG_IsOK(res1
)) {
36022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36024 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36026 if (!SWIG_IsOK(res2
)) {
36027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36032 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36035 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36036 wxPyEndAllowThreads(__tstate
);
36037 if (PyErr_Occurred()) SWIG_fail
;
36039 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36046 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36047 PyObject
*resultobj
= 0;
36048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36049 wxString
*arg2
= 0 ;
36050 int arg3
= (int) -1 ;
36051 int arg4
= (int) -1 ;
36052 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36053 wxTreeItemId result
;
36056 bool temp2
= false ;
36062 PyObject
* obj0
= 0 ;
36063 PyObject
* obj1
= 0 ;
36064 PyObject
* obj2
= 0 ;
36065 PyObject
* obj3
= 0 ;
36066 PyObject
* obj4
= 0 ;
36067 char * kwnames
[] = {
36068 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36073 if (!SWIG_IsOK(res1
)) {
36074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36076 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36078 arg2
= wxString_in_helper(obj1
);
36079 if (arg2
== NULL
) SWIG_fail
;
36083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36084 if (!SWIG_IsOK(ecode3
)) {
36085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36087 arg3
= static_cast< int >(val3
);
36090 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36091 if (!SWIG_IsOK(ecode4
)) {
36092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36094 arg4
= static_cast< int >(val4
);
36097 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36098 if (!SWIG_IsOK(res5
)) {
36099 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36104 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36105 wxPyEndAllowThreads(__tstate
);
36106 if (PyErr_Occurred()) SWIG_fail
;
36108 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36123 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36124 PyObject
*resultobj
= 0;
36125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36126 wxTreeItemId
*arg2
= 0 ;
36127 wxString
*arg3
= 0 ;
36128 int arg4
= (int) -1 ;
36129 int arg5
= (int) -1 ;
36130 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36131 wxTreeItemId result
;
36136 bool temp3
= false ;
36142 PyObject
* obj0
= 0 ;
36143 PyObject
* obj1
= 0 ;
36144 PyObject
* obj2
= 0 ;
36145 PyObject
* obj3
= 0 ;
36146 PyObject
* obj4
= 0 ;
36147 PyObject
* obj5
= 0 ;
36148 char * kwnames
[] = {
36149 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36154 if (!SWIG_IsOK(res1
)) {
36155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36157 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36159 if (!SWIG_IsOK(res2
)) {
36160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36165 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36167 arg3
= wxString_in_helper(obj2
);
36168 if (arg3
== NULL
) SWIG_fail
;
36172 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36173 if (!SWIG_IsOK(ecode4
)) {
36174 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36176 arg4
= static_cast< int >(val4
);
36179 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36180 if (!SWIG_IsOK(ecode5
)) {
36181 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36183 arg5
= static_cast< int >(val5
);
36186 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36187 if (!SWIG_IsOK(res6
)) {
36188 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36193 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36194 wxPyEndAllowThreads(__tstate
);
36195 if (PyErr_Occurred()) SWIG_fail
;
36197 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36212 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36213 PyObject
*resultobj
= 0;
36214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36215 wxTreeItemId
*arg2
= 0 ;
36216 wxTreeItemId
*arg3
= 0 ;
36217 wxString
*arg4
= 0 ;
36218 int arg5
= (int) -1 ;
36219 int arg6
= (int) -1 ;
36220 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36221 wxTreeItemId result
;
36228 bool temp4
= false ;
36234 PyObject
* obj0
= 0 ;
36235 PyObject
* obj1
= 0 ;
36236 PyObject
* obj2
= 0 ;
36237 PyObject
* obj3
= 0 ;
36238 PyObject
* obj4
= 0 ;
36239 PyObject
* obj5
= 0 ;
36240 PyObject
* obj6
= 0 ;
36241 char * kwnames
[] = {
36242 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36247 if (!SWIG_IsOK(res1
)) {
36248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36250 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36252 if (!SWIG_IsOK(res2
)) {
36253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36258 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36259 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36260 if (!SWIG_IsOK(res3
)) {
36261 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36266 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36268 arg4
= wxString_in_helper(obj3
);
36269 if (arg4
== NULL
) SWIG_fail
;
36273 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36274 if (!SWIG_IsOK(ecode5
)) {
36275 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36277 arg5
= static_cast< int >(val5
);
36280 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36281 if (!SWIG_IsOK(ecode6
)) {
36282 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36284 arg6
= static_cast< int >(val6
);
36287 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36288 if (!SWIG_IsOK(res7
)) {
36289 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36294 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36295 wxPyEndAllowThreads(__tstate
);
36296 if (PyErr_Occurred()) SWIG_fail
;
36298 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36313 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36314 PyObject
*resultobj
= 0;
36315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36316 wxTreeItemId
*arg2
= 0 ;
36318 wxString
*arg4
= 0 ;
36319 int arg5
= (int) -1 ;
36320 int arg6
= (int) -1 ;
36321 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36322 wxTreeItemId result
;
36329 bool temp4
= false ;
36335 PyObject
* obj0
= 0 ;
36336 PyObject
* obj1
= 0 ;
36337 PyObject
* obj2
= 0 ;
36338 PyObject
* obj3
= 0 ;
36339 PyObject
* obj4
= 0 ;
36340 PyObject
* obj5
= 0 ;
36341 PyObject
* obj6
= 0 ;
36342 char * kwnames
[] = {
36343 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36348 if (!SWIG_IsOK(res1
)) {
36349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36351 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36352 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36353 if (!SWIG_IsOK(res2
)) {
36354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36359 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36360 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36361 if (!SWIG_IsOK(ecode3
)) {
36362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36364 arg3
= static_cast< size_t >(val3
);
36366 arg4
= wxString_in_helper(obj3
);
36367 if (arg4
== NULL
) SWIG_fail
;
36371 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36372 if (!SWIG_IsOK(ecode5
)) {
36373 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36375 arg5
= static_cast< int >(val5
);
36378 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36379 if (!SWIG_IsOK(ecode6
)) {
36380 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36382 arg6
= static_cast< int >(val6
);
36385 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36386 if (!SWIG_IsOK(res7
)) {
36387 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36392 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36393 wxPyEndAllowThreads(__tstate
);
36394 if (PyErr_Occurred()) SWIG_fail
;
36396 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36411 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36412 PyObject
*resultobj
= 0;
36413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36414 wxTreeItemId
*arg2
= 0 ;
36415 wxString
*arg3
= 0 ;
36416 int arg4
= (int) -1 ;
36417 int arg5
= (int) -1 ;
36418 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36419 wxTreeItemId result
;
36424 bool temp3
= false ;
36430 PyObject
* obj0
= 0 ;
36431 PyObject
* obj1
= 0 ;
36432 PyObject
* obj2
= 0 ;
36433 PyObject
* obj3
= 0 ;
36434 PyObject
* obj4
= 0 ;
36435 PyObject
* obj5
= 0 ;
36436 char * kwnames
[] = {
36437 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36442 if (!SWIG_IsOK(res1
)) {
36443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36445 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36446 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36447 if (!SWIG_IsOK(res2
)) {
36448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36453 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36455 arg3
= wxString_in_helper(obj2
);
36456 if (arg3
== NULL
) SWIG_fail
;
36460 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36461 if (!SWIG_IsOK(ecode4
)) {
36462 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36464 arg4
= static_cast< int >(val4
);
36467 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36468 if (!SWIG_IsOK(ecode5
)) {
36469 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36471 arg5
= static_cast< int >(val5
);
36474 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36475 if (!SWIG_IsOK(res6
)) {
36476 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36481 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36482 wxPyEndAllowThreads(__tstate
);
36483 if (PyErr_Occurred()) SWIG_fail
;
36485 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36500 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36501 PyObject
*resultobj
= 0;
36502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36503 wxTreeItemId
*arg2
= 0 ;
36508 PyObject
* obj0
= 0 ;
36509 PyObject
* obj1
= 0 ;
36510 char * kwnames
[] = {
36511 (char *) "self",(char *) "item", NULL
36514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36516 if (!SWIG_IsOK(res1
)) {
36517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36519 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36520 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36521 if (!SWIG_IsOK(res2
)) {
36522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36527 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36530 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36531 wxPyEndAllowThreads(__tstate
);
36532 if (PyErr_Occurred()) SWIG_fail
;
36534 resultobj
= SWIG_Py_Void();
36541 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36542 PyObject
*resultobj
= 0;
36543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36544 wxTreeItemId
*arg2
= 0 ;
36549 PyObject
* obj0
= 0 ;
36550 PyObject
* obj1
= 0 ;
36551 char * kwnames
[] = {
36552 (char *) "self",(char *) "item", NULL
36555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36557 if (!SWIG_IsOK(res1
)) {
36558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36560 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36561 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36562 if (!SWIG_IsOK(res2
)) {
36563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36568 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36571 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36572 wxPyEndAllowThreads(__tstate
);
36573 if (PyErr_Occurred()) SWIG_fail
;
36575 resultobj
= SWIG_Py_Void();
36582 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36583 PyObject
*resultobj
= 0;
36584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36587 PyObject
*swig_obj
[1] ;
36589 if (!args
) SWIG_fail
;
36590 swig_obj
[0] = args
;
36591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36592 if (!SWIG_IsOK(res1
)) {
36593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36595 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36598 (arg1
)->DeleteAllItems();
36599 wxPyEndAllowThreads(__tstate
);
36600 if (PyErr_Occurred()) SWIG_fail
;
36602 resultobj
= SWIG_Py_Void();
36609 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36610 PyObject
*resultobj
= 0;
36611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36612 wxTreeItemId
*arg2
= 0 ;
36617 PyObject
* obj0
= 0 ;
36618 PyObject
* obj1
= 0 ;
36619 char * kwnames
[] = {
36620 (char *) "self",(char *) "item", NULL
36623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36625 if (!SWIG_IsOK(res1
)) {
36626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36628 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36629 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36630 if (!SWIG_IsOK(res2
)) {
36631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36636 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36639 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36640 wxPyEndAllowThreads(__tstate
);
36641 if (PyErr_Occurred()) SWIG_fail
;
36643 resultobj
= SWIG_Py_Void();
36650 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36651 PyObject
*resultobj
= 0;
36652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36653 wxTreeItemId
*arg2
= 0 ;
36658 PyObject
* obj0
= 0 ;
36659 PyObject
* obj1
= 0 ;
36660 char * kwnames
[] = {
36661 (char *) "self",(char *) "item", NULL
36664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36666 if (!SWIG_IsOK(res1
)) {
36667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36669 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36671 if (!SWIG_IsOK(res2
)) {
36672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36677 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36680 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36681 wxPyEndAllowThreads(__tstate
);
36682 if (PyErr_Occurred()) SWIG_fail
;
36684 resultobj
= SWIG_Py_Void();
36691 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36692 PyObject
*resultobj
= 0;
36693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36696 PyObject
*swig_obj
[1] ;
36698 if (!args
) SWIG_fail
;
36699 swig_obj
[0] = args
;
36700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36701 if (!SWIG_IsOK(res1
)) {
36702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36704 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36707 (arg1
)->ExpandAll();
36708 wxPyEndAllowThreads(__tstate
);
36709 if (PyErr_Occurred()) SWIG_fail
;
36711 resultobj
= SWIG_Py_Void();
36718 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36719 PyObject
*resultobj
= 0;
36720 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36721 wxTreeItemId
*arg2
= 0 ;
36726 PyObject
* obj0
= 0 ;
36727 PyObject
* obj1
= 0 ;
36728 char * kwnames
[] = {
36729 (char *) "self",(char *) "item", NULL
36732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36734 if (!SWIG_IsOK(res1
)) {
36735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36737 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36738 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36739 if (!SWIG_IsOK(res2
)) {
36740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36745 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36748 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36749 wxPyEndAllowThreads(__tstate
);
36750 if (PyErr_Occurred()) SWIG_fail
;
36752 resultobj
= SWIG_Py_Void();
36759 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36760 PyObject
*resultobj
= 0;
36761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36762 wxTreeItemId
*arg2
= 0 ;
36767 PyObject
* obj0
= 0 ;
36768 PyObject
* obj1
= 0 ;
36769 char * kwnames
[] = {
36770 (char *) "self",(char *) "item", NULL
36773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36775 if (!SWIG_IsOK(res1
)) {
36776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36778 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36779 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36780 if (!SWIG_IsOK(res2
)) {
36781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36784 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36786 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36789 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36790 wxPyEndAllowThreads(__tstate
);
36791 if (PyErr_Occurred()) SWIG_fail
;
36793 resultobj
= SWIG_Py_Void();
36800 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36801 PyObject
*resultobj
= 0;
36802 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36803 wxTreeItemId
*arg2
= 0 ;
36808 PyObject
* obj0
= 0 ;
36809 PyObject
* obj1
= 0 ;
36810 char * kwnames
[] = {
36811 (char *) "self",(char *) "item", NULL
36814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36816 if (!SWIG_IsOK(res1
)) {
36817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36819 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36820 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36821 if (!SWIG_IsOK(res2
)) {
36822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36827 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36830 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36831 wxPyEndAllowThreads(__tstate
);
36832 if (PyErr_Occurred()) SWIG_fail
;
36834 resultobj
= SWIG_Py_Void();
36841 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36842 PyObject
*resultobj
= 0;
36843 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36846 PyObject
*swig_obj
[1] ;
36848 if (!args
) SWIG_fail
;
36849 swig_obj
[0] = args
;
36850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36851 if (!SWIG_IsOK(res1
)) {
36852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36854 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36857 (arg1
)->Unselect();
36858 wxPyEndAllowThreads(__tstate
);
36859 if (PyErr_Occurred()) SWIG_fail
;
36861 resultobj
= SWIG_Py_Void();
36868 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36869 PyObject
*resultobj
= 0;
36870 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36871 wxTreeItemId
*arg2
= 0 ;
36876 PyObject
* obj0
= 0 ;
36877 PyObject
* obj1
= 0 ;
36878 char * kwnames
[] = {
36879 (char *) "self",(char *) "item", NULL
36882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36884 if (!SWIG_IsOK(res1
)) {
36885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36887 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36888 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36889 if (!SWIG_IsOK(res2
)) {
36890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36895 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36898 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36899 wxPyEndAllowThreads(__tstate
);
36900 if (PyErr_Occurred()) SWIG_fail
;
36902 resultobj
= SWIG_Py_Void();
36909 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36910 PyObject
*resultobj
= 0;
36911 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36914 PyObject
*swig_obj
[1] ;
36916 if (!args
) SWIG_fail
;
36917 swig_obj
[0] = args
;
36918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36919 if (!SWIG_IsOK(res1
)) {
36920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36922 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36925 (arg1
)->UnselectAll();
36926 wxPyEndAllowThreads(__tstate
);
36927 if (PyErr_Occurred()) SWIG_fail
;
36929 resultobj
= SWIG_Py_Void();
36936 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36937 PyObject
*resultobj
= 0;
36938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36939 wxTreeItemId
*arg2
= 0 ;
36940 bool arg3
= (bool) true ;
36947 PyObject
* obj0
= 0 ;
36948 PyObject
* obj1
= 0 ;
36949 PyObject
* obj2
= 0 ;
36950 char * kwnames
[] = {
36951 (char *) "self",(char *) "item",(char *) "select", NULL
36954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36956 if (!SWIG_IsOK(res1
)) {
36957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36959 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36961 if (!SWIG_IsOK(res2
)) {
36962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36967 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36969 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36970 if (!SWIG_IsOK(ecode3
)) {
36971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36973 arg3
= static_cast< bool >(val3
);
36976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36977 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36978 wxPyEndAllowThreads(__tstate
);
36979 if (PyErr_Occurred()) SWIG_fail
;
36981 resultobj
= SWIG_Py_Void();
36988 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36989 PyObject
*resultobj
= 0;
36990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36991 wxTreeItemId
*arg2
= 0 ;
36996 PyObject
* obj0
= 0 ;
36997 PyObject
* obj1
= 0 ;
36998 char * kwnames
[] = {
36999 (char *) "self",(char *) "item", NULL
37002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37004 if (!SWIG_IsOK(res1
)) {
37005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37007 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37008 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37009 if (!SWIG_IsOK(res2
)) {
37010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37015 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37018 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37019 wxPyEndAllowThreads(__tstate
);
37020 if (PyErr_Occurred()) SWIG_fail
;
37022 resultobj
= SWIG_Py_Void();
37029 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37030 PyObject
*resultobj
= 0;
37031 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37032 wxTreeItemId
*arg2
= 0 ;
37037 PyObject
* obj0
= 0 ;
37038 PyObject
* obj1
= 0 ;
37039 char * kwnames
[] = {
37040 (char *) "self",(char *) "item", NULL
37043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37045 if (!SWIG_IsOK(res1
)) {
37046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37048 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37050 if (!SWIG_IsOK(res2
)) {
37051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37056 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37059 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37060 wxPyEndAllowThreads(__tstate
);
37061 if (PyErr_Occurred()) SWIG_fail
;
37063 resultobj
= SWIG_Py_Void();
37070 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37071 PyObject
*resultobj
= 0;
37072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37073 wxTreeItemId
*arg2
= 0 ;
37078 PyObject
* obj0
= 0 ;
37079 PyObject
* obj1
= 0 ;
37080 char * kwnames
[] = {
37081 (char *) "self",(char *) "item", NULL
37084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37086 if (!SWIG_IsOK(res1
)) {
37087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37089 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37091 if (!SWIG_IsOK(res2
)) {
37092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37097 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37100 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37101 wxPyEndAllowThreads(__tstate
);
37102 if (PyErr_Occurred()) SWIG_fail
;
37104 resultobj
= SWIG_Py_Void();
37111 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37112 PyObject
*resultobj
= 0;
37113 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37114 wxTreeItemId
*arg2
= 0 ;
37119 PyObject
* obj0
= 0 ;
37120 PyObject
* obj1
= 0 ;
37121 char * kwnames
[] = {
37122 (char *) "self",(char *) "item", NULL
37125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37127 if (!SWIG_IsOK(res1
)) {
37128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37130 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37132 if (!SWIG_IsOK(res2
)) {
37133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37138 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37141 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37142 wxPyEndAllowThreads(__tstate
);
37143 if (PyErr_Occurred()) SWIG_fail
;
37145 resultobj
= SWIG_Py_Void();
37152 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37153 PyObject
*resultobj
= 0;
37154 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37155 wxTextCtrl
*result
= 0 ;
37158 PyObject
*swig_obj
[1] ;
37160 if (!args
) SWIG_fail
;
37161 swig_obj
[0] = args
;
37162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37163 if (!SWIG_IsOK(res1
)) {
37164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37166 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37169 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37170 wxPyEndAllowThreads(__tstate
);
37171 if (PyErr_Occurred()) SWIG_fail
;
37174 resultobj
= wxPyMake_wxObject(result
, 0);
37182 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37183 PyObject
*resultobj
= 0;
37184 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37185 wxTreeItemId
*arg2
= 0 ;
37190 PyObject
* obj0
= 0 ;
37191 PyObject
* obj1
= 0 ;
37192 char * kwnames
[] = {
37193 (char *) "self",(char *) "item", NULL
37196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37198 if (!SWIG_IsOK(res1
)) {
37199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37201 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37202 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37203 if (!SWIG_IsOK(res2
)) {
37204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37209 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37212 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37213 wxPyEndAllowThreads(__tstate
);
37214 if (PyErr_Occurred()) SWIG_fail
;
37216 resultobj
= SWIG_Py_Void();
37223 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37224 PyObject
*resultobj
= 0;
37225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37226 wxPoint
*arg2
= 0 ;
37228 wxTreeItemId result
;
37233 int res3
= SWIG_TMPOBJ
;
37234 PyObject
* obj0
= 0 ;
37235 PyObject
* obj1
= 0 ;
37236 char * kwnames
[] = {
37237 (char *) "self",(char *) "point", NULL
37241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37243 if (!SWIG_IsOK(res1
)) {
37244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37246 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37249 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37253 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37254 wxPyEndAllowThreads(__tstate
);
37255 if (PyErr_Occurred()) SWIG_fail
;
37257 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37258 if (SWIG_IsTmpObj(res3
)) {
37259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37261 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37270 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37271 PyObject
*resultobj
= 0;
37272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37273 wxTreeItemId
*arg2
= 0 ;
37274 bool arg3
= (bool) false ;
37275 PyObject
*result
= 0 ;
37282 PyObject
* obj0
= 0 ;
37283 PyObject
* obj1
= 0 ;
37284 PyObject
* obj2
= 0 ;
37285 char * kwnames
[] = {
37286 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37291 if (!SWIG_IsOK(res1
)) {
37292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37294 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37296 if (!SWIG_IsOK(res2
)) {
37297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37302 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37304 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37305 if (!SWIG_IsOK(ecode3
)) {
37306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37308 arg3
= static_cast< bool >(val3
);
37311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37312 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37313 wxPyEndAllowThreads(__tstate
);
37314 if (PyErr_Occurred()) SWIG_fail
;
37316 resultobj
= result
;
37323 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37324 PyObject
*resultobj
= 0;
37325 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37326 SwigValueWrapper
<wxVisualAttributes
> result
;
37329 PyObject
* obj0
= 0 ;
37330 char * kwnames
[] = {
37331 (char *) "variant", NULL
37334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37336 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37337 if (!SWIG_IsOK(ecode1
)) {
37338 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37340 arg1
= static_cast< wxWindowVariant
>(val1
);
37343 if (!wxPyCheckForApp()) SWIG_fail
;
37344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37345 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37346 wxPyEndAllowThreads(__tstate
);
37347 if (PyErr_Occurred()) SWIG_fail
;
37349 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37356 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37357 PyObject
*resultobj
= 0;
37358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37364 PyObject
* obj0
= 0 ;
37365 PyObject
* obj1
= 0 ;
37366 char * kwnames
[] = {
37367 (char *) "self",(char *) "q", NULL
37370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37372 if (!SWIG_IsOK(res1
)) {
37373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37375 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37376 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37377 if (!SWIG_IsOK(ecode2
)) {
37378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37380 arg2
= static_cast< bool >(val2
);
37382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37383 (arg1
)->SetQuickBestSize(arg2
);
37384 wxPyEndAllowThreads(__tstate
);
37385 if (PyErr_Occurred()) SWIG_fail
;
37387 resultobj
= SWIG_Py_Void();
37394 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37395 PyObject
*resultobj
= 0;
37396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37400 PyObject
*swig_obj
[1] ;
37402 if (!args
) SWIG_fail
;
37403 swig_obj
[0] = args
;
37404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37405 if (!SWIG_IsOK(res1
)) {
37406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37408 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37411 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37412 wxPyEndAllowThreads(__tstate
);
37413 if (PyErr_Occurred()) SWIG_fail
;
37416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37424 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37427 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37428 return SWIG_Py_Void();
37431 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37432 return SWIG_Python_InitShadowInstance(args
);
37435 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37436 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37441 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37442 PyObject
*pyobj
= 0;
37446 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37448 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37455 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37456 PyObject
*resultobj
= 0;
37457 wxWindow
*arg1
= (wxWindow
*) 0 ;
37458 int arg2
= (int) (int)-1 ;
37459 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37460 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37461 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37462 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37463 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37464 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37465 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37466 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37467 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37468 int arg8
= (int) 0 ;
37469 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37470 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37471 wxGenericDirCtrl
*result
= 0 ;
37476 bool temp3
= false ;
37481 bool temp7
= false ;
37484 bool temp9
= false ;
37485 PyObject
* obj0
= 0 ;
37486 PyObject
* obj1
= 0 ;
37487 PyObject
* obj2
= 0 ;
37488 PyObject
* obj3
= 0 ;
37489 PyObject
* obj4
= 0 ;
37490 PyObject
* obj5
= 0 ;
37491 PyObject
* obj6
= 0 ;
37492 PyObject
* obj7
= 0 ;
37493 PyObject
* obj8
= 0 ;
37494 char * kwnames
[] = {
37495 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37500 if (!SWIG_IsOK(res1
)) {
37501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37503 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37506 if (!SWIG_IsOK(ecode2
)) {
37507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37509 arg2
= static_cast< int >(val2
);
37513 arg3
= wxString_in_helper(obj2
);
37514 if (arg3
== NULL
) SWIG_fail
;
37521 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37527 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37531 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37532 if (!SWIG_IsOK(ecode6
)) {
37533 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37535 arg6
= static_cast< long >(val6
);
37539 arg7
= wxString_in_helper(obj6
);
37540 if (arg7
== NULL
) SWIG_fail
;
37545 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37546 if (!SWIG_IsOK(ecode8
)) {
37547 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37549 arg8
= static_cast< int >(val8
);
37553 arg9
= wxString_in_helper(obj8
);
37554 if (arg9
== NULL
) SWIG_fail
;
37559 if (!wxPyCheckForApp()) SWIG_fail
;
37560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37561 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37562 wxPyEndAllowThreads(__tstate
);
37563 if (PyErr_Occurred()) SWIG_fail
;
37565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37596 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37597 PyObject
*resultobj
= 0;
37598 wxGenericDirCtrl
*result
= 0 ;
37600 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37602 if (!wxPyCheckForApp()) SWIG_fail
;
37603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37604 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37605 wxPyEndAllowThreads(__tstate
);
37606 if (PyErr_Occurred()) SWIG_fail
;
37608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37615 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37616 PyObject
*resultobj
= 0;
37617 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37618 wxWindow
*arg2
= (wxWindow
*) 0 ;
37619 int arg3
= (int) (int)-1 ;
37620 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37621 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37622 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37623 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37624 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37625 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37626 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37627 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37628 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37629 int arg9
= (int) 0 ;
37630 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37631 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37639 bool temp4
= false ;
37644 bool temp8
= false ;
37647 bool temp10
= false ;
37648 PyObject
* obj0
= 0 ;
37649 PyObject
* obj1
= 0 ;
37650 PyObject
* obj2
= 0 ;
37651 PyObject
* obj3
= 0 ;
37652 PyObject
* obj4
= 0 ;
37653 PyObject
* obj5
= 0 ;
37654 PyObject
* obj6
= 0 ;
37655 PyObject
* obj7
= 0 ;
37656 PyObject
* obj8
= 0 ;
37657 PyObject
* obj9
= 0 ;
37658 char * kwnames
[] = {
37659 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37664 if (!SWIG_IsOK(res1
)) {
37665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37667 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37668 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37669 if (!SWIG_IsOK(res2
)) {
37670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37672 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37675 if (!SWIG_IsOK(ecode3
)) {
37676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37678 arg3
= static_cast< int >(val3
);
37682 arg4
= wxString_in_helper(obj3
);
37683 if (arg4
== NULL
) SWIG_fail
;
37690 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37696 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37700 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37701 if (!SWIG_IsOK(ecode7
)) {
37702 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37704 arg7
= static_cast< long >(val7
);
37708 arg8
= wxString_in_helper(obj7
);
37709 if (arg8
== NULL
) SWIG_fail
;
37714 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37715 if (!SWIG_IsOK(ecode9
)) {
37716 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37718 arg9
= static_cast< int >(val9
);
37722 arg10
= wxString_in_helper(obj9
);
37723 if (arg10
== NULL
) SWIG_fail
;
37728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37729 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37730 wxPyEndAllowThreads(__tstate
);
37731 if (PyErr_Occurred()) SWIG_fail
;
37734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37766 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37767 PyObject
*resultobj
= 0;
37768 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37769 wxString
*arg2
= 0 ;
37773 bool temp2
= false ;
37774 PyObject
* obj0
= 0 ;
37775 PyObject
* obj1
= 0 ;
37776 char * kwnames
[] = {
37777 (char *) "self",(char *) "path", NULL
37780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37782 if (!SWIG_IsOK(res1
)) {
37783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37785 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37787 arg2
= wxString_in_helper(obj1
);
37788 if (arg2
== NULL
) SWIG_fail
;
37792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37793 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37794 wxPyEndAllowThreads(__tstate
);
37795 if (PyErr_Occurred()) SWIG_fail
;
37798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37814 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37815 PyObject
*resultobj
= 0;
37816 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37817 wxString
*arg2
= 0 ;
37821 bool temp2
= false ;
37822 PyObject
* obj0
= 0 ;
37823 PyObject
* obj1
= 0 ;
37824 char * kwnames
[] = {
37825 (char *) "self",(char *) "path", NULL
37828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37830 if (!SWIG_IsOK(res1
)) {
37831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37833 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37835 arg2
= wxString_in_helper(obj1
);
37836 if (arg2
== NULL
) SWIG_fail
;
37840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37841 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37842 wxPyEndAllowThreads(__tstate
);
37843 if (PyErr_Occurred()) SWIG_fail
;
37846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37862 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37863 PyObject
*resultobj
= 0;
37864 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37868 PyObject
*swig_obj
[1] ;
37870 if (!args
) SWIG_fail
;
37871 swig_obj
[0] = args
;
37872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37873 if (!SWIG_IsOK(res1
)) {
37874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37876 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37879 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37880 wxPyEndAllowThreads(__tstate
);
37881 if (PyErr_Occurred()) SWIG_fail
;
37885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37896 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37897 PyObject
*resultobj
= 0;
37898 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37899 wxString
*arg2
= 0 ;
37902 bool temp2
= false ;
37903 PyObject
* obj0
= 0 ;
37904 PyObject
* obj1
= 0 ;
37905 char * kwnames
[] = {
37906 (char *) "self",(char *) "path", NULL
37909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37911 if (!SWIG_IsOK(res1
)) {
37912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37914 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37916 arg2
= wxString_in_helper(obj1
);
37917 if (arg2
== NULL
) SWIG_fail
;
37921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37922 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37923 wxPyEndAllowThreads(__tstate
);
37924 if (PyErr_Occurred()) SWIG_fail
;
37926 resultobj
= SWIG_Py_Void();
37941 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37942 PyObject
*resultobj
= 0;
37943 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37947 PyObject
*swig_obj
[1] ;
37949 if (!args
) SWIG_fail
;
37950 swig_obj
[0] = args
;
37951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37952 if (!SWIG_IsOK(res1
)) {
37953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37955 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37958 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37959 wxPyEndAllowThreads(__tstate
);
37960 if (PyErr_Occurred()) SWIG_fail
;
37964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37975 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37976 PyObject
*resultobj
= 0;
37977 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37981 PyObject
*swig_obj
[1] ;
37983 if (!args
) SWIG_fail
;
37984 swig_obj
[0] = args
;
37985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37986 if (!SWIG_IsOK(res1
)) {
37987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37989 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37992 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37993 wxPyEndAllowThreads(__tstate
);
37994 if (PyErr_Occurred()) SWIG_fail
;
37998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38009 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38010 PyObject
*resultobj
= 0;
38011 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38012 wxString
*arg2
= 0 ;
38015 bool temp2
= false ;
38016 PyObject
* obj0
= 0 ;
38017 PyObject
* obj1
= 0 ;
38018 char * kwnames
[] = {
38019 (char *) "self",(char *) "path", NULL
38022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38024 if (!SWIG_IsOK(res1
)) {
38025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38027 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38029 arg2
= wxString_in_helper(obj1
);
38030 if (arg2
== NULL
) SWIG_fail
;
38034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38035 (arg1
)->SetPath((wxString
const &)*arg2
);
38036 wxPyEndAllowThreads(__tstate
);
38037 if (PyErr_Occurred()) SWIG_fail
;
38039 resultobj
= SWIG_Py_Void();
38054 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38055 PyObject
*resultobj
= 0;
38056 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38062 PyObject
* obj0
= 0 ;
38063 PyObject
* obj1
= 0 ;
38064 char * kwnames
[] = {
38065 (char *) "self",(char *) "show", NULL
38068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38070 if (!SWIG_IsOK(res1
)) {
38071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38073 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38074 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38075 if (!SWIG_IsOK(ecode2
)) {
38076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38078 arg2
= static_cast< bool >(val2
);
38080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38081 (arg1
)->ShowHidden(arg2
);
38082 wxPyEndAllowThreads(__tstate
);
38083 if (PyErr_Occurred()) SWIG_fail
;
38085 resultobj
= SWIG_Py_Void();
38092 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38093 PyObject
*resultobj
= 0;
38094 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38098 PyObject
*swig_obj
[1] ;
38100 if (!args
) SWIG_fail
;
38101 swig_obj
[0] = args
;
38102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38103 if (!SWIG_IsOK(res1
)) {
38104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38106 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38109 result
= (bool)(arg1
)->GetShowHidden();
38110 wxPyEndAllowThreads(__tstate
);
38111 if (PyErr_Occurred()) SWIG_fail
;
38114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38122 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38123 PyObject
*resultobj
= 0;
38124 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38128 PyObject
*swig_obj
[1] ;
38130 if (!args
) SWIG_fail
;
38131 swig_obj
[0] = args
;
38132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38133 if (!SWIG_IsOK(res1
)) {
38134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38136 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38139 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38140 wxPyEndAllowThreads(__tstate
);
38141 if (PyErr_Occurred()) SWIG_fail
;
38145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38156 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38157 PyObject
*resultobj
= 0;
38158 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38159 wxString
*arg2
= 0 ;
38162 bool temp2
= false ;
38163 PyObject
* obj0
= 0 ;
38164 PyObject
* obj1
= 0 ;
38165 char * kwnames
[] = {
38166 (char *) "self",(char *) "filter", NULL
38169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38171 if (!SWIG_IsOK(res1
)) {
38172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38174 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38176 arg2
= wxString_in_helper(obj1
);
38177 if (arg2
== NULL
) SWIG_fail
;
38181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38182 (arg1
)->SetFilter((wxString
const &)*arg2
);
38183 wxPyEndAllowThreads(__tstate
);
38184 if (PyErr_Occurred()) SWIG_fail
;
38186 resultobj
= SWIG_Py_Void();
38201 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38202 PyObject
*resultobj
= 0;
38203 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38207 PyObject
*swig_obj
[1] ;
38209 if (!args
) SWIG_fail
;
38210 swig_obj
[0] = args
;
38211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38212 if (!SWIG_IsOK(res1
)) {
38213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38215 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38218 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38219 wxPyEndAllowThreads(__tstate
);
38220 if (PyErr_Occurred()) SWIG_fail
;
38222 resultobj
= SWIG_From_int(static_cast< int >(result
));
38229 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38230 PyObject
*resultobj
= 0;
38231 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38237 PyObject
* obj0
= 0 ;
38238 PyObject
* obj1
= 0 ;
38239 char * kwnames
[] = {
38240 (char *) "self",(char *) "n", NULL
38243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38245 if (!SWIG_IsOK(res1
)) {
38246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38248 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38250 if (!SWIG_IsOK(ecode2
)) {
38251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38253 arg2
= static_cast< int >(val2
);
38255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38256 (arg1
)->SetFilterIndex(arg2
);
38257 wxPyEndAllowThreads(__tstate
);
38258 if (PyErr_Occurred()) SWIG_fail
;
38260 resultobj
= SWIG_Py_Void();
38267 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38268 PyObject
*resultobj
= 0;
38269 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38270 wxTreeItemId result
;
38273 PyObject
*swig_obj
[1] ;
38275 if (!args
) SWIG_fail
;
38276 swig_obj
[0] = args
;
38277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38278 if (!SWIG_IsOK(res1
)) {
38279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38281 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38284 result
= (arg1
)->GetRootId();
38285 wxPyEndAllowThreads(__tstate
);
38286 if (PyErr_Occurred()) SWIG_fail
;
38288 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38295 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38296 PyObject
*resultobj
= 0;
38297 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38298 wxPyTreeCtrl
*result
= 0 ;
38301 PyObject
*swig_obj
[1] ;
38303 if (!args
) SWIG_fail
;
38304 swig_obj
[0] = args
;
38305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38306 if (!SWIG_IsOK(res1
)) {
38307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38309 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38312 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38313 wxPyEndAllowThreads(__tstate
);
38314 if (PyErr_Occurred()) SWIG_fail
;
38317 resultobj
= wxPyMake_wxObject(result
, 0);
38325 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38326 PyObject
*resultobj
= 0;
38327 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38328 wxDirFilterListCtrl
*result
= 0 ;
38331 PyObject
*swig_obj
[1] ;
38333 if (!args
) SWIG_fail
;
38334 swig_obj
[0] = args
;
38335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38336 if (!SWIG_IsOK(res1
)) {
38337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38339 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38342 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38343 wxPyEndAllowThreads(__tstate
);
38344 if (PyErr_Occurred()) SWIG_fail
;
38346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38353 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38354 PyObject
*resultobj
= 0;
38355 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38356 wxTreeItemId arg2
;
38357 wxString
*arg3
= 0 ;
38359 wxTreeItemId result
;
38364 bool temp3
= false ;
38366 int res4
= SWIG_TMPOBJ
;
38367 PyObject
* obj0
= 0 ;
38368 PyObject
* obj1
= 0 ;
38369 PyObject
* obj2
= 0 ;
38370 char * kwnames
[] = {
38371 (char *) "self",(char *) "parentId",(char *) "path", NULL
38375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38377 if (!SWIG_IsOK(res1
)) {
38378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38380 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38383 if (!SWIG_IsOK(res2
)) {
38384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38389 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38391 if (SWIG_IsNewObj(res2
)) delete temp
;
38395 arg3
= wxString_in_helper(obj2
);
38396 if (arg3
== NULL
) SWIG_fail
;
38400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38401 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38402 wxPyEndAllowThreads(__tstate
);
38403 if (PyErr_Occurred()) SWIG_fail
;
38405 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38406 if (SWIG_IsTmpObj(res4
)) {
38407 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38409 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38410 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38426 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38427 PyObject
*resultobj
= 0;
38428 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38431 PyObject
*swig_obj
[1] ;
38433 if (!args
) SWIG_fail
;
38434 swig_obj
[0] = args
;
38435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38436 if (!SWIG_IsOK(res1
)) {
38437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38439 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38442 (arg1
)->DoResize();
38443 wxPyEndAllowThreads(__tstate
);
38444 if (PyErr_Occurred()) SWIG_fail
;
38446 resultobj
= SWIG_Py_Void();
38453 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38454 PyObject
*resultobj
= 0;
38455 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38458 PyObject
*swig_obj
[1] ;
38460 if (!args
) SWIG_fail
;
38461 swig_obj
[0] = args
;
38462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38463 if (!SWIG_IsOK(res1
)) {
38464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38466 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38469 (arg1
)->ReCreateTree();
38470 wxPyEndAllowThreads(__tstate
);
38471 if (PyErr_Occurred()) SWIG_fail
;
38473 resultobj
= SWIG_Py_Void();
38480 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38483 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38484 return SWIG_Py_Void();
38487 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38488 return SWIG_Python_InitShadowInstance(args
);
38491 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38492 PyObject
*resultobj
= 0;
38493 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38494 int arg2
= (int) (int)-1 ;
38495 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38496 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38497 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38498 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38499 long arg5
= (long) 0 ;
38500 wxDirFilterListCtrl
*result
= 0 ;
38509 PyObject
* obj0
= 0 ;
38510 PyObject
* obj1
= 0 ;
38511 PyObject
* obj2
= 0 ;
38512 PyObject
* obj3
= 0 ;
38513 PyObject
* obj4
= 0 ;
38514 char * kwnames
[] = {
38515 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38520 if (!SWIG_IsOK(res1
)) {
38521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38523 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38526 if (!SWIG_IsOK(ecode2
)) {
38527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38529 arg2
= static_cast< int >(val2
);
38534 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38540 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38544 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38545 if (!SWIG_IsOK(ecode5
)) {
38546 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38548 arg5
= static_cast< long >(val5
);
38551 if (!wxPyCheckForApp()) SWIG_fail
;
38552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38553 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38554 wxPyEndAllowThreads(__tstate
);
38555 if (PyErr_Occurred()) SWIG_fail
;
38557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38564 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38565 PyObject
*resultobj
= 0;
38566 wxDirFilterListCtrl
*result
= 0 ;
38568 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38570 if (!wxPyCheckForApp()) SWIG_fail
;
38571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38572 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38573 wxPyEndAllowThreads(__tstate
);
38574 if (PyErr_Occurred()) SWIG_fail
;
38576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38583 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38584 PyObject
*resultobj
= 0;
38585 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38586 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38587 int arg3
= (int) (int)-1 ;
38588 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38589 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38590 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38591 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38592 long arg6
= (long) 0 ;
38604 PyObject
* obj0
= 0 ;
38605 PyObject
* obj1
= 0 ;
38606 PyObject
* obj2
= 0 ;
38607 PyObject
* obj3
= 0 ;
38608 PyObject
* obj4
= 0 ;
38609 PyObject
* obj5
= 0 ;
38610 char * kwnames
[] = {
38611 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38616 if (!SWIG_IsOK(res1
)) {
38617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38619 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38621 if (!SWIG_IsOK(res2
)) {
38622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38624 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38627 if (!SWIG_IsOK(ecode3
)) {
38628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38630 arg3
= static_cast< int >(val3
);
38635 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38641 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38645 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38646 if (!SWIG_IsOK(ecode6
)) {
38647 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38649 arg6
= static_cast< long >(val6
);
38652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38653 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38654 wxPyEndAllowThreads(__tstate
);
38655 if (PyErr_Occurred()) SWIG_fail
;
38658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38666 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38667 PyObject
*resultobj
= 0;
38668 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38669 wxString
*arg2
= 0 ;
38673 bool temp2
= false ;
38676 PyObject
* obj0
= 0 ;
38677 PyObject
* obj1
= 0 ;
38678 PyObject
* obj2
= 0 ;
38679 char * kwnames
[] = {
38680 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38685 if (!SWIG_IsOK(res1
)) {
38686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38688 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38690 arg2
= wxString_in_helper(obj1
);
38691 if (arg2
== NULL
) SWIG_fail
;
38694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38695 if (!SWIG_IsOK(ecode3
)) {
38696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38698 arg3
= static_cast< int >(val3
);
38700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38701 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38702 wxPyEndAllowThreads(__tstate
);
38703 if (PyErr_Occurred()) SWIG_fail
;
38705 resultobj
= SWIG_Py_Void();
38720 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38723 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38724 return SWIG_Py_Void();
38727 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38728 return SWIG_Python_InitShadowInstance(args
);
38731 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38732 PyObject
*resultobj
= 0;
38733 wxWindow
*arg1
= (wxWindow
*) 0 ;
38734 int arg2
= (int) (int)-1 ;
38735 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38736 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38737 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38738 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38739 long arg5
= (long) 0 ;
38740 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38741 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38742 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38743 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38744 wxPyControl
*result
= 0 ;
38755 bool temp7
= false ;
38756 PyObject
* obj0
= 0 ;
38757 PyObject
* obj1
= 0 ;
38758 PyObject
* obj2
= 0 ;
38759 PyObject
* obj3
= 0 ;
38760 PyObject
* obj4
= 0 ;
38761 PyObject
* obj5
= 0 ;
38762 PyObject
* obj6
= 0 ;
38763 char * kwnames
[] = {
38764 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38769 if (!SWIG_IsOK(res1
)) {
38770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38772 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38775 if (!SWIG_IsOK(ecode2
)) {
38776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38778 arg2
= static_cast< int >(val2
);
38783 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38789 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38793 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38794 if (!SWIG_IsOK(ecode5
)) {
38795 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38797 arg5
= static_cast< long >(val5
);
38800 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38801 if (!SWIG_IsOK(res6
)) {
38802 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38807 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38811 arg7
= wxString_in_helper(obj6
);
38812 if (arg7
== NULL
) SWIG_fail
;
38817 if (!wxPyCheckForApp()) SWIG_fail
;
38818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38819 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38820 wxPyEndAllowThreads(__tstate
);
38821 if (PyErr_Occurred()) SWIG_fail
;
38823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38838 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38839 PyObject
*resultobj
= 0;
38840 wxPyControl
*result
= 0 ;
38842 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38844 if (!wxPyCheckForApp()) SWIG_fail
;
38845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38846 result
= (wxPyControl
*)new wxPyControl();
38847 wxPyEndAllowThreads(__tstate
);
38848 if (PyErr_Occurred()) SWIG_fail
;
38850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38857 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38858 PyObject
*resultobj
= 0;
38859 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38860 PyObject
*arg2
= (PyObject
*) 0 ;
38861 PyObject
*arg3
= (PyObject
*) 0 ;
38864 PyObject
* obj0
= 0 ;
38865 PyObject
* obj1
= 0 ;
38866 PyObject
* obj2
= 0 ;
38867 char * kwnames
[] = {
38868 (char *) "self",(char *) "self",(char *) "_class", NULL
38871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38873 if (!SWIG_IsOK(res1
)) {
38874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38876 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38881 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38882 wxPyEndAllowThreads(__tstate
);
38883 if (PyErr_Occurred()) SWIG_fail
;
38885 resultobj
= SWIG_Py_Void();
38892 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38893 PyObject
*resultobj
= 0;
38894 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38895 wxDC
*arg2
= (wxDC
*) 0 ;
38901 PyObject
* obj0
= 0 ;
38902 PyObject
* obj1
= 0 ;
38903 char * kwnames
[] = {
38904 (char *) "self",(char *) "dc", NULL
38907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38909 if (!SWIG_IsOK(res1
)) {
38910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38912 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38913 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38914 if (!SWIG_IsOK(res2
)) {
38915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38917 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38920 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38921 wxPyEndAllowThreads(__tstate
);
38922 if (PyErr_Occurred()) SWIG_fail
;
38925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38933 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38934 PyObject
*resultobj
= 0;
38935 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38950 PyObject
* obj0
= 0 ;
38951 PyObject
* obj1
= 0 ;
38952 PyObject
* obj2
= 0 ;
38953 PyObject
* obj3
= 0 ;
38954 PyObject
* obj4
= 0 ;
38955 char * kwnames
[] = {
38956 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38961 if (!SWIG_IsOK(res1
)) {
38962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38964 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38966 if (!SWIG_IsOK(ecode2
)) {
38967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38969 arg2
= static_cast< int >(val2
);
38970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38971 if (!SWIG_IsOK(ecode3
)) {
38972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38974 arg3
= static_cast< int >(val3
);
38975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38976 if (!SWIG_IsOK(ecode4
)) {
38977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38979 arg4
= static_cast< int >(val4
);
38980 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38981 if (!SWIG_IsOK(ecode5
)) {
38982 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38984 arg5
= static_cast< int >(val5
);
38986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38987 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38988 wxPyEndAllowThreads(__tstate
);
38989 if (PyErr_Occurred()) SWIG_fail
;
38991 resultobj
= SWIG_Py_Void();
38998 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38999 PyObject
*resultobj
= 0;
39000 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39005 int arg6
= (int) wxSIZE_AUTO
;
39018 PyObject
* obj0
= 0 ;
39019 PyObject
* obj1
= 0 ;
39020 PyObject
* obj2
= 0 ;
39021 PyObject
* obj3
= 0 ;
39022 PyObject
* obj4
= 0 ;
39023 PyObject
* obj5
= 0 ;
39024 char * kwnames
[] = {
39025 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39030 if (!SWIG_IsOK(res1
)) {
39031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39033 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39035 if (!SWIG_IsOK(ecode2
)) {
39036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39038 arg2
= static_cast< int >(val2
);
39039 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39040 if (!SWIG_IsOK(ecode3
)) {
39041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39043 arg3
= static_cast< int >(val3
);
39044 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39045 if (!SWIG_IsOK(ecode4
)) {
39046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39048 arg4
= static_cast< int >(val4
);
39049 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39050 if (!SWIG_IsOK(ecode5
)) {
39051 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39053 arg5
= static_cast< int >(val5
);
39055 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39056 if (!SWIG_IsOK(ecode6
)) {
39057 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39059 arg6
= static_cast< int >(val6
);
39062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39063 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39064 wxPyEndAllowThreads(__tstate
);
39065 if (PyErr_Occurred()) SWIG_fail
;
39067 resultobj
= SWIG_Py_Void();
39074 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39075 PyObject
*resultobj
= 0;
39076 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39085 PyObject
* obj0
= 0 ;
39086 PyObject
* obj1
= 0 ;
39087 PyObject
* obj2
= 0 ;
39088 char * kwnames
[] = {
39089 (char *) "self",(char *) "width",(char *) "height", NULL
39092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39094 if (!SWIG_IsOK(res1
)) {
39095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39097 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39099 if (!SWIG_IsOK(ecode2
)) {
39100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39102 arg2
= static_cast< int >(val2
);
39103 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39104 if (!SWIG_IsOK(ecode3
)) {
39105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39107 arg3
= static_cast< int >(val3
);
39109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39110 (arg1
)->DoSetClientSize(arg2
,arg3
);
39111 wxPyEndAllowThreads(__tstate
);
39112 if (PyErr_Occurred()) SWIG_fail
;
39114 resultobj
= SWIG_Py_Void();
39121 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39122 PyObject
*resultobj
= 0;
39123 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39132 PyObject
* obj0
= 0 ;
39133 PyObject
* obj1
= 0 ;
39134 PyObject
* obj2
= 0 ;
39135 char * kwnames
[] = {
39136 (char *) "self",(char *) "x",(char *) "y", NULL
39139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39141 if (!SWIG_IsOK(res1
)) {
39142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39144 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39146 if (!SWIG_IsOK(ecode2
)) {
39147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39149 arg2
= static_cast< int >(val2
);
39150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39151 if (!SWIG_IsOK(ecode3
)) {
39152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39154 arg3
= static_cast< int >(val3
);
39156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39157 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39158 wxPyEndAllowThreads(__tstate
);
39159 if (PyErr_Occurred()) SWIG_fail
;
39161 resultobj
= SWIG_Py_Void();
39168 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39169 PyObject
*resultobj
= 0;
39170 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39171 int *arg2
= (int *) 0 ;
39172 int *arg3
= (int *) 0 ;
39176 int res2
= SWIG_TMPOBJ
;
39178 int res3
= SWIG_TMPOBJ
;
39179 PyObject
*swig_obj
[1] ;
39183 if (!args
) SWIG_fail
;
39184 swig_obj
[0] = args
;
39185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39186 if (!SWIG_IsOK(res1
)) {
39187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39189 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39192 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39193 wxPyEndAllowThreads(__tstate
);
39194 if (PyErr_Occurred()) SWIG_fail
;
39196 resultobj
= SWIG_Py_Void();
39197 if (SWIG_IsTmpObj(res2
)) {
39198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39200 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39201 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39203 if (SWIG_IsTmpObj(res3
)) {
39204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39206 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39207 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39215 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39216 PyObject
*resultobj
= 0;
39217 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39218 int *arg2
= (int *) 0 ;
39219 int *arg3
= (int *) 0 ;
39223 int res2
= SWIG_TMPOBJ
;
39225 int res3
= SWIG_TMPOBJ
;
39226 PyObject
*swig_obj
[1] ;
39230 if (!args
) SWIG_fail
;
39231 swig_obj
[0] = args
;
39232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39233 if (!SWIG_IsOK(res1
)) {
39234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39236 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39239 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39240 wxPyEndAllowThreads(__tstate
);
39241 if (PyErr_Occurred()) SWIG_fail
;
39243 resultobj
= SWIG_Py_Void();
39244 if (SWIG_IsTmpObj(res2
)) {
39245 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39247 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39248 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39250 if (SWIG_IsTmpObj(res3
)) {
39251 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39253 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39262 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39263 PyObject
*resultobj
= 0;
39264 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39265 int *arg2
= (int *) 0 ;
39266 int *arg3
= (int *) 0 ;
39270 int res2
= SWIG_TMPOBJ
;
39272 int res3
= SWIG_TMPOBJ
;
39273 PyObject
*swig_obj
[1] ;
39277 if (!args
) SWIG_fail
;
39278 swig_obj
[0] = args
;
39279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39280 if (!SWIG_IsOK(res1
)) {
39281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39283 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39286 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39287 wxPyEndAllowThreads(__tstate
);
39288 if (PyErr_Occurred()) SWIG_fail
;
39290 resultobj
= SWIG_Py_Void();
39291 if (SWIG_IsTmpObj(res2
)) {
39292 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39294 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39297 if (SWIG_IsTmpObj(res3
)) {
39298 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39300 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39301 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39309 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39310 PyObject
*resultobj
= 0;
39311 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39315 PyObject
*swig_obj
[1] ;
39317 if (!args
) SWIG_fail
;
39318 swig_obj
[0] = args
;
39319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39320 if (!SWIG_IsOK(res1
)) {
39321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39323 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39326 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39327 wxPyEndAllowThreads(__tstate
);
39328 if (PyErr_Occurred()) SWIG_fail
;
39330 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39337 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39338 PyObject
*resultobj
= 0;
39339 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39343 PyObject
*swig_obj
[1] ;
39345 if (!args
) SWIG_fail
;
39346 swig_obj
[0] = args
;
39347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39348 if (!SWIG_IsOK(res1
)) {
39349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39351 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39354 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39355 wxPyEndAllowThreads(__tstate
);
39356 if (PyErr_Occurred()) SWIG_fail
;
39358 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39365 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39366 PyObject
*resultobj
= 0;
39367 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39368 SwigValueWrapper
<wxVisualAttributes
> result
;
39371 PyObject
*swig_obj
[1] ;
39373 if (!args
) SWIG_fail
;
39374 swig_obj
[0] = args
;
39375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39376 if (!SWIG_IsOK(res1
)) {
39377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39379 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39382 result
= (arg1
)->GetDefaultAttributes();
39383 wxPyEndAllowThreads(__tstate
);
39384 if (PyErr_Occurred()) SWIG_fail
;
39386 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39393 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39394 PyObject
*resultobj
= 0;
39395 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39398 PyObject
*swig_obj
[1] ;
39400 if (!args
) SWIG_fail
;
39401 swig_obj
[0] = args
;
39402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39403 if (!SWIG_IsOK(res1
)) {
39404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39406 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39409 (arg1
)->OnInternalIdle();
39410 wxPyEndAllowThreads(__tstate
);
39411 if (PyErr_Occurred()) SWIG_fail
;
39413 resultobj
= SWIG_Py_Void();
39420 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39423 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39424 return SWIG_Py_Void();
39427 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39428 return SWIG_Python_InitShadowInstance(args
);
39431 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39432 PyObject
*resultobj
= 0;
39433 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39434 int arg2
= (int) 0 ;
39435 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39436 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39437 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39438 wxHelpEvent
*result
= 0 ;
39446 PyObject
* obj0
= 0 ;
39447 PyObject
* obj1
= 0 ;
39448 PyObject
* obj2
= 0 ;
39449 PyObject
* obj3
= 0 ;
39450 char * kwnames
[] = {
39451 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39456 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39457 if (!SWIG_IsOK(ecode1
)) {
39458 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39460 arg1
= static_cast< wxEventType
>(val1
);
39463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39464 if (!SWIG_IsOK(ecode2
)) {
39465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39467 arg2
= static_cast< int >(val2
);
39472 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39476 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39477 if (!SWIG_IsOK(ecode4
)) {
39478 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39480 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39484 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39485 wxPyEndAllowThreads(__tstate
);
39486 if (PyErr_Occurred()) SWIG_fail
;
39488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39495 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39496 PyObject
*resultobj
= 0;
39497 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39501 PyObject
*swig_obj
[1] ;
39503 if (!args
) SWIG_fail
;
39504 swig_obj
[0] = args
;
39505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39506 if (!SWIG_IsOK(res1
)) {
39507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39509 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39512 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39513 wxPyEndAllowThreads(__tstate
);
39514 if (PyErr_Occurred()) SWIG_fail
;
39516 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39523 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39524 PyObject
*resultobj
= 0;
39525 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39526 wxPoint
*arg2
= 0 ;
39530 PyObject
* obj0
= 0 ;
39531 PyObject
* obj1
= 0 ;
39532 char * kwnames
[] = {
39533 (char *) "self",(char *) "pos", NULL
39536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39538 if (!SWIG_IsOK(res1
)) {
39539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39541 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39544 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39548 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39549 wxPyEndAllowThreads(__tstate
);
39550 if (PyErr_Occurred()) SWIG_fail
;
39552 resultobj
= SWIG_Py_Void();
39559 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39560 PyObject
*resultobj
= 0;
39561 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39562 wxString
*result
= 0 ;
39565 PyObject
*swig_obj
[1] ;
39567 if (!args
) SWIG_fail
;
39568 swig_obj
[0] = args
;
39569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39570 if (!SWIG_IsOK(res1
)) {
39571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39573 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39577 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39578 result
= (wxString
*) &_result_ref
;
39580 wxPyEndAllowThreads(__tstate
);
39581 if (PyErr_Occurred()) SWIG_fail
;
39585 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39587 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39596 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39597 PyObject
*resultobj
= 0;
39598 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39599 wxString
*arg2
= 0 ;
39602 bool temp2
= false ;
39603 PyObject
* obj0
= 0 ;
39604 PyObject
* obj1
= 0 ;
39605 char * kwnames
[] = {
39606 (char *) "self",(char *) "link", NULL
39609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39611 if (!SWIG_IsOK(res1
)) {
39612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39614 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39616 arg2
= wxString_in_helper(obj1
);
39617 if (arg2
== NULL
) SWIG_fail
;
39621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39622 (arg1
)->SetLink((wxString
const &)*arg2
);
39623 wxPyEndAllowThreads(__tstate
);
39624 if (PyErr_Occurred()) SWIG_fail
;
39626 resultobj
= SWIG_Py_Void();
39641 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39642 PyObject
*resultobj
= 0;
39643 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39644 wxString
*result
= 0 ;
39647 PyObject
*swig_obj
[1] ;
39649 if (!args
) SWIG_fail
;
39650 swig_obj
[0] = args
;
39651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39652 if (!SWIG_IsOK(res1
)) {
39653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39655 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39659 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39660 result
= (wxString
*) &_result_ref
;
39662 wxPyEndAllowThreads(__tstate
);
39663 if (PyErr_Occurred()) SWIG_fail
;
39667 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39669 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39678 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39679 PyObject
*resultobj
= 0;
39680 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39681 wxString
*arg2
= 0 ;
39684 bool temp2
= false ;
39685 PyObject
* obj0
= 0 ;
39686 PyObject
* obj1
= 0 ;
39687 char * kwnames
[] = {
39688 (char *) "self",(char *) "target", NULL
39691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39693 if (!SWIG_IsOK(res1
)) {
39694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39696 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39698 arg2
= wxString_in_helper(obj1
);
39699 if (arg2
== NULL
) SWIG_fail
;
39703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39704 (arg1
)->SetTarget((wxString
const &)*arg2
);
39705 wxPyEndAllowThreads(__tstate
);
39706 if (PyErr_Occurred()) SWIG_fail
;
39708 resultobj
= SWIG_Py_Void();
39723 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39724 PyObject
*resultobj
= 0;
39725 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39726 wxHelpEvent::Origin result
;
39729 PyObject
*swig_obj
[1] ;
39731 if (!args
) SWIG_fail
;
39732 swig_obj
[0] = args
;
39733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39734 if (!SWIG_IsOK(res1
)) {
39735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39737 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39740 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39741 wxPyEndAllowThreads(__tstate
);
39742 if (PyErr_Occurred()) SWIG_fail
;
39744 resultobj
= SWIG_From_int(static_cast< int >(result
));
39751 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39752 PyObject
*resultobj
= 0;
39753 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39754 wxHelpEvent::Origin arg2
;
39759 PyObject
* obj0
= 0 ;
39760 PyObject
* obj1
= 0 ;
39761 char * kwnames
[] = {
39762 (char *) "self",(char *) "origin", NULL
39765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39767 if (!SWIG_IsOK(res1
)) {
39768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39770 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39772 if (!SWIG_IsOK(ecode2
)) {
39773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39775 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39778 (arg1
)->SetOrigin(arg2
);
39779 wxPyEndAllowThreads(__tstate
);
39780 if (PyErr_Occurred()) SWIG_fail
;
39782 resultobj
= SWIG_Py_Void();
39789 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39792 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39793 return SWIG_Py_Void();
39796 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39797 return SWIG_Python_InitShadowInstance(args
);
39800 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39801 PyObject
*resultobj
= 0;
39802 wxWindow
*arg1
= (wxWindow
*) NULL
;
39803 bool arg2
= (bool) true ;
39804 wxContextHelp
*result
= 0 ;
39809 PyObject
* obj0
= 0 ;
39810 PyObject
* obj1
= 0 ;
39811 char * kwnames
[] = {
39812 (char *) "window",(char *) "doNow", NULL
39815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39818 if (!SWIG_IsOK(res1
)) {
39819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39821 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39824 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39825 if (!SWIG_IsOK(ecode2
)) {
39826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39828 arg2
= static_cast< bool >(val2
);
39831 if (!wxPyCheckForApp()) SWIG_fail
;
39832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39833 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39834 wxPyEndAllowThreads(__tstate
);
39835 if (PyErr_Occurred()) SWIG_fail
;
39837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39844 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39845 PyObject
*resultobj
= 0;
39846 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39849 PyObject
*swig_obj
[1] ;
39851 if (!args
) SWIG_fail
;
39852 swig_obj
[0] = args
;
39853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39854 if (!SWIG_IsOK(res1
)) {
39855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39857 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39862 wxPyEndAllowThreads(__tstate
);
39863 if (PyErr_Occurred()) SWIG_fail
;
39865 resultobj
= SWIG_Py_Void();
39872 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39873 PyObject
*resultobj
= 0;
39874 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39875 wxWindow
*arg2
= (wxWindow
*) NULL
;
39881 PyObject
* obj0
= 0 ;
39882 PyObject
* obj1
= 0 ;
39883 char * kwnames
[] = {
39884 (char *) "self",(char *) "window", NULL
39887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39889 if (!SWIG_IsOK(res1
)) {
39890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39892 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39894 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39895 if (!SWIG_IsOK(res2
)) {
39896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39898 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39902 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39903 wxPyEndAllowThreads(__tstate
);
39904 if (PyErr_Occurred()) SWIG_fail
;
39907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39915 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39916 PyObject
*resultobj
= 0;
39917 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39921 PyObject
*swig_obj
[1] ;
39923 if (!args
) SWIG_fail
;
39924 swig_obj
[0] = args
;
39925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39926 if (!SWIG_IsOK(res1
)) {
39927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39929 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39932 result
= (bool)(arg1
)->EndContextHelp();
39933 wxPyEndAllowThreads(__tstate
);
39934 if (PyErr_Occurred()) SWIG_fail
;
39937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39945 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39947 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39948 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39949 return SWIG_Py_Void();
39952 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39953 return SWIG_Python_InitShadowInstance(args
);
39956 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39957 PyObject
*resultobj
= 0;
39958 wxWindow
*arg1
= (wxWindow
*) 0 ;
39959 int arg2
= (int) wxID_CONTEXT_HELP
;
39960 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39961 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39962 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39963 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39964 long arg5
= (long) wxBU_AUTODRAW
;
39965 wxContextHelpButton
*result
= 0 ;
39974 PyObject
* obj0
= 0 ;
39975 PyObject
* obj1
= 0 ;
39976 PyObject
* obj2
= 0 ;
39977 PyObject
* obj3
= 0 ;
39978 PyObject
* obj4
= 0 ;
39979 char * kwnames
[] = {
39980 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39985 if (!SWIG_IsOK(res1
)) {
39986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39988 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39991 if (!SWIG_IsOK(ecode2
)) {
39992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39994 arg2
= static_cast< int >(val2
);
39999 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40005 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40009 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40010 if (!SWIG_IsOK(ecode5
)) {
40011 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40013 arg5
= static_cast< long >(val5
);
40016 if (!wxPyCheckForApp()) SWIG_fail
;
40017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40018 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40019 wxPyEndAllowThreads(__tstate
);
40020 if (PyErr_Occurred()) SWIG_fail
;
40022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40029 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40032 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40033 return SWIG_Py_Void();
40036 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40037 return SWIG_Python_InitShadowInstance(args
);
40040 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40041 PyObject
*resultobj
= 0;
40042 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40045 PyObject
*swig_obj
[1] ;
40047 if (!args
) SWIG_fail
;
40048 swig_obj
[0] = args
;
40049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40050 if (!SWIG_IsOK(res1
)) {
40051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40053 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40058 wxPyEndAllowThreads(__tstate
);
40059 if (PyErr_Occurred()) SWIG_fail
;
40061 resultobj
= SWIG_Py_Void();
40068 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40069 PyObject
*resultobj
= 0;
40070 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40071 wxHelpProvider
*result
= 0 ;
40073 PyObject
* obj0
= 0 ;
40074 char * kwnames
[] = {
40075 (char *) "helpProvider", NULL
40078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40079 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40080 if (!SWIG_IsOK(res1
)) {
40081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40085 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40086 wxPyEndAllowThreads(__tstate
);
40087 if (PyErr_Occurred()) SWIG_fail
;
40089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40096 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40097 PyObject
*resultobj
= 0;
40098 wxHelpProvider
*result
= 0 ;
40100 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40103 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40104 wxPyEndAllowThreads(__tstate
);
40105 if (PyErr_Occurred()) SWIG_fail
;
40107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40114 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40115 PyObject
*resultobj
= 0;
40116 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40117 wxWindow
*arg2
= (wxWindow
*) 0 ;
40123 PyObject
* obj0
= 0 ;
40124 PyObject
* obj1
= 0 ;
40125 char * kwnames
[] = {
40126 (char *) "self",(char *) "window", NULL
40129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40131 if (!SWIG_IsOK(res1
)) {
40132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40134 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40135 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40136 if (!SWIG_IsOK(res2
)) {
40137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40139 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40142 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40143 wxPyEndAllowThreads(__tstate
);
40144 if (PyErr_Occurred()) SWIG_fail
;
40148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40159 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40160 PyObject
*resultobj
= 0;
40161 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40162 wxWindow
*arg2
= (wxWindow
*) 0 ;
40168 PyObject
* obj0
= 0 ;
40169 PyObject
* obj1
= 0 ;
40170 char * kwnames
[] = {
40171 (char *) "self",(char *) "window", NULL
40174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40176 if (!SWIG_IsOK(res1
)) {
40177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40179 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40181 if (!SWIG_IsOK(res2
)) {
40182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40184 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40187 result
= (bool)(arg1
)->ShowHelp(arg2
);
40188 wxPyEndAllowThreads(__tstate
);
40189 if (PyErr_Occurred()) SWIG_fail
;
40192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40200 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40201 PyObject
*resultobj
= 0;
40202 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40203 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40204 wxPoint
*arg3
= 0 ;
40205 wxHelpEvent::Origin arg4
;
40214 PyObject
* obj0
= 0 ;
40215 PyObject
* obj1
= 0 ;
40216 PyObject
* obj2
= 0 ;
40217 PyObject
* obj3
= 0 ;
40218 char * kwnames
[] = {
40219 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40224 if (!SWIG_IsOK(res1
)) {
40225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40227 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40228 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40229 if (!SWIG_IsOK(res2
)) {
40230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40232 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40235 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40237 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40238 if (!SWIG_IsOK(ecode4
)) {
40239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40241 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40244 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40245 wxPyEndAllowThreads(__tstate
);
40246 if (PyErr_Occurred()) SWIG_fail
;
40249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40257 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40258 PyObject
*resultobj
= 0;
40259 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40260 wxWindow
*arg2
= (wxWindow
*) 0 ;
40261 wxString
*arg3
= 0 ;
40266 bool temp3
= false ;
40267 PyObject
* obj0
= 0 ;
40268 PyObject
* obj1
= 0 ;
40269 PyObject
* obj2
= 0 ;
40270 char * kwnames
[] = {
40271 (char *) "self",(char *) "window",(char *) "text", NULL
40274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40276 if (!SWIG_IsOK(res1
)) {
40277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40279 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40281 if (!SWIG_IsOK(res2
)) {
40282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40284 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40286 arg3
= wxString_in_helper(obj2
);
40287 if (arg3
== NULL
) SWIG_fail
;
40291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40292 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40293 wxPyEndAllowThreads(__tstate
);
40294 if (PyErr_Occurred()) SWIG_fail
;
40296 resultobj
= SWIG_Py_Void();
40311 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40312 PyObject
*resultobj
= 0;
40313 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40315 wxString
*arg3
= 0 ;
40320 bool temp3
= false ;
40321 PyObject
* obj0
= 0 ;
40322 PyObject
* obj1
= 0 ;
40323 PyObject
* obj2
= 0 ;
40324 char * kwnames
[] = {
40325 (char *) "self",(char *) "id",(char *) "text", NULL
40328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40330 if (!SWIG_IsOK(res1
)) {
40331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40333 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40335 if (!SWIG_IsOK(ecode2
)) {
40336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40338 arg2
= static_cast< int >(val2
);
40340 arg3
= wxString_in_helper(obj2
);
40341 if (arg3
== NULL
) SWIG_fail
;
40345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40346 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40347 wxPyEndAllowThreads(__tstate
);
40348 if (PyErr_Occurred()) SWIG_fail
;
40350 resultobj
= SWIG_Py_Void();
40365 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40366 PyObject
*resultobj
= 0;
40367 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40368 wxWindow
*arg2
= (wxWindow
*) 0 ;
40373 PyObject
* obj0
= 0 ;
40374 PyObject
* obj1
= 0 ;
40375 char * kwnames
[] = {
40376 (char *) "self",(char *) "window", NULL
40379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40381 if (!SWIG_IsOK(res1
)) {
40382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40384 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40385 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40386 if (!SWIG_IsOK(res2
)) {
40387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40389 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40392 (arg1
)->RemoveHelp(arg2
);
40393 wxPyEndAllowThreads(__tstate
);
40394 if (PyErr_Occurred()) SWIG_fail
;
40396 resultobj
= SWIG_Py_Void();
40403 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40404 PyObject
*resultobj
= 0;
40405 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40408 PyObject
*swig_obj
[1] ;
40410 if (!args
) SWIG_fail
;
40411 swig_obj
[0] = args
;
40412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40413 if (!SWIG_IsOK(res1
)) {
40414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40416 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40419 wxHelpProvider_Destroy(arg1
);
40420 wxPyEndAllowThreads(__tstate
);
40421 if (PyErr_Occurred()) SWIG_fail
;
40423 resultobj
= SWIG_Py_Void();
40430 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40433 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40434 return SWIG_Py_Void();
40437 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40438 PyObject
*resultobj
= 0;
40439 wxSimpleHelpProvider
*result
= 0 ;
40441 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40444 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40445 wxPyEndAllowThreads(__tstate
);
40446 if (PyErr_Occurred()) SWIG_fail
;
40448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40455 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40457 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40458 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40459 return SWIG_Py_Void();
40462 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40463 return SWIG_Python_InitShadowInstance(args
);
40466 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40467 PyObject
*resultobj
= 0;
40468 wxBitmap
*arg1
= 0 ;
40469 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40470 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40471 wxGenericDragImage
*result
= 0 ;
40476 PyObject
* obj0
= 0 ;
40477 PyObject
* obj1
= 0 ;
40478 char * kwnames
[] = {
40479 (char *) "image",(char *) "cursor", NULL
40482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40483 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40484 if (!SWIG_IsOK(res1
)) {
40485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40490 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40493 if (!SWIG_IsOK(res2
)) {
40494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40499 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40502 if (!wxPyCheckForApp()) SWIG_fail
;
40503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40504 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40505 wxPyEndAllowThreads(__tstate
);
40506 if (PyErr_Occurred()) SWIG_fail
;
40508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40515 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40516 PyObject
*resultobj
= 0;
40518 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40519 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40520 wxGenericDragImage
*result
= 0 ;
40525 PyObject
* obj0
= 0 ;
40526 PyObject
* obj1
= 0 ;
40527 char * kwnames
[] = {
40528 (char *) "image",(char *) "cursor", NULL
40531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40532 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40533 if (!SWIG_IsOK(res1
)) {
40534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40539 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40542 if (!SWIG_IsOK(res2
)) {
40543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40548 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40551 if (!wxPyCheckForApp()) SWIG_fail
;
40552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40553 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40554 wxPyEndAllowThreads(__tstate
);
40555 if (PyErr_Occurred()) SWIG_fail
;
40557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40564 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40565 PyObject
*resultobj
= 0;
40566 wxString
*arg1
= 0 ;
40567 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40568 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40569 wxGenericDragImage
*result
= 0 ;
40570 bool temp1
= false ;
40573 PyObject
* obj0
= 0 ;
40574 PyObject
* obj1
= 0 ;
40575 char * kwnames
[] = {
40576 (char *) "str",(char *) "cursor", NULL
40579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40581 arg1
= wxString_in_helper(obj0
);
40582 if (arg1
== NULL
) SWIG_fail
;
40586 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40587 if (!SWIG_IsOK(res2
)) {
40588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40591 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40593 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40596 if (!wxPyCheckForApp()) SWIG_fail
;
40597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40598 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40599 wxPyEndAllowThreads(__tstate
);
40600 if (PyErr_Occurred()) SWIG_fail
;
40602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40617 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40618 PyObject
*resultobj
= 0;
40619 wxPyTreeCtrl
*arg1
= 0 ;
40620 wxTreeItemId
*arg2
= 0 ;
40621 wxGenericDragImage
*result
= 0 ;
40626 PyObject
* obj0
= 0 ;
40627 PyObject
* obj1
= 0 ;
40628 char * kwnames
[] = {
40629 (char *) "treeCtrl",(char *) "id", NULL
40632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40633 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40634 if (!SWIG_IsOK(res1
)) {
40635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40640 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40641 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40642 if (!SWIG_IsOK(res2
)) {
40643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40648 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40650 if (!wxPyCheckForApp()) SWIG_fail
;
40651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40652 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40653 wxPyEndAllowThreads(__tstate
);
40654 if (PyErr_Occurred()) SWIG_fail
;
40656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40663 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40664 PyObject
*resultobj
= 0;
40665 wxPyListCtrl
*arg1
= 0 ;
40667 wxGenericDragImage
*result
= 0 ;
40672 PyObject
* obj0
= 0 ;
40673 PyObject
* obj1
= 0 ;
40674 char * kwnames
[] = {
40675 (char *) "listCtrl",(char *) "id", NULL
40678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40679 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40680 if (!SWIG_IsOK(res1
)) {
40681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40686 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40687 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40688 if (!SWIG_IsOK(ecode2
)) {
40689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40691 arg2
= static_cast< long >(val2
);
40693 if (!wxPyCheckForApp()) SWIG_fail
;
40694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40695 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40696 wxPyEndAllowThreads(__tstate
);
40697 if (PyErr_Occurred()) SWIG_fail
;
40699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40706 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40707 PyObject
*resultobj
= 0;
40708 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40711 PyObject
*swig_obj
[1] ;
40713 if (!args
) SWIG_fail
;
40714 swig_obj
[0] = args
;
40715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40716 if (!SWIG_IsOK(res1
)) {
40717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40719 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40724 wxPyEndAllowThreads(__tstate
);
40725 if (PyErr_Occurred()) SWIG_fail
;
40727 resultobj
= SWIG_Py_Void();
40734 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40735 PyObject
*resultobj
= 0;
40736 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40737 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40742 PyObject
* obj0
= 0 ;
40743 PyObject
* obj1
= 0 ;
40744 char * kwnames
[] = {
40745 (char *) "self",(char *) "bitmap", NULL
40748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40750 if (!SWIG_IsOK(res1
)) {
40751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40753 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40754 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40755 if (!SWIG_IsOK(res2
)) {
40756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40758 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40761 (arg1
)->SetBackingBitmap(arg2
);
40762 wxPyEndAllowThreads(__tstate
);
40763 if (PyErr_Occurred()) SWIG_fail
;
40765 resultobj
= SWIG_Py_Void();
40772 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40773 PyObject
*resultobj
= 0;
40774 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40775 wxPoint
*arg2
= 0 ;
40776 wxWindow
*arg3
= (wxWindow
*) 0 ;
40777 bool arg4
= (bool) false ;
40778 wxRect
*arg5
= (wxRect
*) NULL
;
40789 PyObject
* obj0
= 0 ;
40790 PyObject
* obj1
= 0 ;
40791 PyObject
* obj2
= 0 ;
40792 PyObject
* obj3
= 0 ;
40793 PyObject
* obj4
= 0 ;
40794 char * kwnames
[] = {
40795 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40800 if (!SWIG_IsOK(res1
)) {
40801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40803 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40806 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40808 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40809 if (!SWIG_IsOK(res3
)) {
40810 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40812 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40814 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40815 if (!SWIG_IsOK(ecode4
)) {
40816 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40818 arg4
= static_cast< bool >(val4
);
40821 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40822 if (!SWIG_IsOK(res5
)) {
40823 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40825 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40829 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40830 wxPyEndAllowThreads(__tstate
);
40831 if (PyErr_Occurred()) SWIG_fail
;
40834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40842 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40843 PyObject
*resultobj
= 0;
40844 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40845 wxPoint
*arg2
= 0 ;
40846 wxWindow
*arg3
= (wxWindow
*) 0 ;
40847 wxWindow
*arg4
= (wxWindow
*) 0 ;
40856 PyObject
* obj0
= 0 ;
40857 PyObject
* obj1
= 0 ;
40858 PyObject
* obj2
= 0 ;
40859 PyObject
* obj3
= 0 ;
40860 char * kwnames
[] = {
40861 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40866 if (!SWIG_IsOK(res1
)) {
40867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40869 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40872 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40874 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40875 if (!SWIG_IsOK(res3
)) {
40876 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40878 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40879 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40880 if (!SWIG_IsOK(res4
)) {
40881 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40883 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40886 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40887 wxPyEndAllowThreads(__tstate
);
40888 if (PyErr_Occurred()) SWIG_fail
;
40891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40899 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40900 PyObject
*resultobj
= 0;
40901 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40905 PyObject
*swig_obj
[1] ;
40907 if (!args
) SWIG_fail
;
40908 swig_obj
[0] = args
;
40909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40910 if (!SWIG_IsOK(res1
)) {
40911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40913 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40916 result
= (bool)(arg1
)->EndDrag();
40917 wxPyEndAllowThreads(__tstate
);
40918 if (PyErr_Occurred()) SWIG_fail
;
40921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40929 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40930 PyObject
*resultobj
= 0;
40931 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40932 wxPoint
*arg2
= 0 ;
40937 PyObject
* obj0
= 0 ;
40938 PyObject
* obj1
= 0 ;
40939 char * kwnames
[] = {
40940 (char *) "self",(char *) "pt", NULL
40943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40945 if (!SWIG_IsOK(res1
)) {
40946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40948 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40951 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40955 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40956 wxPyEndAllowThreads(__tstate
);
40957 if (PyErr_Occurred()) SWIG_fail
;
40960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40968 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40969 PyObject
*resultobj
= 0;
40970 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40974 PyObject
*swig_obj
[1] ;
40976 if (!args
) SWIG_fail
;
40977 swig_obj
[0] = args
;
40978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40979 if (!SWIG_IsOK(res1
)) {
40980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40982 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40985 result
= (bool)(arg1
)->Show();
40986 wxPyEndAllowThreads(__tstate
);
40987 if (PyErr_Occurred()) SWIG_fail
;
40990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40998 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40999 PyObject
*resultobj
= 0;
41000 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41004 PyObject
*swig_obj
[1] ;
41006 if (!args
) SWIG_fail
;
41007 swig_obj
[0] = args
;
41008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41009 if (!SWIG_IsOK(res1
)) {
41010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41012 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41015 result
= (bool)(arg1
)->Hide();
41016 wxPyEndAllowThreads(__tstate
);
41017 if (PyErr_Occurred()) SWIG_fail
;
41020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41028 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41029 PyObject
*resultobj
= 0;
41030 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41031 wxPoint
*arg2
= 0 ;
41036 PyObject
* obj0
= 0 ;
41037 PyObject
* obj1
= 0 ;
41038 char * kwnames
[] = {
41039 (char *) "self",(char *) "pos", NULL
41042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41044 if (!SWIG_IsOK(res1
)) {
41045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41047 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41050 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41054 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41055 wxPyEndAllowThreads(__tstate
);
41056 if (PyErr_Occurred()) SWIG_fail
;
41058 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41065 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41066 PyObject
*resultobj
= 0;
41067 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41069 wxPoint
*arg3
= 0 ;
41076 PyObject
* obj0
= 0 ;
41077 PyObject
* obj1
= 0 ;
41078 PyObject
* obj2
= 0 ;
41079 char * kwnames
[] = {
41080 (char *) "self",(char *) "dc",(char *) "pos", NULL
41083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41085 if (!SWIG_IsOK(res1
)) {
41086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41088 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41089 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41090 if (!SWIG_IsOK(res2
)) {
41091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41096 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41099 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41103 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41104 wxPyEndAllowThreads(__tstate
);
41105 if (PyErr_Occurred()) SWIG_fail
;
41108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41116 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41117 PyObject
*resultobj
= 0;
41118 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41120 wxMemoryDC
*arg3
= 0 ;
41132 PyObject
* obj0
= 0 ;
41133 PyObject
* obj1
= 0 ;
41134 PyObject
* obj2
= 0 ;
41135 PyObject
* obj3
= 0 ;
41136 PyObject
* obj4
= 0 ;
41137 char * kwnames
[] = {
41138 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41143 if (!SWIG_IsOK(res1
)) {
41144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41146 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41148 if (!SWIG_IsOK(res2
)) {
41149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41154 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41155 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41156 if (!SWIG_IsOK(res3
)) {
41157 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41162 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41165 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41169 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41173 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41174 wxPyEndAllowThreads(__tstate
);
41175 if (PyErr_Occurred()) SWIG_fail
;
41178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41186 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41187 PyObject
*resultobj
= 0;
41188 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41189 wxPoint
*arg2
= 0 ;
41190 wxPoint
*arg3
= 0 ;
41202 PyObject
* obj0
= 0 ;
41203 PyObject
* obj1
= 0 ;
41204 PyObject
* obj2
= 0 ;
41205 PyObject
* obj3
= 0 ;
41206 PyObject
* obj4
= 0 ;
41207 char * kwnames
[] = {
41208 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41213 if (!SWIG_IsOK(res1
)) {
41214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41216 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41219 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41225 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41226 if (!SWIG_IsOK(ecode4
)) {
41227 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41229 arg4
= static_cast< bool >(val4
);
41230 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41231 if (!SWIG_IsOK(ecode5
)) {
41232 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41234 arg5
= static_cast< bool >(val5
);
41236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41237 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41238 wxPyEndAllowThreads(__tstate
);
41239 if (PyErr_Occurred()) SWIG_fail
;
41242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41250 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41252 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41253 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41254 return SWIG_Py_Void();
41257 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41258 return SWIG_Python_InitShadowInstance(args
);
41261 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41262 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41267 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41268 PyObject
*pyobj
= 0;
41272 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41274 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41281 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41282 PyObject
*resultobj
= 0;
41283 wxWindow
*arg1
= (wxWindow
*) 0 ;
41284 int arg2
= (int) -1 ;
41285 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41286 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41287 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41288 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41289 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41290 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41291 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41292 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41293 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41294 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41295 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41296 wxDatePickerCtrl
*result
= 0 ;
41309 bool temp8
= false ;
41310 PyObject
* obj0
= 0 ;
41311 PyObject
* obj1
= 0 ;
41312 PyObject
* obj2
= 0 ;
41313 PyObject
* obj3
= 0 ;
41314 PyObject
* obj4
= 0 ;
41315 PyObject
* obj5
= 0 ;
41316 PyObject
* obj6
= 0 ;
41317 PyObject
* obj7
= 0 ;
41318 char * kwnames
[] = {
41319 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41324 if (!SWIG_IsOK(res1
)) {
41325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41327 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41330 if (!SWIG_IsOK(ecode2
)) {
41331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41333 arg2
= static_cast< int >(val2
);
41336 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41337 if (!SWIG_IsOK(res3
)) {
41338 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41343 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41348 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41354 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41358 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41359 if (!SWIG_IsOK(ecode6
)) {
41360 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41362 arg6
= static_cast< long >(val6
);
41365 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41366 if (!SWIG_IsOK(res7
)) {
41367 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41372 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41376 arg8
= wxString_in_helper(obj7
);
41377 if (arg8
== NULL
) SWIG_fail
;
41382 if (!wxPyCheckForApp()) SWIG_fail
;
41383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41384 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41385 wxPyEndAllowThreads(__tstate
);
41386 if (PyErr_Occurred()) SWIG_fail
;
41388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41403 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41404 PyObject
*resultobj
= 0;
41405 wxDatePickerCtrl
*result
= 0 ;
41407 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41409 if (!wxPyCheckForApp()) SWIG_fail
;
41410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41411 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41412 wxPyEndAllowThreads(__tstate
);
41413 if (PyErr_Occurred()) SWIG_fail
;
41415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41422 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41423 PyObject
*resultobj
= 0;
41424 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41425 wxWindow
*arg2
= (wxWindow
*) 0 ;
41426 int arg3
= (int) -1 ;
41427 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41428 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41429 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41430 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41431 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41432 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41433 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41434 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41435 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41436 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41437 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41453 bool temp9
= false ;
41454 PyObject
* obj0
= 0 ;
41455 PyObject
* obj1
= 0 ;
41456 PyObject
* obj2
= 0 ;
41457 PyObject
* obj3
= 0 ;
41458 PyObject
* obj4
= 0 ;
41459 PyObject
* obj5
= 0 ;
41460 PyObject
* obj6
= 0 ;
41461 PyObject
* obj7
= 0 ;
41462 PyObject
* obj8
= 0 ;
41463 char * kwnames
[] = {
41464 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41469 if (!SWIG_IsOK(res1
)) {
41470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41472 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41474 if (!SWIG_IsOK(res2
)) {
41475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41477 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41480 if (!SWIG_IsOK(ecode3
)) {
41481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41483 arg3
= static_cast< int >(val3
);
41486 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41487 if (!SWIG_IsOK(res4
)) {
41488 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41493 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41498 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41504 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41508 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41509 if (!SWIG_IsOK(ecode7
)) {
41510 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41512 arg7
= static_cast< long >(val7
);
41515 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41516 if (!SWIG_IsOK(res8
)) {
41517 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41522 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41526 arg9
= wxString_in_helper(obj8
);
41527 if (arg9
== NULL
) SWIG_fail
;
41532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41533 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41534 wxPyEndAllowThreads(__tstate
);
41535 if (PyErr_Occurred()) SWIG_fail
;
41538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41554 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41555 PyObject
*resultobj
= 0;
41556 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41557 wxDateTime
*arg2
= 0 ;
41562 PyObject
* obj0
= 0 ;
41563 PyObject
* obj1
= 0 ;
41564 char * kwnames
[] = {
41565 (char *) "self",(char *) "dt", NULL
41568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41570 if (!SWIG_IsOK(res1
)) {
41571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41573 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41575 if (!SWIG_IsOK(res2
)) {
41576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41581 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41584 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41585 wxPyEndAllowThreads(__tstate
);
41586 if (PyErr_Occurred()) SWIG_fail
;
41588 resultobj
= SWIG_Py_Void();
41595 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41596 PyObject
*resultobj
= 0;
41597 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41601 PyObject
*swig_obj
[1] ;
41603 if (!args
) SWIG_fail
;
41604 swig_obj
[0] = args
;
41605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41606 if (!SWIG_IsOK(res1
)) {
41607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41609 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41612 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41613 wxPyEndAllowThreads(__tstate
);
41614 if (PyErr_Occurred()) SWIG_fail
;
41616 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41623 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41624 PyObject
*resultobj
= 0;
41625 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41626 wxDateTime
*arg2
= 0 ;
41627 wxDateTime
*arg3
= 0 ;
41634 PyObject
* obj0
= 0 ;
41635 PyObject
* obj1
= 0 ;
41636 PyObject
* obj2
= 0 ;
41637 char * kwnames
[] = {
41638 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41643 if (!SWIG_IsOK(res1
)) {
41644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41646 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41647 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41648 if (!SWIG_IsOK(res2
)) {
41649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41654 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41655 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41656 if (!SWIG_IsOK(res3
)) {
41657 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41662 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41665 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41666 wxPyEndAllowThreads(__tstate
);
41667 if (PyErr_Occurred()) SWIG_fail
;
41669 resultobj
= SWIG_Py_Void();
41676 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41677 PyObject
*resultobj
= 0;
41678 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41682 PyObject
*swig_obj
[1] ;
41684 if (!args
) SWIG_fail
;
41685 swig_obj
[0] = args
;
41686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41687 if (!SWIG_IsOK(res1
)) {
41688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41690 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41693 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41694 wxPyEndAllowThreads(__tstate
);
41695 if (PyErr_Occurred()) SWIG_fail
;
41697 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41704 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41705 PyObject
*resultobj
= 0;
41706 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41710 PyObject
*swig_obj
[1] ;
41712 if (!args
) SWIG_fail
;
41713 swig_obj
[0] = args
;
41714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41715 if (!SWIG_IsOK(res1
)) {
41716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41718 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41721 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41722 wxPyEndAllowThreads(__tstate
);
41723 if (PyErr_Occurred()) SWIG_fail
;
41725 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41732 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41735 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41736 return SWIG_Py_Void();
41739 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41740 return SWIG_Python_InitShadowInstance(args
);
41743 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41744 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41749 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41750 PyObject
*pyobj
= 0;
41754 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41756 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41763 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41764 PyObject
*resultobj
= 0;
41765 wxWindow
*arg1
= (wxWindow
*) 0 ;
41767 wxString
*arg3
= 0 ;
41768 wxString
*arg4
= 0 ;
41769 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41770 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41771 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41772 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41773 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41774 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41775 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41776 wxHyperlinkCtrl
*result
= 0 ;
41781 bool temp3
= false ;
41782 bool temp4
= false ;
41787 bool temp8
= false ;
41788 PyObject
* obj0
= 0 ;
41789 PyObject
* obj1
= 0 ;
41790 PyObject
* obj2
= 0 ;
41791 PyObject
* obj3
= 0 ;
41792 PyObject
* obj4
= 0 ;
41793 PyObject
* obj5
= 0 ;
41794 PyObject
* obj6
= 0 ;
41795 PyObject
* obj7
= 0 ;
41796 char * kwnames
[] = {
41797 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41802 if (!SWIG_IsOK(res1
)) {
41803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41805 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41807 if (!SWIG_IsOK(ecode2
)) {
41808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41810 arg2
= static_cast< int >(val2
);
41812 arg3
= wxString_in_helper(obj2
);
41813 if (arg3
== NULL
) SWIG_fail
;
41817 arg4
= wxString_in_helper(obj3
);
41818 if (arg4
== NULL
) SWIG_fail
;
41824 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41830 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41834 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41835 if (!SWIG_IsOK(ecode7
)) {
41836 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41838 arg7
= static_cast< long >(val7
);
41842 arg8
= wxString_in_helper(obj7
);
41843 if (arg8
== NULL
) SWIG_fail
;
41848 if (!wxPyCheckForApp()) SWIG_fail
;
41849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41850 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41851 wxPyEndAllowThreads(__tstate
);
41852 if (PyErr_Occurred()) SWIG_fail
;
41854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41885 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41886 PyObject
*resultobj
= 0;
41887 wxHyperlinkCtrl
*result
= 0 ;
41889 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41891 if (!wxPyCheckForApp()) SWIG_fail
;
41892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41893 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41894 wxPyEndAllowThreads(__tstate
);
41895 if (PyErr_Occurred()) SWIG_fail
;
41897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41904 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41905 PyObject
*resultobj
= 0;
41906 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41907 wxWindow
*arg2
= (wxWindow
*) 0 ;
41909 wxString
*arg4
= 0 ;
41910 wxString
*arg5
= 0 ;
41911 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41912 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41913 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41914 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41915 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41916 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41917 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41925 bool temp4
= false ;
41926 bool temp5
= false ;
41931 bool temp9
= false ;
41932 PyObject
* obj0
= 0 ;
41933 PyObject
* obj1
= 0 ;
41934 PyObject
* obj2
= 0 ;
41935 PyObject
* obj3
= 0 ;
41936 PyObject
* obj4
= 0 ;
41937 PyObject
* obj5
= 0 ;
41938 PyObject
* obj6
= 0 ;
41939 PyObject
* obj7
= 0 ;
41940 PyObject
* obj8
= 0 ;
41941 char * kwnames
[] = {
41942 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41947 if (!SWIG_IsOK(res1
)) {
41948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41950 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41951 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41952 if (!SWIG_IsOK(res2
)) {
41953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41955 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41957 if (!SWIG_IsOK(ecode3
)) {
41958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41960 arg3
= static_cast< int >(val3
);
41962 arg4
= wxString_in_helper(obj3
);
41963 if (arg4
== NULL
) SWIG_fail
;
41967 arg5
= wxString_in_helper(obj4
);
41968 if (arg5
== NULL
) SWIG_fail
;
41974 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41980 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41984 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41985 if (!SWIG_IsOK(ecode8
)) {
41986 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41988 arg8
= static_cast< long >(val8
);
41992 arg9
= wxString_in_helper(obj8
);
41993 if (arg9
== NULL
) SWIG_fail
;
41998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41999 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42000 wxPyEndAllowThreads(__tstate
);
42001 if (PyErr_Occurred()) SWIG_fail
;
42004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42036 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42037 PyObject
*resultobj
= 0;
42038 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42042 PyObject
*swig_obj
[1] ;
42044 if (!args
) SWIG_fail
;
42045 swig_obj
[0] = args
;
42046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42047 if (!SWIG_IsOK(res1
)) {
42048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42050 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42053 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42054 wxPyEndAllowThreads(__tstate
);
42055 if (PyErr_Occurred()) SWIG_fail
;
42057 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42064 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42065 PyObject
*resultobj
= 0;
42066 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42067 wxColour
*arg2
= 0 ;
42071 PyObject
* obj0
= 0 ;
42072 PyObject
* obj1
= 0 ;
42073 char * kwnames
[] = {
42074 (char *) "self",(char *) "colour", NULL
42077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42079 if (!SWIG_IsOK(res1
)) {
42080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42082 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42085 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42089 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42090 wxPyEndAllowThreads(__tstate
);
42091 if (PyErr_Occurred()) SWIG_fail
;
42093 resultobj
= SWIG_Py_Void();
42100 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42101 PyObject
*resultobj
= 0;
42102 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42106 PyObject
*swig_obj
[1] ;
42108 if (!args
) SWIG_fail
;
42109 swig_obj
[0] = args
;
42110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42111 if (!SWIG_IsOK(res1
)) {
42112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42114 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42117 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42118 wxPyEndAllowThreads(__tstate
);
42119 if (PyErr_Occurred()) SWIG_fail
;
42121 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42128 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42129 PyObject
*resultobj
= 0;
42130 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42131 wxColour
*arg2
= 0 ;
42135 PyObject
* obj0
= 0 ;
42136 PyObject
* obj1
= 0 ;
42137 char * kwnames
[] = {
42138 (char *) "self",(char *) "colour", NULL
42141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42143 if (!SWIG_IsOK(res1
)) {
42144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42146 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42149 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42153 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42154 wxPyEndAllowThreads(__tstate
);
42155 if (PyErr_Occurred()) SWIG_fail
;
42157 resultobj
= SWIG_Py_Void();
42164 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42165 PyObject
*resultobj
= 0;
42166 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42170 PyObject
*swig_obj
[1] ;
42172 if (!args
) SWIG_fail
;
42173 swig_obj
[0] = args
;
42174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42175 if (!SWIG_IsOK(res1
)) {
42176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42178 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42181 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42182 wxPyEndAllowThreads(__tstate
);
42183 if (PyErr_Occurred()) SWIG_fail
;
42185 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42192 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42193 PyObject
*resultobj
= 0;
42194 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42195 wxColour
*arg2
= 0 ;
42199 PyObject
* obj0
= 0 ;
42200 PyObject
* obj1
= 0 ;
42201 char * kwnames
[] = {
42202 (char *) "self",(char *) "colour", NULL
42205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42207 if (!SWIG_IsOK(res1
)) {
42208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42210 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42213 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42217 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42218 wxPyEndAllowThreads(__tstate
);
42219 if (PyErr_Occurred()) SWIG_fail
;
42221 resultobj
= SWIG_Py_Void();
42228 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42229 PyObject
*resultobj
= 0;
42230 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42234 PyObject
*swig_obj
[1] ;
42236 if (!args
) SWIG_fail
;
42237 swig_obj
[0] = args
;
42238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42239 if (!SWIG_IsOK(res1
)) {
42240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42242 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42245 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42246 wxPyEndAllowThreads(__tstate
);
42247 if (PyErr_Occurred()) SWIG_fail
;
42251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42262 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42263 PyObject
*resultobj
= 0;
42264 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42265 wxString
*arg2
= 0 ;
42268 bool temp2
= false ;
42269 PyObject
* obj0
= 0 ;
42270 PyObject
* obj1
= 0 ;
42271 char * kwnames
[] = {
42272 (char *) "self",(char *) "url", NULL
42275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42277 if (!SWIG_IsOK(res1
)) {
42278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42280 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42282 arg2
= wxString_in_helper(obj1
);
42283 if (arg2
== NULL
) SWIG_fail
;
42287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42288 (arg1
)->SetURL((wxString
const &)*arg2
);
42289 wxPyEndAllowThreads(__tstate
);
42290 if (PyErr_Occurred()) SWIG_fail
;
42292 resultobj
= SWIG_Py_Void();
42307 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42308 PyObject
*resultobj
= 0;
42309 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42310 bool arg2
= (bool) true ;
42315 PyObject
* obj0
= 0 ;
42316 PyObject
* obj1
= 0 ;
42317 char * kwnames
[] = {
42318 (char *) "self",(char *) "visited", NULL
42321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42323 if (!SWIG_IsOK(res1
)) {
42324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42326 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42328 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42329 if (!SWIG_IsOK(ecode2
)) {
42330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42332 arg2
= static_cast< bool >(val2
);
42335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42336 (arg1
)->SetVisited(arg2
);
42337 wxPyEndAllowThreads(__tstate
);
42338 if (PyErr_Occurred()) SWIG_fail
;
42340 resultobj
= SWIG_Py_Void();
42347 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42348 PyObject
*resultobj
= 0;
42349 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42353 PyObject
*swig_obj
[1] ;
42355 if (!args
) SWIG_fail
;
42356 swig_obj
[0] = args
;
42357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42358 if (!SWIG_IsOK(res1
)) {
42359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42361 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42364 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42365 wxPyEndAllowThreads(__tstate
);
42366 if (PyErr_Occurred()) SWIG_fail
;
42369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42377 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42380 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42381 return SWIG_Py_Void();
42384 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42385 return SWIG_Python_InitShadowInstance(args
);
42388 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42389 PyObject
*resultobj
= 0;
42390 wxObject
*arg1
= (wxObject
*) 0 ;
42392 wxString
*arg3
= 0 ;
42393 wxHyperlinkEvent
*result
= 0 ;
42398 bool temp3
= false ;
42399 PyObject
* obj0
= 0 ;
42400 PyObject
* obj1
= 0 ;
42401 PyObject
* obj2
= 0 ;
42402 char * kwnames
[] = {
42403 (char *) "generator",(char *) "id",(char *) "url", NULL
42406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42408 if (!SWIG_IsOK(res1
)) {
42409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42411 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42413 if (!SWIG_IsOK(ecode2
)) {
42414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42416 arg2
= static_cast< int >(val2
);
42418 arg3
= wxString_in_helper(obj2
);
42419 if (arg3
== NULL
) SWIG_fail
;
42423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42424 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42425 wxPyEndAllowThreads(__tstate
);
42426 if (PyErr_Occurred()) SWIG_fail
;
42428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42443 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42444 PyObject
*resultobj
= 0;
42445 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42449 PyObject
*swig_obj
[1] ;
42451 if (!args
) SWIG_fail
;
42452 swig_obj
[0] = args
;
42453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42454 if (!SWIG_IsOK(res1
)) {
42455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42457 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42460 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42461 wxPyEndAllowThreads(__tstate
);
42462 if (PyErr_Occurred()) SWIG_fail
;
42466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42477 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42478 PyObject
*resultobj
= 0;
42479 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42480 wxString
*arg2
= 0 ;
42483 bool temp2
= false ;
42484 PyObject
* obj0
= 0 ;
42485 PyObject
* obj1
= 0 ;
42486 char * kwnames
[] = {
42487 (char *) "self",(char *) "url", NULL
42490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42492 if (!SWIG_IsOK(res1
)) {
42493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42495 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42497 arg2
= wxString_in_helper(obj1
);
42498 if (arg2
== NULL
) SWIG_fail
;
42502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42503 (arg1
)->SetURL((wxString
const &)*arg2
);
42504 wxPyEndAllowThreads(__tstate
);
42505 if (PyErr_Occurred()) SWIG_fail
;
42507 resultobj
= SWIG_Py_Void();
42522 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42524 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42525 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42526 return SWIG_Py_Void();
42529 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42530 return SWIG_Python_InitShadowInstance(args
);
42533 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42534 PyObject
*resultobj
= 0;
42535 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42536 wxWindow
*arg2
= (wxWindow
*) 0 ;
42538 wxString
const &arg4_defvalue
= wxEmptyString
;
42539 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42540 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42541 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42542 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42543 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42544 long arg7
= (long) 0 ;
42545 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42546 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42547 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42548 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42556 bool temp4
= false ;
42563 bool temp9
= false ;
42564 PyObject
* obj0
= 0 ;
42565 PyObject
* obj1
= 0 ;
42566 PyObject
* obj2
= 0 ;
42567 PyObject
* obj3
= 0 ;
42568 PyObject
* obj4
= 0 ;
42569 PyObject
* obj5
= 0 ;
42570 PyObject
* obj6
= 0 ;
42571 PyObject
* obj7
= 0 ;
42572 PyObject
* obj8
= 0 ;
42573 char * kwnames
[] = {
42574 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42579 if (!SWIG_IsOK(res1
)) {
42580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42582 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42584 if (!SWIG_IsOK(res2
)) {
42585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42587 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42589 if (!SWIG_IsOK(ecode3
)) {
42590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42592 arg3
= static_cast< int >(val3
);
42595 arg4
= wxString_in_helper(obj3
);
42596 if (arg4
== NULL
) SWIG_fail
;
42603 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42609 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42613 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42614 if (!SWIG_IsOK(ecode7
)) {
42615 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42617 arg7
= static_cast< long >(val7
);
42620 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42621 if (!SWIG_IsOK(res8
)) {
42622 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42627 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42631 arg9
= wxString_in_helper(obj8
);
42632 if (arg9
== NULL
) SWIG_fail
;
42637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42638 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42639 wxPyEndAllowThreads(__tstate
);
42640 if (PyErr_Occurred()) SWIG_fail
;
42643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42667 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42668 PyObject
*resultobj
= 0;
42669 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42675 PyObject
* obj0
= 0 ;
42676 PyObject
* obj1
= 0 ;
42677 char * kwnames
[] = {
42678 (char *) "self",(char *) "newmargin", NULL
42681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42683 if (!SWIG_IsOK(res1
)) {
42684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42686 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42688 if (!SWIG_IsOK(ecode2
)) {
42689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42691 arg2
= static_cast< int >(val2
);
42693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42694 (arg1
)->SetInternalMargin(arg2
);
42695 wxPyEndAllowThreads(__tstate
);
42696 if (PyErr_Occurred()) SWIG_fail
;
42698 resultobj
= SWIG_Py_Void();
42705 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42706 PyObject
*resultobj
= 0;
42707 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42711 PyObject
*swig_obj
[1] ;
42713 if (!args
) SWIG_fail
;
42714 swig_obj
[0] = args
;
42715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42716 if (!SWIG_IsOK(res1
)) {
42717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42719 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42722 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42723 wxPyEndAllowThreads(__tstate
);
42724 if (PyErr_Occurred()) SWIG_fail
;
42726 resultobj
= SWIG_From_int(static_cast< int >(result
));
42733 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42734 PyObject
*resultobj
= 0;
42735 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42741 PyObject
* obj0
= 0 ;
42742 PyObject
* obj1
= 0 ;
42743 char * kwnames
[] = {
42744 (char *) "self",(char *) "prop", NULL
42747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42749 if (!SWIG_IsOK(res1
)) {
42750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42752 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42754 if (!SWIG_IsOK(ecode2
)) {
42755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42757 arg2
= static_cast< int >(val2
);
42759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42760 (arg1
)->SetTextCtrlProportion(arg2
);
42761 wxPyEndAllowThreads(__tstate
);
42762 if (PyErr_Occurred()) SWIG_fail
;
42764 resultobj
= SWIG_Py_Void();
42771 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42772 PyObject
*resultobj
= 0;
42773 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42777 PyObject
*swig_obj
[1] ;
42779 if (!args
) SWIG_fail
;
42780 swig_obj
[0] = args
;
42781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42782 if (!SWIG_IsOK(res1
)) {
42783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42785 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42788 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42789 wxPyEndAllowThreads(__tstate
);
42790 if (PyErr_Occurred()) SWIG_fail
;
42792 resultobj
= SWIG_From_int(static_cast< int >(result
));
42799 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42800 PyObject
*resultobj
= 0;
42801 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42807 PyObject
* obj0
= 0 ;
42808 PyObject
* obj1
= 0 ;
42809 char * kwnames
[] = {
42810 (char *) "self",(char *) "prop", NULL
42813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42815 if (!SWIG_IsOK(res1
)) {
42816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42818 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42820 if (!SWIG_IsOK(ecode2
)) {
42821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42823 arg2
= static_cast< int >(val2
);
42825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42826 (arg1
)->SetPickerCtrlProportion(arg2
);
42827 wxPyEndAllowThreads(__tstate
);
42828 if (PyErr_Occurred()) SWIG_fail
;
42830 resultobj
= SWIG_Py_Void();
42837 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42838 PyObject
*resultobj
= 0;
42839 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42843 PyObject
*swig_obj
[1] ;
42845 if (!args
) SWIG_fail
;
42846 swig_obj
[0] = args
;
42847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42848 if (!SWIG_IsOK(res1
)) {
42849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42851 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42854 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42855 wxPyEndAllowThreads(__tstate
);
42856 if (PyErr_Occurred()) SWIG_fail
;
42858 resultobj
= SWIG_From_int(static_cast< int >(result
));
42865 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42866 PyObject
*resultobj
= 0;
42867 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42871 PyObject
*swig_obj
[1] ;
42873 if (!args
) SWIG_fail
;
42874 swig_obj
[0] = args
;
42875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42876 if (!SWIG_IsOK(res1
)) {
42877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42879 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42882 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42883 wxPyEndAllowThreads(__tstate
);
42884 if (PyErr_Occurred()) SWIG_fail
;
42887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42895 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42896 PyObject
*resultobj
= 0;
42897 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42898 bool arg2
= (bool) true ;
42903 PyObject
* obj0
= 0 ;
42904 PyObject
* obj1
= 0 ;
42905 char * kwnames
[] = {
42906 (char *) "self",(char *) "grow", NULL
42909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42911 if (!SWIG_IsOK(res1
)) {
42912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42914 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42916 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42917 if (!SWIG_IsOK(ecode2
)) {
42918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42920 arg2
= static_cast< bool >(val2
);
42923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42924 (arg1
)->SetTextCtrlGrowable(arg2
);
42925 wxPyEndAllowThreads(__tstate
);
42926 if (PyErr_Occurred()) SWIG_fail
;
42928 resultobj
= SWIG_Py_Void();
42935 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42936 PyObject
*resultobj
= 0;
42937 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42941 PyObject
*swig_obj
[1] ;
42943 if (!args
) SWIG_fail
;
42944 swig_obj
[0] = args
;
42945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42946 if (!SWIG_IsOK(res1
)) {
42947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42949 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42952 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42953 wxPyEndAllowThreads(__tstate
);
42954 if (PyErr_Occurred()) SWIG_fail
;
42957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42965 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42966 PyObject
*resultobj
= 0;
42967 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42968 bool arg2
= (bool) true ;
42973 PyObject
* obj0
= 0 ;
42974 PyObject
* obj1
= 0 ;
42975 char * kwnames
[] = {
42976 (char *) "self",(char *) "grow", NULL
42979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42981 if (!SWIG_IsOK(res1
)) {
42982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42984 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42986 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42987 if (!SWIG_IsOK(ecode2
)) {
42988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42990 arg2
= static_cast< bool >(val2
);
42993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42994 (arg1
)->SetPickerCtrlGrowable(arg2
);
42995 wxPyEndAllowThreads(__tstate
);
42996 if (PyErr_Occurred()) SWIG_fail
;
42998 resultobj
= SWIG_Py_Void();
43005 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43006 PyObject
*resultobj
= 0;
43007 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43011 PyObject
*swig_obj
[1] ;
43013 if (!args
) SWIG_fail
;
43014 swig_obj
[0] = args
;
43015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43016 if (!SWIG_IsOK(res1
)) {
43017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43019 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43022 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43023 wxPyEndAllowThreads(__tstate
);
43024 if (PyErr_Occurred()) SWIG_fail
;
43027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43035 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43036 PyObject
*resultobj
= 0;
43037 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43038 wxTextCtrl
*result
= 0 ;
43041 PyObject
*swig_obj
[1] ;
43043 if (!args
) SWIG_fail
;
43044 swig_obj
[0] = args
;
43045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43046 if (!SWIG_IsOK(res1
)) {
43047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43049 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43052 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43053 wxPyEndAllowThreads(__tstate
);
43054 if (PyErr_Occurred()) SWIG_fail
;
43057 resultobj
= wxPyMake_wxObject(result
, 0);
43065 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43066 PyObject
*resultobj
= 0;
43067 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43068 wxControl
*result
= 0 ;
43071 PyObject
*swig_obj
[1] ;
43073 if (!args
) SWIG_fail
;
43074 swig_obj
[0] = args
;
43075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43076 if (!SWIG_IsOK(res1
)) {
43077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43079 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43082 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43083 wxPyEndAllowThreads(__tstate
);
43084 if (PyErr_Occurred()) SWIG_fail
;
43087 resultobj
= wxPyMake_wxObject(result
, 0);
43095 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43097 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43098 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43099 return SWIG_Py_Void();
43102 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43103 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43108 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43109 PyObject
*pyobj
= 0;
43113 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43115 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43122 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43123 PyObject
*resultobj
= 0;
43124 wxWindow
*arg1
= (wxWindow
*) 0 ;
43125 int arg2
= (int) -1 ;
43126 wxColour
const &arg3_defvalue
= *wxBLACK
;
43127 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43128 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43129 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43130 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43131 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43132 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43133 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43134 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43135 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43136 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43137 wxColourPickerCtrl
*result
= 0 ;
43149 bool temp8
= false ;
43150 PyObject
* obj0
= 0 ;
43151 PyObject
* obj1
= 0 ;
43152 PyObject
* obj2
= 0 ;
43153 PyObject
* obj3
= 0 ;
43154 PyObject
* obj4
= 0 ;
43155 PyObject
* obj5
= 0 ;
43156 PyObject
* obj6
= 0 ;
43157 PyObject
* obj7
= 0 ;
43158 char * kwnames
[] = {
43159 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43164 if (!SWIG_IsOK(res1
)) {
43165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43167 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43170 if (!SWIG_IsOK(ecode2
)) {
43171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43173 arg2
= static_cast< int >(val2
);
43178 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43184 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43190 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43194 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43195 if (!SWIG_IsOK(ecode6
)) {
43196 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43198 arg6
= static_cast< long >(val6
);
43201 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43202 if (!SWIG_IsOK(res7
)) {
43203 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43208 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43212 arg8
= wxString_in_helper(obj7
);
43213 if (arg8
== NULL
) SWIG_fail
;
43218 if (!wxPyCheckForApp()) SWIG_fail
;
43219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43220 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43221 wxPyEndAllowThreads(__tstate
);
43222 if (PyErr_Occurred()) SWIG_fail
;
43224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43239 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43240 PyObject
*resultobj
= 0;
43241 wxColourPickerCtrl
*result
= 0 ;
43243 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43245 if (!wxPyCheckForApp()) SWIG_fail
;
43246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43247 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43248 wxPyEndAllowThreads(__tstate
);
43249 if (PyErr_Occurred()) SWIG_fail
;
43251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43258 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43259 PyObject
*resultobj
= 0;
43260 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43261 wxWindow
*arg2
= (wxWindow
*) 0 ;
43263 wxColour
const &arg4_defvalue
= *wxBLACK
;
43264 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43265 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43266 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43267 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43268 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43269 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43270 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43271 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43272 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43273 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43288 bool temp9
= false ;
43289 PyObject
* obj0
= 0 ;
43290 PyObject
* obj1
= 0 ;
43291 PyObject
* obj2
= 0 ;
43292 PyObject
* obj3
= 0 ;
43293 PyObject
* obj4
= 0 ;
43294 PyObject
* obj5
= 0 ;
43295 PyObject
* obj6
= 0 ;
43296 PyObject
* obj7
= 0 ;
43297 PyObject
* obj8
= 0 ;
43298 char * kwnames
[] = {
43299 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43304 if (!SWIG_IsOK(res1
)) {
43305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43307 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43308 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43309 if (!SWIG_IsOK(res2
)) {
43310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43312 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43314 if (!SWIG_IsOK(ecode3
)) {
43315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43317 arg3
= static_cast< int >(val3
);
43321 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43327 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43333 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43337 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43338 if (!SWIG_IsOK(ecode7
)) {
43339 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43341 arg7
= static_cast< long >(val7
);
43344 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43345 if (!SWIG_IsOK(res8
)) {
43346 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43351 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43355 arg9
= wxString_in_helper(obj8
);
43356 if (arg9
== NULL
) SWIG_fail
;
43361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43362 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43363 wxPyEndAllowThreads(__tstate
);
43364 if (PyErr_Occurred()) SWIG_fail
;
43367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43383 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43384 PyObject
*resultobj
= 0;
43385 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43389 PyObject
*swig_obj
[1] ;
43391 if (!args
) SWIG_fail
;
43392 swig_obj
[0] = args
;
43393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43394 if (!SWIG_IsOK(res1
)) {
43395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43397 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43400 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43401 wxPyEndAllowThreads(__tstate
);
43402 if (PyErr_Occurred()) SWIG_fail
;
43404 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43411 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43412 PyObject
*resultobj
= 0;
43413 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43414 wxColour
*arg2
= 0 ;
43418 PyObject
* obj0
= 0 ;
43419 PyObject
* obj1
= 0 ;
43420 char * kwnames
[] = {
43421 (char *) "self",(char *) "col", NULL
43424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43426 if (!SWIG_IsOK(res1
)) {
43427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43429 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43432 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43436 (arg1
)->SetColour((wxColour
const &)*arg2
);
43437 wxPyEndAllowThreads(__tstate
);
43438 if (PyErr_Occurred()) SWIG_fail
;
43440 resultobj
= SWIG_Py_Void();
43447 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43450 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43451 return SWIG_Py_Void();
43454 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43455 return SWIG_Python_InitShadowInstance(args
);
43458 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43459 PyObject
*resultobj
= 0;
43460 wxObject
*arg1
= (wxObject
*) 0 ;
43462 wxColour
*arg3
= 0 ;
43463 wxColourPickerEvent
*result
= 0 ;
43469 PyObject
* obj0
= 0 ;
43470 PyObject
* obj1
= 0 ;
43471 PyObject
* obj2
= 0 ;
43472 char * kwnames
[] = {
43473 (char *) "generator",(char *) "id",(char *) "col", NULL
43476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43478 if (!SWIG_IsOK(res1
)) {
43479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43481 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43483 if (!SWIG_IsOK(ecode2
)) {
43484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43486 arg2
= static_cast< int >(val2
);
43489 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43493 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43494 wxPyEndAllowThreads(__tstate
);
43495 if (PyErr_Occurred()) SWIG_fail
;
43497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43504 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43505 PyObject
*resultobj
= 0;
43506 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43510 PyObject
*swig_obj
[1] ;
43512 if (!args
) SWIG_fail
;
43513 swig_obj
[0] = args
;
43514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43515 if (!SWIG_IsOK(res1
)) {
43516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43518 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43521 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43522 wxPyEndAllowThreads(__tstate
);
43523 if (PyErr_Occurred()) SWIG_fail
;
43525 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43532 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43533 PyObject
*resultobj
= 0;
43534 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43535 wxColour
*arg2
= 0 ;
43539 PyObject
* obj0
= 0 ;
43540 PyObject
* obj1
= 0 ;
43541 char * kwnames
[] = {
43542 (char *) "self",(char *) "c", NULL
43545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43547 if (!SWIG_IsOK(res1
)) {
43548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43550 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43553 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43557 (arg1
)->SetColour((wxColour
const &)*arg2
);
43558 wxPyEndAllowThreads(__tstate
);
43559 if (PyErr_Occurred()) SWIG_fail
;
43561 resultobj
= SWIG_Py_Void();
43568 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43571 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43572 return SWIG_Py_Void();
43575 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43576 return SWIG_Python_InitShadowInstance(args
);
43579 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43580 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43585 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43586 PyObject
*pyobj
= 0;
43590 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43592 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43599 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43600 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43605 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43606 PyObject
*pyobj
= 0;
43610 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43612 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43619 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43620 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43625 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43626 PyObject
*pyobj
= 0;
43630 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43632 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43639 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43640 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43645 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43646 PyObject
*pyobj
= 0;
43650 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43652 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43659 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43660 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43665 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43666 PyObject
*pyobj
= 0;
43670 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43672 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43679 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43680 PyObject
*resultobj
= 0;
43681 wxWindow
*arg1
= (wxWindow
*) 0 ;
43682 int arg2
= (int) -1 ;
43683 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43684 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43685 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43686 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43687 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43688 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43689 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43690 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43691 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43692 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43693 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43694 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43695 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43696 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43697 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43698 wxFilePickerCtrl
*result
= 0 ;
43703 bool temp3
= false ;
43704 bool temp4
= false ;
43705 bool temp5
= false ;
43712 bool temp10
= false ;
43713 PyObject
* obj0
= 0 ;
43714 PyObject
* obj1
= 0 ;
43715 PyObject
* obj2
= 0 ;
43716 PyObject
* obj3
= 0 ;
43717 PyObject
* obj4
= 0 ;
43718 PyObject
* obj5
= 0 ;
43719 PyObject
* obj6
= 0 ;
43720 PyObject
* obj7
= 0 ;
43721 PyObject
* obj8
= 0 ;
43722 PyObject
* obj9
= 0 ;
43723 char * kwnames
[] = {
43724 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43729 if (!SWIG_IsOK(res1
)) {
43730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43732 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43735 if (!SWIG_IsOK(ecode2
)) {
43736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43738 arg2
= static_cast< int >(val2
);
43742 arg3
= wxString_in_helper(obj2
);
43743 if (arg3
== NULL
) SWIG_fail
;
43749 arg4
= wxString_in_helper(obj3
);
43750 if (arg4
== NULL
) SWIG_fail
;
43756 arg5
= wxString_in_helper(obj4
);
43757 if (arg5
== NULL
) SWIG_fail
;
43764 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43770 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43774 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43775 if (!SWIG_IsOK(ecode8
)) {
43776 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43778 arg8
= static_cast< long >(val8
);
43781 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43782 if (!SWIG_IsOK(res9
)) {
43783 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43788 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43792 arg10
= wxString_in_helper(obj9
);
43793 if (arg10
== NULL
) SWIG_fail
;
43798 if (!wxPyCheckForApp()) SWIG_fail
;
43799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43800 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
);
43801 wxPyEndAllowThreads(__tstate
);
43802 if (PyErr_Occurred()) SWIG_fail
;
43804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43843 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43844 PyObject
*resultobj
= 0;
43845 wxFilePickerCtrl
*result
= 0 ;
43847 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43849 if (!wxPyCheckForApp()) SWIG_fail
;
43850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43851 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43852 wxPyEndAllowThreads(__tstate
);
43853 if (PyErr_Occurred()) SWIG_fail
;
43855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43862 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43863 PyObject
*resultobj
= 0;
43864 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43865 wxWindow
*arg2
= (wxWindow
*) 0 ;
43866 int arg3
= (int) -1 ;
43867 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43868 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43869 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43870 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43871 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43872 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43873 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43874 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43875 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43876 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43877 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43878 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43879 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43880 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43881 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43889 bool temp4
= false ;
43890 bool temp5
= false ;
43891 bool temp6
= false ;
43898 bool temp11
= false ;
43899 PyObject
* obj0
= 0 ;
43900 PyObject
* obj1
= 0 ;
43901 PyObject
* obj2
= 0 ;
43902 PyObject
* obj3
= 0 ;
43903 PyObject
* obj4
= 0 ;
43904 PyObject
* obj5
= 0 ;
43905 PyObject
* obj6
= 0 ;
43906 PyObject
* obj7
= 0 ;
43907 PyObject
* obj8
= 0 ;
43908 PyObject
* obj9
= 0 ;
43909 PyObject
* obj10
= 0 ;
43910 char * kwnames
[] = {
43911 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43916 if (!SWIG_IsOK(res1
)) {
43917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43919 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43920 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43921 if (!SWIG_IsOK(res2
)) {
43922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43924 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43927 if (!SWIG_IsOK(ecode3
)) {
43928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43930 arg3
= static_cast< int >(val3
);
43934 arg4
= wxString_in_helper(obj3
);
43935 if (arg4
== NULL
) SWIG_fail
;
43941 arg5
= wxString_in_helper(obj4
);
43942 if (arg5
== NULL
) SWIG_fail
;
43948 arg6
= wxString_in_helper(obj5
);
43949 if (arg6
== NULL
) SWIG_fail
;
43956 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43962 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43966 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43967 if (!SWIG_IsOK(ecode9
)) {
43968 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43970 arg9
= static_cast< long >(val9
);
43973 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43974 if (!SWIG_IsOK(res10
)) {
43975 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43980 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43984 arg11
= wxString_in_helper(obj10
);
43985 if (arg11
== NULL
) SWIG_fail
;
43990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43991 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
);
43992 wxPyEndAllowThreads(__tstate
);
43993 if (PyErr_Occurred()) SWIG_fail
;
43996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44036 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44037 PyObject
*resultobj
= 0;
44038 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44042 PyObject
*swig_obj
[1] ;
44044 if (!args
) SWIG_fail
;
44045 swig_obj
[0] = args
;
44046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44047 if (!SWIG_IsOK(res1
)) {
44048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44050 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44053 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44054 wxPyEndAllowThreads(__tstate
);
44055 if (PyErr_Occurred()) SWIG_fail
;
44059 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44061 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44070 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44071 PyObject
*resultobj
= 0;
44072 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44073 wxString
*arg2
= 0 ;
44076 bool temp2
= false ;
44077 PyObject
* obj0
= 0 ;
44078 PyObject
* obj1
= 0 ;
44079 char * kwnames
[] = {
44080 (char *) "self",(char *) "str", NULL
44083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44085 if (!SWIG_IsOK(res1
)) {
44086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44088 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44090 arg2
= wxString_in_helper(obj1
);
44091 if (arg2
== NULL
) SWIG_fail
;
44095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44096 (arg1
)->SetPath((wxString
const &)*arg2
);
44097 wxPyEndAllowThreads(__tstate
);
44098 if (PyErr_Occurred()) SWIG_fail
;
44100 resultobj
= SWIG_Py_Void();
44115 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44116 PyObject
*resultobj
= 0;
44117 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44118 wxString
*arg2
= 0 ;
44122 bool temp2
= false ;
44123 PyObject
* obj0
= 0 ;
44124 PyObject
* obj1
= 0 ;
44125 char * kwnames
[] = {
44126 (char *) "self",(char *) "path", NULL
44129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44131 if (!SWIG_IsOK(res1
)) {
44132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44134 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44136 arg2
= wxString_in_helper(obj1
);
44137 if (arg2
== NULL
) SWIG_fail
;
44141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44142 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44143 wxPyEndAllowThreads(__tstate
);
44144 if (PyErr_Occurred()) SWIG_fail
;
44147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44163 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44164 PyObject
*resultobj
= 0;
44165 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44169 PyObject
*swig_obj
[1] ;
44171 if (!args
) SWIG_fail
;
44172 swig_obj
[0] = args
;
44173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44174 if (!SWIG_IsOK(res1
)) {
44175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44177 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44180 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44181 wxPyEndAllowThreads(__tstate
);
44182 if (PyErr_Occurred()) SWIG_fail
;
44186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44197 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44199 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44200 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44201 return SWIG_Py_Void();
44204 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44205 return SWIG_Python_InitShadowInstance(args
);
44208 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44209 PyObject
*resultobj
= 0;
44210 wxWindow
*arg1
= (wxWindow
*) 0 ;
44211 int arg2
= (int) -1 ;
44212 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44213 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44214 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44215 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44216 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44217 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44218 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44219 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44220 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44221 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44222 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44223 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44224 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44225 wxDirPickerCtrl
*result
= 0 ;
44230 bool temp3
= false ;
44231 bool temp4
= false ;
44238 bool temp9
= false ;
44239 PyObject
* obj0
= 0 ;
44240 PyObject
* obj1
= 0 ;
44241 PyObject
* obj2
= 0 ;
44242 PyObject
* obj3
= 0 ;
44243 PyObject
* obj4
= 0 ;
44244 PyObject
* obj5
= 0 ;
44245 PyObject
* obj6
= 0 ;
44246 PyObject
* obj7
= 0 ;
44247 PyObject
* obj8
= 0 ;
44248 char * kwnames
[] = {
44249 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44254 if (!SWIG_IsOK(res1
)) {
44255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44257 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44260 if (!SWIG_IsOK(ecode2
)) {
44261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44263 arg2
= static_cast< int >(val2
);
44267 arg3
= wxString_in_helper(obj2
);
44268 if (arg3
== NULL
) SWIG_fail
;
44274 arg4
= wxString_in_helper(obj3
);
44275 if (arg4
== NULL
) SWIG_fail
;
44282 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44288 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44292 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44293 if (!SWIG_IsOK(ecode7
)) {
44294 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44296 arg7
= static_cast< long >(val7
);
44299 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44300 if (!SWIG_IsOK(res8
)) {
44301 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44306 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44310 arg9
= wxString_in_helper(obj8
);
44311 if (arg9
== NULL
) SWIG_fail
;
44316 if (!wxPyCheckForApp()) SWIG_fail
;
44317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44318 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
);
44319 wxPyEndAllowThreads(__tstate
);
44320 if (PyErr_Occurred()) SWIG_fail
;
44322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44353 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44354 PyObject
*resultobj
= 0;
44355 wxDirPickerCtrl
*result
= 0 ;
44357 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44359 if (!wxPyCheckForApp()) SWIG_fail
;
44360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44361 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44362 wxPyEndAllowThreads(__tstate
);
44363 if (PyErr_Occurred()) SWIG_fail
;
44365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44372 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44373 PyObject
*resultobj
= 0;
44374 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44375 wxWindow
*arg2
= (wxWindow
*) 0 ;
44376 int arg3
= (int) -1 ;
44377 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44378 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44379 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44380 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44381 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44382 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44383 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44384 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44385 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44386 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44387 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44388 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44389 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44397 bool temp4
= false ;
44398 bool temp5
= false ;
44405 bool temp10
= false ;
44406 PyObject
* obj0
= 0 ;
44407 PyObject
* obj1
= 0 ;
44408 PyObject
* obj2
= 0 ;
44409 PyObject
* obj3
= 0 ;
44410 PyObject
* obj4
= 0 ;
44411 PyObject
* obj5
= 0 ;
44412 PyObject
* obj6
= 0 ;
44413 PyObject
* obj7
= 0 ;
44414 PyObject
* obj8
= 0 ;
44415 PyObject
* obj9
= 0 ;
44416 char * kwnames
[] = {
44417 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44422 if (!SWIG_IsOK(res1
)) {
44423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44425 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44427 if (!SWIG_IsOK(res2
)) {
44428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44430 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44432 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44433 if (!SWIG_IsOK(ecode3
)) {
44434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44436 arg3
= static_cast< int >(val3
);
44440 arg4
= wxString_in_helper(obj3
);
44441 if (arg4
== NULL
) SWIG_fail
;
44447 arg5
= wxString_in_helper(obj4
);
44448 if (arg5
== NULL
) SWIG_fail
;
44455 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44461 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44465 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44466 if (!SWIG_IsOK(ecode8
)) {
44467 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44469 arg8
= static_cast< long >(val8
);
44472 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44473 if (!SWIG_IsOK(res9
)) {
44474 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44479 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44483 arg10
= wxString_in_helper(obj9
);
44484 if (arg10
== NULL
) SWIG_fail
;
44489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44490 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
);
44491 wxPyEndAllowThreads(__tstate
);
44492 if (PyErr_Occurred()) SWIG_fail
;
44495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44527 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44528 PyObject
*resultobj
= 0;
44529 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44533 PyObject
*swig_obj
[1] ;
44535 if (!args
) SWIG_fail
;
44536 swig_obj
[0] = args
;
44537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44538 if (!SWIG_IsOK(res1
)) {
44539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44541 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44544 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44545 wxPyEndAllowThreads(__tstate
);
44546 if (PyErr_Occurred()) SWIG_fail
;
44550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44561 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44562 PyObject
*resultobj
= 0;
44563 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44564 wxString
*arg2
= 0 ;
44567 bool temp2
= false ;
44568 PyObject
* obj0
= 0 ;
44569 PyObject
* obj1
= 0 ;
44570 char * kwnames
[] = {
44571 (char *) "self",(char *) "str", NULL
44574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44576 if (!SWIG_IsOK(res1
)) {
44577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44579 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44581 arg2
= wxString_in_helper(obj1
);
44582 if (arg2
== NULL
) SWIG_fail
;
44586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44587 (arg1
)->SetPath((wxString
const &)*arg2
);
44588 wxPyEndAllowThreads(__tstate
);
44589 if (PyErr_Occurred()) SWIG_fail
;
44591 resultobj
= SWIG_Py_Void();
44606 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44607 PyObject
*resultobj
= 0;
44608 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44609 wxString
*arg2
= 0 ;
44613 bool temp2
= false ;
44614 PyObject
* obj0
= 0 ;
44615 PyObject
* obj1
= 0 ;
44616 char * kwnames
[] = {
44617 (char *) "self",(char *) "path", NULL
44620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44622 if (!SWIG_IsOK(res1
)) {
44623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44625 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44627 arg2
= wxString_in_helper(obj1
);
44628 if (arg2
== NULL
) SWIG_fail
;
44632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44633 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44634 wxPyEndAllowThreads(__tstate
);
44635 if (PyErr_Occurred()) SWIG_fail
;
44638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44654 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44655 PyObject
*resultobj
= 0;
44656 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44660 PyObject
*swig_obj
[1] ;
44662 if (!args
) SWIG_fail
;
44663 swig_obj
[0] = args
;
44664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44665 if (!SWIG_IsOK(res1
)) {
44666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44668 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44671 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44672 wxPyEndAllowThreads(__tstate
);
44673 if (PyErr_Occurred()) SWIG_fail
;
44677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44688 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44691 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44692 return SWIG_Py_Void();
44695 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44696 return SWIG_Python_InitShadowInstance(args
);
44699 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44700 PyObject
*resultobj
= 0;
44702 wxObject
*arg2
= (wxObject
*) 0 ;
44704 wxString
*arg4
= 0 ;
44705 wxFileDirPickerEvent
*result
= 0 ;
44712 bool temp4
= false ;
44713 PyObject
* obj0
= 0 ;
44714 PyObject
* obj1
= 0 ;
44715 PyObject
* obj2
= 0 ;
44716 PyObject
* obj3
= 0 ;
44717 char * kwnames
[] = {
44718 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44722 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44723 if (!SWIG_IsOK(ecode1
)) {
44724 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44726 arg1
= static_cast< wxEventType
>(val1
);
44727 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44728 if (!SWIG_IsOK(res2
)) {
44729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44731 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44733 if (!SWIG_IsOK(ecode3
)) {
44734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44736 arg3
= static_cast< int >(val3
);
44738 arg4
= wxString_in_helper(obj3
);
44739 if (arg4
== NULL
) SWIG_fail
;
44743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44744 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44745 wxPyEndAllowThreads(__tstate
);
44746 if (PyErr_Occurred()) SWIG_fail
;
44748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44763 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44764 PyObject
*resultobj
= 0;
44765 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44769 PyObject
*swig_obj
[1] ;
44771 if (!args
) SWIG_fail
;
44772 swig_obj
[0] = args
;
44773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44774 if (!SWIG_IsOK(res1
)) {
44775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44777 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44780 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44781 wxPyEndAllowThreads(__tstate
);
44782 if (PyErr_Occurred()) SWIG_fail
;
44786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44797 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44798 PyObject
*resultobj
= 0;
44799 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44800 wxString
*arg2
= 0 ;
44803 bool temp2
= false ;
44804 PyObject
* obj0
= 0 ;
44805 PyObject
* obj1
= 0 ;
44806 char * kwnames
[] = {
44807 (char *) "self",(char *) "p", NULL
44810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44812 if (!SWIG_IsOK(res1
)) {
44813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44815 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44817 arg2
= wxString_in_helper(obj1
);
44818 if (arg2
== NULL
) SWIG_fail
;
44822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44823 (arg1
)->SetPath((wxString
const &)*arg2
);
44824 wxPyEndAllowThreads(__tstate
);
44825 if (PyErr_Occurred()) SWIG_fail
;
44827 resultobj
= SWIG_Py_Void();
44842 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44844 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44845 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44846 return SWIG_Py_Void();
44849 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44850 return SWIG_Python_InitShadowInstance(args
);
44853 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44854 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44859 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44860 PyObject
*pyobj
= 0;
44864 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44866 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44873 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44874 PyObject
*resultobj
= 0;
44875 wxWindow
*arg1
= (wxWindow
*) 0 ;
44876 int arg2
= (int) -1 ;
44877 wxFont
const &arg3_defvalue
= wxNullFont
;
44878 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44879 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44880 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44881 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44882 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44883 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44884 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44885 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44886 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44887 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44888 wxFontPickerCtrl
*result
= 0 ;
44901 bool temp8
= false ;
44902 PyObject
* obj0
= 0 ;
44903 PyObject
* obj1
= 0 ;
44904 PyObject
* obj2
= 0 ;
44905 PyObject
* obj3
= 0 ;
44906 PyObject
* obj4
= 0 ;
44907 PyObject
* obj5
= 0 ;
44908 PyObject
* obj6
= 0 ;
44909 PyObject
* obj7
= 0 ;
44910 char * kwnames
[] = {
44911 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44916 if (!SWIG_IsOK(res1
)) {
44917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44919 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44922 if (!SWIG_IsOK(ecode2
)) {
44923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44925 arg2
= static_cast< int >(val2
);
44928 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44929 if (!SWIG_IsOK(res3
)) {
44930 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44935 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44940 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44946 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44950 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44951 if (!SWIG_IsOK(ecode6
)) {
44952 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44954 arg6
= static_cast< long >(val6
);
44957 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44958 if (!SWIG_IsOK(res7
)) {
44959 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44964 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44968 arg8
= wxString_in_helper(obj7
);
44969 if (arg8
== NULL
) SWIG_fail
;
44974 if (!wxPyCheckForApp()) SWIG_fail
;
44975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44976 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44977 wxPyEndAllowThreads(__tstate
);
44978 if (PyErr_Occurred()) SWIG_fail
;
44980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44995 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44996 PyObject
*resultobj
= 0;
44997 wxFontPickerCtrl
*result
= 0 ;
44999 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45001 if (!wxPyCheckForApp()) SWIG_fail
;
45002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45003 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45004 wxPyEndAllowThreads(__tstate
);
45005 if (PyErr_Occurred()) SWIG_fail
;
45007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45014 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45015 PyObject
*resultobj
= 0;
45016 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45017 wxWindow
*arg2
= (wxWindow
*) 0 ;
45018 int arg3
= (int) -1 ;
45019 wxFont
const &arg4_defvalue
= wxNullFont
;
45020 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45021 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45022 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45023 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45024 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45025 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45026 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45027 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45028 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45029 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45045 bool temp9
= false ;
45046 PyObject
* obj0
= 0 ;
45047 PyObject
* obj1
= 0 ;
45048 PyObject
* obj2
= 0 ;
45049 PyObject
* obj3
= 0 ;
45050 PyObject
* obj4
= 0 ;
45051 PyObject
* obj5
= 0 ;
45052 PyObject
* obj6
= 0 ;
45053 PyObject
* obj7
= 0 ;
45054 PyObject
* obj8
= 0 ;
45055 char * kwnames
[] = {
45056 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45061 if (!SWIG_IsOK(res1
)) {
45062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45064 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45065 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45066 if (!SWIG_IsOK(res2
)) {
45067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45069 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45072 if (!SWIG_IsOK(ecode3
)) {
45073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45075 arg3
= static_cast< int >(val3
);
45078 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45079 if (!SWIG_IsOK(res4
)) {
45080 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45085 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45090 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45096 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45100 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45101 if (!SWIG_IsOK(ecode7
)) {
45102 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45104 arg7
= static_cast< long >(val7
);
45107 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45108 if (!SWIG_IsOK(res8
)) {
45109 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45114 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45118 arg9
= wxString_in_helper(obj8
);
45119 if (arg9
== NULL
) SWIG_fail
;
45124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45125 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45126 wxPyEndAllowThreads(__tstate
);
45127 if (PyErr_Occurred()) SWIG_fail
;
45130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45146 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45147 PyObject
*resultobj
= 0;
45148 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45152 PyObject
*swig_obj
[1] ;
45154 if (!args
) SWIG_fail
;
45155 swig_obj
[0] = args
;
45156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45157 if (!SWIG_IsOK(res1
)) {
45158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45160 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45163 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45164 wxPyEndAllowThreads(__tstate
);
45165 if (PyErr_Occurred()) SWIG_fail
;
45167 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45174 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45175 PyObject
*resultobj
= 0;
45176 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45182 PyObject
* obj0
= 0 ;
45183 PyObject
* obj1
= 0 ;
45184 char * kwnames
[] = {
45185 (char *) "self",(char *) "f", NULL
45188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45190 if (!SWIG_IsOK(res1
)) {
45191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45193 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45194 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45195 if (!SWIG_IsOK(res2
)) {
45196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45201 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45204 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45205 wxPyEndAllowThreads(__tstate
);
45206 if (PyErr_Occurred()) SWIG_fail
;
45208 resultobj
= SWIG_Py_Void();
45215 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45216 PyObject
*resultobj
= 0;
45217 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45218 unsigned int arg2
;
45221 unsigned int val2
;
45223 PyObject
* obj0
= 0 ;
45224 PyObject
* obj1
= 0 ;
45225 char * kwnames
[] = {
45226 (char *) "self",(char *) "max", NULL
45229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45231 if (!SWIG_IsOK(res1
)) {
45232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45234 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45235 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45236 if (!SWIG_IsOK(ecode2
)) {
45237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45239 arg2
= static_cast< unsigned int >(val2
);
45241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45242 (arg1
)->SetMaxPointSize(arg2
);
45243 wxPyEndAllowThreads(__tstate
);
45244 if (PyErr_Occurred()) SWIG_fail
;
45246 resultobj
= SWIG_Py_Void();
45253 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45254 PyObject
*resultobj
= 0;
45255 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45256 unsigned int result
;
45259 PyObject
*swig_obj
[1] ;
45261 if (!args
) SWIG_fail
;
45262 swig_obj
[0] = args
;
45263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45264 if (!SWIG_IsOK(res1
)) {
45265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45267 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45270 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45271 wxPyEndAllowThreads(__tstate
);
45272 if (PyErr_Occurred()) SWIG_fail
;
45274 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45281 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45284 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45285 return SWIG_Py_Void();
45288 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45289 return SWIG_Python_InitShadowInstance(args
);
45292 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45293 PyObject
*resultobj
= 0;
45294 wxObject
*arg1
= (wxObject
*) 0 ;
45297 wxFontPickerEvent
*result
= 0 ;
45304 PyObject
* obj0
= 0 ;
45305 PyObject
* obj1
= 0 ;
45306 PyObject
* obj2
= 0 ;
45307 char * kwnames
[] = {
45308 (char *) "generator",(char *) "id",(char *) "f", NULL
45311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45313 if (!SWIG_IsOK(res1
)) {
45314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45316 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45318 if (!SWIG_IsOK(ecode2
)) {
45319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45321 arg2
= static_cast< int >(val2
);
45322 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45323 if (!SWIG_IsOK(res3
)) {
45324 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45329 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45332 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45333 wxPyEndAllowThreads(__tstate
);
45334 if (PyErr_Occurred()) SWIG_fail
;
45336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45343 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45344 PyObject
*resultobj
= 0;
45345 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45349 PyObject
*swig_obj
[1] ;
45351 if (!args
) SWIG_fail
;
45352 swig_obj
[0] = args
;
45353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45354 if (!SWIG_IsOK(res1
)) {
45355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45357 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45360 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45361 wxPyEndAllowThreads(__tstate
);
45362 if (PyErr_Occurred()) SWIG_fail
;
45364 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45371 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45372 PyObject
*resultobj
= 0;
45373 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45379 PyObject
* obj0
= 0 ;
45380 PyObject
* obj1
= 0 ;
45381 char * kwnames
[] = {
45382 (char *) "self",(char *) "c", NULL
45385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45387 if (!SWIG_IsOK(res1
)) {
45388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45390 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45391 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45392 if (!SWIG_IsOK(res2
)) {
45393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45398 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45401 (arg1
)->SetFont((wxFont
const &)*arg2
);
45402 wxPyEndAllowThreads(__tstate
);
45403 if (PyErr_Occurred()) SWIG_fail
;
45405 resultobj
= SWIG_Py_Void();
45412 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45415 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45416 return SWIG_Py_Void();
45419 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45420 return SWIG_Python_InitShadowInstance(args
);
45423 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45424 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45429 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45430 PyObject
*pyobj
= 0;
45434 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45436 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45443 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45444 PyObject
*resultobj
= 0;
45445 wxWindow
*arg1
= (wxWindow
*) 0 ;
45446 int arg2
= (int) -1 ;
45447 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45448 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45449 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45450 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45451 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45452 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45453 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45454 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45455 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45456 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45457 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45458 wxCollapsiblePane
*result
= 0 ;
45463 bool temp3
= false ;
45470 bool temp8
= false ;
45471 PyObject
* obj0
= 0 ;
45472 PyObject
* obj1
= 0 ;
45473 PyObject
* obj2
= 0 ;
45474 PyObject
* obj3
= 0 ;
45475 PyObject
* obj4
= 0 ;
45476 PyObject
* obj5
= 0 ;
45477 PyObject
* obj6
= 0 ;
45478 PyObject
* obj7
= 0 ;
45479 char * kwnames
[] = {
45480 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45485 if (!SWIG_IsOK(res1
)) {
45486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45488 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45491 if (!SWIG_IsOK(ecode2
)) {
45492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45494 arg2
= static_cast< int >(val2
);
45498 arg3
= wxString_in_helper(obj2
);
45499 if (arg3
== NULL
) SWIG_fail
;
45506 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45512 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45516 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45517 if (!SWIG_IsOK(ecode6
)) {
45518 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45520 arg6
= static_cast< long >(val6
);
45523 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45524 if (!SWIG_IsOK(res7
)) {
45525 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45530 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45534 arg8
= wxString_in_helper(obj7
);
45535 if (arg8
== NULL
) SWIG_fail
;
45540 if (!wxPyCheckForApp()) SWIG_fail
;
45541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45542 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45543 wxPyEndAllowThreads(__tstate
);
45544 if (PyErr_Occurred()) SWIG_fail
;
45546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45569 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45570 PyObject
*resultobj
= 0;
45571 wxCollapsiblePane
*result
= 0 ;
45573 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45575 if (!wxPyCheckForApp()) SWIG_fail
;
45576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45577 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45578 wxPyEndAllowThreads(__tstate
);
45579 if (PyErr_Occurred()) SWIG_fail
;
45581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45588 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45589 PyObject
*resultobj
= 0;
45590 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45591 wxWindow
*arg2
= (wxWindow
*) 0 ;
45592 int arg3
= (int) -1 ;
45593 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45594 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45595 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45596 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45597 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45598 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45599 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45600 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45601 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45602 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45603 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45611 bool temp4
= false ;
45618 bool temp9
= false ;
45619 PyObject
* obj0
= 0 ;
45620 PyObject
* obj1
= 0 ;
45621 PyObject
* obj2
= 0 ;
45622 PyObject
* obj3
= 0 ;
45623 PyObject
* obj4
= 0 ;
45624 PyObject
* obj5
= 0 ;
45625 PyObject
* obj6
= 0 ;
45626 PyObject
* obj7
= 0 ;
45627 PyObject
* obj8
= 0 ;
45628 char * kwnames
[] = {
45629 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45634 if (!SWIG_IsOK(res1
)) {
45635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45637 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45638 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45639 if (!SWIG_IsOK(res2
)) {
45640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45642 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45645 if (!SWIG_IsOK(ecode3
)) {
45646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45648 arg3
= static_cast< int >(val3
);
45652 arg4
= wxString_in_helper(obj3
);
45653 if (arg4
== NULL
) SWIG_fail
;
45660 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45666 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45670 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45671 if (!SWIG_IsOK(ecode7
)) {
45672 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45674 arg7
= static_cast< long >(val7
);
45677 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45678 if (!SWIG_IsOK(res8
)) {
45679 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45684 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45688 arg9
= wxString_in_helper(obj8
);
45689 if (arg9
== NULL
) SWIG_fail
;
45694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45695 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45696 wxPyEndAllowThreads(__tstate
);
45697 if (PyErr_Occurred()) SWIG_fail
;
45700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45724 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45725 PyObject
*resultobj
= 0;
45726 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45727 bool arg2
= (bool) true ;
45732 PyObject
* obj0
= 0 ;
45733 PyObject
* obj1
= 0 ;
45734 char * kwnames
[] = {
45735 (char *) "self",(char *) "collapse", NULL
45738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45740 if (!SWIG_IsOK(res1
)) {
45741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45743 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45745 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45746 if (!SWIG_IsOK(ecode2
)) {
45747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45749 arg2
= static_cast< bool >(val2
);
45752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45753 (arg1
)->Collapse(arg2
);
45754 wxPyEndAllowThreads(__tstate
);
45755 if (PyErr_Occurred()) SWIG_fail
;
45757 resultobj
= SWIG_Py_Void();
45764 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45765 PyObject
*resultobj
= 0;
45766 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45769 PyObject
*swig_obj
[1] ;
45771 if (!args
) SWIG_fail
;
45772 swig_obj
[0] = args
;
45773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45774 if (!SWIG_IsOK(res1
)) {
45775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45777 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45781 wxPyEndAllowThreads(__tstate
);
45782 if (PyErr_Occurred()) SWIG_fail
;
45784 resultobj
= SWIG_Py_Void();
45791 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45792 PyObject
*resultobj
= 0;
45793 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45797 PyObject
*swig_obj
[1] ;
45799 if (!args
) SWIG_fail
;
45800 swig_obj
[0] = args
;
45801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45802 if (!SWIG_IsOK(res1
)) {
45803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45805 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45808 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45809 wxPyEndAllowThreads(__tstate
);
45810 if (PyErr_Occurred()) SWIG_fail
;
45813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45821 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45822 PyObject
*resultobj
= 0;
45823 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45827 PyObject
*swig_obj
[1] ;
45829 if (!args
) SWIG_fail
;
45830 swig_obj
[0] = args
;
45831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45832 if (!SWIG_IsOK(res1
)) {
45833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45835 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45838 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
45839 wxPyEndAllowThreads(__tstate
);
45840 if (PyErr_Occurred()) SWIG_fail
;
45843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45851 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45852 PyObject
*resultobj
= 0;
45853 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45854 wxWindow
*result
= 0 ;
45857 PyObject
*swig_obj
[1] ;
45859 if (!args
) SWIG_fail
;
45860 swig_obj
[0] = args
;
45861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45862 if (!SWIG_IsOK(res1
)) {
45863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45865 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45868 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
45869 wxPyEndAllowThreads(__tstate
);
45870 if (PyErr_Occurred()) SWIG_fail
;
45873 resultobj
= wxPyMake_wxObject(result
, 0);
45881 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45884 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
45885 return SWIG_Py_Void();
45888 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45889 return SWIG_Python_InitShadowInstance(args
);
45892 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45893 PyObject
*resultobj
= 0;
45894 wxObject
*arg1
= (wxObject
*) 0 ;
45897 wxCollapsiblePaneEvent
*result
= 0 ;
45904 PyObject
* obj0
= 0 ;
45905 PyObject
* obj1
= 0 ;
45906 PyObject
* obj2
= 0 ;
45907 char * kwnames
[] = {
45908 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45913 if (!SWIG_IsOK(res1
)) {
45914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45916 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45918 if (!SWIG_IsOK(ecode2
)) {
45919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45921 arg2
= static_cast< int >(val2
);
45922 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45923 if (!SWIG_IsOK(ecode3
)) {
45924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45926 arg3
= static_cast< bool >(val3
);
45928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45929 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
45930 wxPyEndAllowThreads(__tstate
);
45931 if (PyErr_Occurred()) SWIG_fail
;
45933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
45940 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45941 PyObject
*resultobj
= 0;
45942 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45946 PyObject
*swig_obj
[1] ;
45948 if (!args
) SWIG_fail
;
45949 swig_obj
[0] = args
;
45950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45951 if (!SWIG_IsOK(res1
)) {
45952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
45954 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45957 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
45958 wxPyEndAllowThreads(__tstate
);
45959 if (PyErr_Occurred()) SWIG_fail
;
45962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45970 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45971 PyObject
*resultobj
= 0;
45972 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45978 PyObject
* obj0
= 0 ;
45979 PyObject
* obj1
= 0 ;
45980 char * kwnames
[] = {
45981 (char *) "self",(char *) "c", NULL
45984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45986 if (!SWIG_IsOK(res1
)) {
45987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
45989 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45990 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45991 if (!SWIG_IsOK(ecode2
)) {
45992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
45994 arg2
= static_cast< bool >(val2
);
45996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45997 (arg1
)->SetCollapsed(arg2
);
45998 wxPyEndAllowThreads(__tstate
);
45999 if (PyErr_Occurred()) SWIG_fail
;
46001 resultobj
= SWIG_Py_Void();
46008 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46010 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46011 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46012 return SWIG_Py_Void();
46015 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46016 return SWIG_Python_InitShadowInstance(args
);
46019 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46020 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46025 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46026 PyObject
*pyobj
= 0;
46030 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46032 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46039 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46040 PyObject
*resultobj
= 0;
46041 wxWindow
*arg1
= (wxWindow
*) 0 ;
46042 int arg2
= (int) -1 ;
46043 wxString
const &arg3_defvalue
= wxEmptyString
;
46044 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46049 long arg6
= (long) 0 ;
46050 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46051 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46052 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46053 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46054 wxSearchCtrl
*result
= 0 ;
46059 bool temp3
= false ;
46066 bool temp8
= false ;
46067 PyObject
* obj0
= 0 ;
46068 PyObject
* obj1
= 0 ;
46069 PyObject
* obj2
= 0 ;
46070 PyObject
* obj3
= 0 ;
46071 PyObject
* obj4
= 0 ;
46072 PyObject
* obj5
= 0 ;
46073 PyObject
* obj6
= 0 ;
46074 PyObject
* obj7
= 0 ;
46075 char * kwnames
[] = {
46076 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46081 if (!SWIG_IsOK(res1
)) {
46082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46084 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46087 if (!SWIG_IsOK(ecode2
)) {
46088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46090 arg2
= static_cast< int >(val2
);
46094 arg3
= wxString_in_helper(obj2
);
46095 if (arg3
== NULL
) SWIG_fail
;
46102 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46108 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46112 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46113 if (!SWIG_IsOK(ecode6
)) {
46114 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46116 arg6
= static_cast< long >(val6
);
46119 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46120 if (!SWIG_IsOK(res7
)) {
46121 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46126 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46130 arg8
= wxString_in_helper(obj7
);
46131 if (arg8
== NULL
) SWIG_fail
;
46136 if (!wxPyCheckForApp()) SWIG_fail
;
46137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46138 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46139 wxPyEndAllowThreads(__tstate
);
46140 if (PyErr_Occurred()) SWIG_fail
;
46142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46165 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46166 PyObject
*resultobj
= 0;
46167 wxSearchCtrl
*result
= 0 ;
46169 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46171 if (!wxPyCheckForApp()) SWIG_fail
;
46172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46173 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46174 wxPyEndAllowThreads(__tstate
);
46175 if (PyErr_Occurred()) SWIG_fail
;
46177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46184 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46185 PyObject
*resultobj
= 0;
46186 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46187 wxWindow
*arg2
= (wxWindow
*) 0 ;
46188 int arg3
= (int) -1 ;
46189 wxString
const &arg4_defvalue
= wxEmptyString
;
46190 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46191 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46192 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46193 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46194 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46195 long arg7
= (long) 0 ;
46196 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46197 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46198 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46199 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46207 bool temp4
= false ;
46214 bool temp9
= false ;
46215 PyObject
* obj0
= 0 ;
46216 PyObject
* obj1
= 0 ;
46217 PyObject
* obj2
= 0 ;
46218 PyObject
* obj3
= 0 ;
46219 PyObject
* obj4
= 0 ;
46220 PyObject
* obj5
= 0 ;
46221 PyObject
* obj6
= 0 ;
46222 PyObject
* obj7
= 0 ;
46223 PyObject
* obj8
= 0 ;
46224 char * kwnames
[] = {
46225 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46230 if (!SWIG_IsOK(res1
)) {
46231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46233 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46234 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46235 if (!SWIG_IsOK(res2
)) {
46236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46238 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46241 if (!SWIG_IsOK(ecode3
)) {
46242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46244 arg3
= static_cast< int >(val3
);
46248 arg4
= wxString_in_helper(obj3
);
46249 if (arg4
== NULL
) SWIG_fail
;
46256 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46262 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46266 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46267 if (!SWIG_IsOK(ecode7
)) {
46268 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46270 arg7
= static_cast< long >(val7
);
46273 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46274 if (!SWIG_IsOK(res8
)) {
46275 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46280 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46284 arg9
= wxString_in_helper(obj8
);
46285 if (arg9
== NULL
) SWIG_fail
;
46290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46291 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46292 wxPyEndAllowThreads(__tstate
);
46293 if (PyErr_Occurred()) SWIG_fail
;
46296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46320 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46321 PyObject
*resultobj
= 0;
46322 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46323 wxMenu
*arg2
= (wxMenu
*) 0 ;
46328 PyObject
* obj0
= 0 ;
46329 PyObject
* obj1
= 0 ;
46330 char * kwnames
[] = {
46331 (char *) "self",(char *) "menu", NULL
46334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46336 if (!SWIG_IsOK(res1
)) {
46337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46339 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46340 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46341 if (!SWIG_IsOK(res2
)) {
46342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46344 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46347 (arg1
)->SetMenu(arg2
);
46348 wxPyEndAllowThreads(__tstate
);
46349 if (PyErr_Occurred()) SWIG_fail
;
46351 resultobj
= SWIG_Py_Void();
46358 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46359 PyObject
*resultobj
= 0;
46360 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46361 wxMenu
*result
= 0 ;
46364 PyObject
*swig_obj
[1] ;
46366 if (!args
) SWIG_fail
;
46367 swig_obj
[0] = args
;
46368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46369 if (!SWIG_IsOK(res1
)) {
46370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46372 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46375 result
= (wxMenu
*)(arg1
)->GetMenu();
46376 wxPyEndAllowThreads(__tstate
);
46377 if (PyErr_Occurred()) SWIG_fail
;
46380 resultobj
= wxPyMake_wxObject(result
, 0);
46388 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46389 PyObject
*resultobj
= 0;
46390 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46396 PyObject
* obj0
= 0 ;
46397 PyObject
* obj1
= 0 ;
46398 char * kwnames
[] = {
46399 (char *) "self",(char *) "show", NULL
46402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchButtonVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46404 if (!SWIG_IsOK(res1
)) {
46405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46407 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46408 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46409 if (!SWIG_IsOK(ecode2
)) {
46410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_SetSearchButtonVisible" "', expected argument " "2"" of type '" "bool""'");
46412 arg2
= static_cast< bool >(val2
);
46414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46415 (arg1
)->SetSearchButtonVisible(arg2
);
46416 wxPyEndAllowThreads(__tstate
);
46417 if (PyErr_Occurred()) SWIG_fail
;
46419 resultobj
= SWIG_Py_Void();
46426 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46427 PyObject
*resultobj
= 0;
46428 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46432 PyObject
*swig_obj
[1] ;
46434 if (!args
) SWIG_fail
;
46435 swig_obj
[0] = args
;
46436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46437 if (!SWIG_IsOK(res1
)) {
46438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46440 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46443 result
= (bool)((wxSearchCtrl
const *)arg1
)->GetSearchButtonVisible();
46444 wxPyEndAllowThreads(__tstate
);
46445 if (PyErr_Occurred()) SWIG_fail
;
46448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46456 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46457 PyObject
*resultobj
= 0;
46458 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46464 PyObject
* obj0
= 0 ;
46465 PyObject
* obj1
= 0 ;
46466 char * kwnames
[] = {
46467 (char *) "self",(char *) "show", NULL
46470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelButtonVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46472 if (!SWIG_IsOK(res1
)) {
46473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46475 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46476 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46477 if (!SWIG_IsOK(ecode2
)) {
46478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_SetCancelButtonVisible" "', expected argument " "2"" of type '" "bool""'");
46480 arg2
= static_cast< bool >(val2
);
46482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46483 (arg1
)->SetCancelButtonVisible(arg2
);
46484 wxPyEndAllowThreads(__tstate
);
46485 if (PyErr_Occurred()) SWIG_fail
;
46487 resultobj
= SWIG_Py_Void();
46494 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46495 PyObject
*resultobj
= 0;
46496 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46500 PyObject
*swig_obj
[1] ;
46502 if (!args
) SWIG_fail
;
46503 swig_obj
[0] = args
;
46504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46505 if (!SWIG_IsOK(res1
)) {
46506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46508 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46511 result
= (bool)((wxSearchCtrl
const *)arg1
)->GetCancelButtonVisible();
46512 wxPyEndAllowThreads(__tstate
);
46513 if (PyErr_Occurred()) SWIG_fail
;
46516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46524 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46525 PyObject
*resultobj
= 0;
46526 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46527 wxBitmap
*arg2
= 0 ;
46532 PyObject
* obj0
= 0 ;
46533 PyObject
* obj1
= 0 ;
46534 char * kwnames
[] = {
46535 (char *) "self",(char *) "bitmap", NULL
46538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46540 if (!SWIG_IsOK(res1
)) {
46541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46543 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46544 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46545 if (!SWIG_IsOK(res2
)) {
46546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46551 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46554 (arg1
)->SetSearchBitmap((wxBitmap
const &)*arg2
);
46555 wxPyEndAllowThreads(__tstate
);
46556 if (PyErr_Occurred()) SWIG_fail
;
46558 resultobj
= SWIG_Py_Void();
46565 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46566 PyObject
*resultobj
= 0;
46567 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46568 wxBitmap
*arg2
= 0 ;
46573 PyObject
* obj0
= 0 ;
46574 PyObject
* obj1
= 0 ;
46575 char * kwnames
[] = {
46576 (char *) "self",(char *) "bitmap", NULL
46579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46581 if (!SWIG_IsOK(res1
)) {
46582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46584 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46585 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46586 if (!SWIG_IsOK(res2
)) {
46587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46592 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46595 (arg1
)->SetSearchMenuBitmap((wxBitmap
const &)*arg2
);
46596 wxPyEndAllowThreads(__tstate
);
46597 if (PyErr_Occurred()) SWIG_fail
;
46599 resultobj
= SWIG_Py_Void();
46606 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46607 PyObject
*resultobj
= 0;
46608 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46609 wxBitmap
*arg2
= 0 ;
46614 PyObject
* obj0
= 0 ;
46615 PyObject
* obj1
= 0 ;
46616 char * kwnames
[] = {
46617 (char *) "self",(char *) "bitmap", NULL
46620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46622 if (!SWIG_IsOK(res1
)) {
46623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46625 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46627 if (!SWIG_IsOK(res2
)) {
46628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46633 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46636 (arg1
)->SetCancelBitmap((wxBitmap
const &)*arg2
);
46637 wxPyEndAllowThreads(__tstate
);
46638 if (PyErr_Occurred()) SWIG_fail
;
46640 resultobj
= SWIG_Py_Void();
46647 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46649 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46650 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
46651 return SWIG_Py_Void();
46654 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46655 return SWIG_Python_InitShadowInstance(args
);
46658 static PyMethodDef SwigMethods
[] = {
46659 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46661 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46663 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46664 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46666 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46667 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46669 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46671 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46672 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46673 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46674 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46675 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46676 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46677 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46678 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46679 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46680 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46681 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46682 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46683 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46684 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46685 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46686 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46687 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46688 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46689 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46690 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46691 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46692 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46693 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46694 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46695 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46696 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46697 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46698 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46699 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46700 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46701 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46702 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46703 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46704 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46705 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46707 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46709 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46710 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46711 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46712 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46713 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46715 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46716 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46717 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46718 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
46719 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46720 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46723 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46724 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46725 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46726 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46727 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46728 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46729 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46730 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46731 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46732 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46733 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46734 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46735 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46736 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46737 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46738 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46739 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46740 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46741 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46742 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46743 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46744 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46745 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46746 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46747 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46748 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46749 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46750 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46751 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46752 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46753 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46754 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46755 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46756 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46757 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46758 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46759 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46760 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46761 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46762 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46763 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46764 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46765 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46766 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46767 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46768 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46769 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46770 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46771 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46772 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46773 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46774 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46775 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46776 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46777 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46778 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46779 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46780 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46781 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46782 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46783 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46784 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46785 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46786 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46787 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46788 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46789 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46790 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46791 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46792 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46793 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46794 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
46795 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46796 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46797 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46798 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46799 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
46800 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46801 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46802 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46803 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46804 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46805 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
46806 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
46807 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46808 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
46809 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46810 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46811 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46812 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
46813 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
46814 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
46815 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46816 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
46817 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
46818 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46819 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46820 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46821 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46822 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46823 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46824 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46825 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46826 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46827 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
46828 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
46829 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
46830 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
46831 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
46832 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
46833 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
46834 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46835 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
46836 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
46837 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
46838 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
46839 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
46840 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
46841 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
46842 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
46843 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
46844 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
46845 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46846 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
46847 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
46848 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46849 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
46850 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46851 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
46852 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46853 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
46854 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46855 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46856 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46857 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46858 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
46859 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
46860 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
46861 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
46862 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
46863 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
46864 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
46865 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
46866 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46867 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46868 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46869 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46870 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
46871 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
46872 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46873 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46874 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46875 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46876 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46877 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46878 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46879 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46880 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
46881 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46882 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46883 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46884 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46886 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
46887 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
46888 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
46889 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
46890 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
46891 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
46892 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
46893 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
46894 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
46895 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
46896 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46897 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
46898 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
46899 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
46900 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46901 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
46902 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46903 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46904 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
46905 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46906 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46907 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
46909 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
46910 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46911 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
46912 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
46913 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
46914 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
46915 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
46916 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46917 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
46918 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46919 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
46920 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
46921 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
46922 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
46923 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
46924 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46925 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
46927 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
46928 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46929 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
46930 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46931 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
46932 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
46933 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
46934 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46935 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46936 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46937 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46938 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
46939 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46940 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
46941 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
46942 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
46944 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
46946 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46947 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
46950 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
46951 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46952 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46953 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
46954 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
46955 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46956 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
46957 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46958 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
46959 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
46960 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46961 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
46962 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46963 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
46965 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
46966 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46967 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
46968 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46971 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46972 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46973 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46974 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46975 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
46976 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
46977 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46978 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46979 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46980 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46981 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46982 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46983 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
46984 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
46985 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46986 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
46987 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46988 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
46989 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46990 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46991 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
46992 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
46993 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
46995 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46996 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
46997 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46998 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46999 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47000 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47001 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47002 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47003 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47004 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47006 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47007 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47008 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47009 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47010 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47011 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47012 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47013 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47014 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47015 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47016 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47017 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47018 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47019 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47020 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47022 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47024 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47025 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47026 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47027 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47028 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47029 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47031 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47032 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47033 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47034 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47036 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47037 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47039 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47041 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47042 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47043 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47044 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47045 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47046 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47047 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47048 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47049 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47050 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47051 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47052 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47053 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47054 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47055 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47056 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47057 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47058 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47059 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47060 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47061 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47062 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47063 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47064 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47065 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47066 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47067 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47068 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47069 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47071 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47072 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47074 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47075 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47076 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47077 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47078 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47079 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47080 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47081 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47082 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47083 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47084 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47085 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47086 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47087 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47088 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47089 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47090 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47091 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47092 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47093 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47094 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47095 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47096 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47097 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47098 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47099 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47100 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47101 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47102 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47103 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47104 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47105 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47106 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47107 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47108 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47109 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47110 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47111 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47112 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47113 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47114 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47115 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47116 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47117 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47118 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47119 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47120 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47121 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47122 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47123 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47124 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47125 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47126 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47127 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47128 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47129 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47130 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47131 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47132 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47133 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47134 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47135 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47136 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47137 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47138 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47139 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47140 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47141 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47142 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47144 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47145 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47146 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47147 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47148 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47150 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47151 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47152 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47153 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47155 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47158 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47159 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47160 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47161 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47162 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47163 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47164 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47165 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47166 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47167 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47168 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47169 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47170 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47172 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47173 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47174 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47175 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47176 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47177 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47179 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47180 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47182 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47183 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47184 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47185 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47186 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47187 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47188 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47189 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47190 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47191 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47192 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47193 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47194 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47195 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47196 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47197 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47198 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47199 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47200 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47201 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47203 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47204 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47205 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47206 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47207 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47208 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47209 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47210 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47211 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47212 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47213 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47214 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47215 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47216 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47217 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47218 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47219 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47220 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47221 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47222 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47223 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47224 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47225 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47226 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47227 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47230 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47231 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47232 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47233 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47235 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47236 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47238 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47239 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47240 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47241 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47242 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47243 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47244 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47245 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47246 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47247 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47248 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47249 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47250 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47251 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47252 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47253 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47254 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47255 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47256 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47257 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47258 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47259 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47260 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47261 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47262 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47263 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47264 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47265 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47266 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47267 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47268 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47269 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47270 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47271 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47272 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47273 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47274 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47275 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47276 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47277 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47278 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47279 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47280 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47281 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47282 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47283 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47284 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47285 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47286 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47287 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47288 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47289 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47290 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47291 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47292 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47293 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47294 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47295 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47296 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47297 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47298 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47299 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47300 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47301 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47302 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47303 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47304 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47305 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47306 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47307 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47308 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47309 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47310 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47311 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47312 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47313 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47314 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47315 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47316 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47317 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47318 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47319 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47320 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47321 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47322 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47323 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47324 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47325 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47326 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47327 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47328 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47329 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47330 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47331 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47332 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47333 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47334 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47335 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47336 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47337 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47338 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47339 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47340 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47341 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47342 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47343 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47344 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47345 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47346 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47347 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47348 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47349 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47350 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47351 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47352 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47353 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47354 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47355 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47356 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47357 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47358 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47359 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47360 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47361 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47362 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47363 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47364 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47365 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47366 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47367 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47368 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47369 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47370 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47371 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47372 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47373 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47374 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47375 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47376 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47377 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47378 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47379 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47380 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47381 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47382 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47383 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47384 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47385 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47386 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47387 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47388 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47389 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47390 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47391 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47392 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47393 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47394 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47395 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47396 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47397 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47398 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47399 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47400 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47401 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47402 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47403 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47404 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47405 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47406 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47407 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47408 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47409 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47410 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47411 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47412 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47413 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47414 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47415 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47416 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47417 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47418 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47419 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47420 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47421 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47422 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47423 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47424 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47425 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47426 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47427 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47428 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47429 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47430 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47431 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47432 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47433 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47434 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47435 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47436 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47437 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47438 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47439 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47440 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47441 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47442 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47443 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47444 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47445 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47446 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47447 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47448 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47449 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47450 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47452 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47453 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47454 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47455 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47456 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47457 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47458 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47459 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47460 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47461 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47462 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47463 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47464 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47465 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47466 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47467 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47468 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47469 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47470 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47471 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47472 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47473 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47474 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47475 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47476 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47477 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47478 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47479 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47480 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47481 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47482 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47483 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47484 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47485 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47486 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47487 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47488 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47489 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47490 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47491 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47492 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47493 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47494 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47495 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47496 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47497 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47498 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47499 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47500 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47501 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47502 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47503 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47504 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47505 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47506 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47507 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47508 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47509 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47510 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47511 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47512 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47513 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47514 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47515 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47516 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47517 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47518 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47519 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47520 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47521 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47522 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47523 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47524 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47525 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47526 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47527 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47528 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47529 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47530 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47531 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47532 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47533 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47534 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47535 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47536 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47537 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47538 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47539 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47540 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47541 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47542 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47543 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47544 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47545 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47546 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47547 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47548 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47549 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47550 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47551 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47552 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47553 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47554 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47555 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47556 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47557 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47558 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47559 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47560 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47561 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47562 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47563 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47564 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47565 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47566 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47567 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47568 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47569 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47570 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47571 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47572 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47573 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47574 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47575 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47576 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47577 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47578 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47579 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47580 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47581 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47582 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47583 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47584 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47585 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47586 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47587 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47588 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47589 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47590 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47591 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47592 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47593 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
47594 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47595 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47596 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47597 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
47598 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47599 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
47600 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
47601 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47602 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47603 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47604 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47605 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
47606 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
47607 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47608 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
47609 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47610 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47611 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
47612 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47613 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
47614 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
47615 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47616 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47617 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47618 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
47619 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47620 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
47621 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47622 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
47623 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47624 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
47625 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47626 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
47627 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47628 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47629 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
47630 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
47631 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
47632 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47633 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
47634 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47635 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
47636 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
47637 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47638 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47639 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
47640 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47641 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
47642 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47643 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
47644 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
47645 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47646 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
47647 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47648 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
47649 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47650 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47651 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47652 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47653 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47654 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47655 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47656 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47657 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47658 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47659 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47660 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47661 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47662 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47663 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47664 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47665 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47666 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47667 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47668 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47669 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47670 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47671 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47672 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47673 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47674 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47675 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47676 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47677 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47678 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47679 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47680 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47681 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47682 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47683 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47684 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47685 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47686 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47687 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47688 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47689 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47690 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47691 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47692 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47693 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47694 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47695 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47696 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47697 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47698 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47699 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47700 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47701 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47702 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47703 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47704 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47705 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47706 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47707 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47708 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47709 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47710 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47711 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47712 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47713 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47714 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47715 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47716 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47717 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
47718 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47719 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47720 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
47721 { (char *)"SearchCtrl_SetSearchButtonVisible", (PyCFunction
) _wrap_SearchCtrl_SetSearchButtonVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47722 { (char *)"SearchCtrl_GetSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_GetSearchButtonVisible
, METH_O
, NULL
},
47723 { (char *)"SearchCtrl_SetCancelButtonVisible", (PyCFunction
) _wrap_SearchCtrl_SetCancelButtonVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47724 { (char *)"SearchCtrl_GetCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_GetCancelButtonVisible
, METH_O
, NULL
},
47725 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47726 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47727 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47728 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
47729 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
47730 { NULL
, NULL
, 0, NULL
}
47734 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47736 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47737 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47739 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47740 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47742 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47743 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47745 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47746 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47748 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47749 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47751 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47752 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47754 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47755 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47757 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47758 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47760 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47761 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47763 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47764 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47766 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47767 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47769 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47770 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47772 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47773 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47775 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47776 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47778 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47779 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47781 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47782 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47784 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47785 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47787 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
47788 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47790 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
47791 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47793 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
47794 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47796 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
47797 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47799 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
47800 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47802 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
47803 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47805 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
47806 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
47808 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47809 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47811 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47812 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47814 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47815 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47817 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47818 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47820 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47821 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47823 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47824 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47826 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47827 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47829 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47830 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47832 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47833 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47835 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
47836 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47838 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47839 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47841 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47842 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47844 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
47845 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47847 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47848 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47850 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47851 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47853 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47854 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47856 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47857 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47859 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47860 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47862 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
47863 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47865 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47866 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47868 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47869 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47871 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47872 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47874 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47875 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47877 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47878 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47880 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47881 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47883 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47884 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47886 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47887 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47889 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47890 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47892 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47893 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47895 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
47896 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47898 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
47899 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47901 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
47902 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47904 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
47905 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47907 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
47908 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47910 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
47911 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
47913 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
47914 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47916 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
47917 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47919 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47920 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47922 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
47923 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47925 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
47926 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47928 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
47929 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
47931 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
47932 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
47934 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
47935 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
47937 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
47938 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
47940 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
47941 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
47943 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
47944 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
47946 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
47947 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
47949 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
47950 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
47952 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
47953 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
47955 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
47956 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
47958 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
47959 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47961 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
47962 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
47964 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
47965 return (void *)((wxControl
*) ((wxComboBox
*) x
));
47967 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
47968 return (void *)((wxControl
*) ((wxPyControl
*) x
));
47970 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
47971 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
47973 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
47974 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
47976 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47977 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47979 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
47980 return (void *)((wxControl
*) ((wxGauge
*) x
));
47982 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
47983 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
47985 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
47986 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47988 static void *_p_wxListbookTo_p_wxControl(void *x
) {
47989 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
47991 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
47992 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
47994 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
47995 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
47997 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
47998 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48000 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48001 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48003 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48004 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48006 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48007 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48009 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48010 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48012 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48013 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48015 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48016 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48018 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48019 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48021 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48022 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48024 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48025 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48027 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48028 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48030 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48031 return (void *)((wxControl
*) ((wxSlider
*) x
));
48033 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48034 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48036 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48037 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48039 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48040 return (void *)((wxControl
*) ((wxButton
*) x
));
48042 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48043 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48045 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48046 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48048 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48049 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48051 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48052 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48054 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48055 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48057 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48058 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48060 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48061 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48063 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48064 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48066 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48067 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48069 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48070 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48072 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48073 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48075 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48076 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48078 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48079 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48081 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48082 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48084 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48085 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48087 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48088 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48090 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48091 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48093 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48094 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48096 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48097 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48099 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48100 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48102 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48103 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48105 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48106 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48108 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48109 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48111 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48112 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48114 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48115 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48117 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48120 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48121 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48123 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48126 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48127 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48129 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48130 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48132 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48135 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48138 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48139 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48141 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48144 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48147 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48150 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48153 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48154 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48156 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48157 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48159 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48162 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48165 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48168 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48171 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48174 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48175 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48177 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48180 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48183 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48186 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48189 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48192 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48195 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48198 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48201 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48204 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48207 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48210 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48213 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48216 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48219 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48222 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48225 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48228 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48231 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48234 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48237 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48240 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48243 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48246 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48249 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48252 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48255 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48258 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48261 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48264 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48267 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48270 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48273 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48274 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48276 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48277 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48279 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48280 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48282 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48283 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48285 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48286 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48288 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48289 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48291 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48294 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48295 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48297 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48298 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48300 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48301 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48303 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48304 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48306 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48307 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48309 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48310 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48312 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48313 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48315 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48316 return (void *)((wxObject
*) ((wxSizer
*) x
));
48318 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48319 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48321 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48324 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48327 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48330 static void *_p_wxEventTo_p_wxObject(void *x
) {
48331 return (void *)((wxObject
*) ((wxEvent
*) x
));
48333 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48334 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48336 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48337 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48339 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48340 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48342 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48343 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48345 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48348 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48351 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48354 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48357 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48358 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48360 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48361 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48363 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48364 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48366 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48367 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48369 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48370 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48372 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48373 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48375 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48376 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48378 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48381 static void *_p_wxControlTo_p_wxObject(void *x
) {
48382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48384 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48387 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48390 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48393 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48396 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48399 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48400 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48402 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48403 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48405 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48406 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48408 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48411 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48414 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48415 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48417 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48418 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48420 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48423 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48426 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48427 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48429 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48432 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48435 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48436 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48438 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48439 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48441 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48444 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48447 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48448 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48450 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48453 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48456 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48457 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48459 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48462 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48463 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48465 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48468 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48469 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48471 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48472 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48474 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48475 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48477 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48478 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48480 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48481 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48483 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48484 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48486 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48489 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48490 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48492 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48493 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48495 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48498 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48499 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48501 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48502 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48504 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48507 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48508 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48510 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48511 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48513 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48514 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48516 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48517 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48519 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48520 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48522 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48523 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48525 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48526 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48528 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48529 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48531 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48532 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48534 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48535 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48537 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48538 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48540 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48541 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48543 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48544 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48546 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48547 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48549 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48552 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48555 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48558 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48561 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48564 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48567 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48568 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48570 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48571 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48573 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48576 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48579 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48582 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48583 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
48585 static void *_p_wxListItemTo_p_wxObject(void *x
) {
48586 return (void *)((wxObject
*) ((wxListItem
*) x
));
48588 static void *_p_wxImageTo_p_wxObject(void *x
) {
48589 return (void *)((wxObject
*) ((wxImage
*) x
));
48591 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
48592 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
48594 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
48595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48597 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
48598 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
48600 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
48601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48603 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
48604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48606 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
48607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48609 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
48610 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48612 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
48613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48615 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
48616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48618 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
48619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48621 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
48622 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48624 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
48625 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
48627 static void *_p_wxWindowTo_p_wxObject(void *x
) {
48628 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
48630 static void *_p_wxMenuTo_p_wxObject(void *x
) {
48631 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
48633 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
48634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
48636 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
48637 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
48639 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
48640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48642 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
48643 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48645 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
48646 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
48648 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
48649 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
48651 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
48652 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
48654 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
48655 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
48657 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
48658 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
48660 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
48661 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48663 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
48664 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48666 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
48667 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48669 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
48670 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
48672 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
48673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48675 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48676 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48678 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48679 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48681 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48684 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48687 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48690 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48693 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48696 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48699 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48702 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48705 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48706 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48708 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48711 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48714 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48715 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48717 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48718 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48720 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48721 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48723 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48724 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48726 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48727 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48729 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48730 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48732 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48733 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48735 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48736 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48738 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
48739 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48741 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
48742 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48744 static void *_p_wxControlTo_p_wxWindow(void *x
) {
48745 return (void *)((wxWindow
*) ((wxControl
*) x
));
48747 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
48748 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
48750 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
48751 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
48753 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
48754 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
48756 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48757 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48759 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48760 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48762 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48763 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48765 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48766 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48768 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48769 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48771 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48772 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48774 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48775 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48777 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48778 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48780 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48781 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48783 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
48784 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
48786 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
48787 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
48789 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
48790 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
48792 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
48793 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
48795 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
48796 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48798 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
48799 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48801 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
48802 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48804 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
48805 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48807 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
48808 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48810 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
48811 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
48813 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
48814 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
48816 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
48817 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
48819 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
48820 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
48822 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
48823 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
48825 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
48826 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48828 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
48829 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
48831 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
48832 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
48834 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
48835 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48837 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
48838 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48840 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
48841 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
48843 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
48844 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48846 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
48847 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48849 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
48850 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48852 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
48853 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48855 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
48856 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
48858 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48859 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48861 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48862 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48864 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48865 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48867 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48868 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48870 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48871 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48873 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
48874 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48876 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
48877 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48879 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
48880 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48882 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
48883 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48885 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
48886 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48888 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
48889 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48891 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
48892 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48894 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
48895 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
48897 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
48898 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48900 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
48901 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48903 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
48904 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48906 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
48907 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48909 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
48910 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48912 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
48913 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48915 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
48916 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48918 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
48919 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48921 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
48922 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
48924 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
48925 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48927 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
48928 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
48930 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
48931 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48933 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
48934 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48936 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
48937 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48939 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
48940 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48942 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
48943 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
48945 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
48946 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48948 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
48949 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48951 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
48952 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48954 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
48955 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
48957 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
48958 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
48960 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
48961 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
48963 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
48964 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
48966 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48967 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
48968 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};
48969 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
48970 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
48971 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48972 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48973 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48974 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
48975 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48976 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48977 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48978 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48979 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48980 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48981 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48982 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48983 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48984 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48985 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48986 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
48987 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48988 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
48989 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
48990 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48991 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
48992 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48993 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48994 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
48995 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
48996 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48997 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48998 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48999 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49000 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49001 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49002 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49003 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49004 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49005 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49006 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49007 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49008 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49009 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49010 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49011 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49012 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49013 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49014 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49015 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49016 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49017 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49018 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49019 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49020 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49021 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49022 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49023 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49024 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49025 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49026 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49027 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49028 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49029 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49030 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49031 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49032 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49033 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49034 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49035 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49036 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49037 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49038 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49039 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49040 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49041 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49042 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49043 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49044 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49045 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49046 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49047 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49048 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49049 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49050 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49051 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49052 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49053 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49054 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49055 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49056 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49057 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49058 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49059 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49060 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49061 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49062 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49063 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49064 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49065 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49066 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49067 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49068 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49069 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49070 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49071 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49072 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49073 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49074 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49075 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49076 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49077 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49078 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49079 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49080 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49081 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49082 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49083 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49084 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49085 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49086 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49087 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49088 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49089 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49090 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49091 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49092 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49093 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49094 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49095 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49096 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49097 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49098 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49099 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49100 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49101 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49102 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49103 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49104 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49105 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49106 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49107 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49108 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49109 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49110 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49111 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49112 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49113 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49114 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49115 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49116 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49117 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49118 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49119 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49120 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49121 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49122 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49123 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49124 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49125 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49126 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49127 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49128 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49129 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49130 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49131 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49132 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49133 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49134 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49135 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49136 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49137 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49138 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49139 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49140 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49141 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49142 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49143 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49144 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49146 static swig_type_info
*swig_type_initial
[] = {
49149 &_swigt__p_form_ops_t
,
49152 &_swigt__p_unsigned_char
,
49153 &_swigt__p_unsigned_int
,
49154 &_swigt__p_unsigned_long
,
49156 &_swigt__p_wxANIHandler
,
49157 &_swigt__p_wxAcceleratorTable
,
49158 &_swigt__p_wxActivateEvent
,
49159 &_swigt__p_wxArrayInt
,
49160 &_swigt__p_wxArrayString
,
49161 &_swigt__p_wxBMPHandler
,
49162 &_swigt__p_wxBitmap
,
49163 &_swigt__p_wxBitmapButton
,
49164 &_swigt__p_wxBookCtrlBase
,
49165 &_swigt__p_wxBookCtrlBaseEvent
,
49166 &_swigt__p_wxBoxSizer
,
49167 &_swigt__p_wxButton
,
49168 &_swigt__p_wxCURHandler
,
49169 &_swigt__p_wxCheckBox
,
49170 &_swigt__p_wxCheckListBox
,
49171 &_swigt__p_wxChildFocusEvent
,
49172 &_swigt__p_wxChoice
,
49173 &_swigt__p_wxChoicebook
,
49174 &_swigt__p_wxChoicebookEvent
,
49175 &_swigt__p_wxClipboardTextEvent
,
49176 &_swigt__p_wxCloseEvent
,
49177 &_swigt__p_wxCollapsiblePane
,
49178 &_swigt__p_wxCollapsiblePaneEvent
,
49179 &_swigt__p_wxColour
,
49180 &_swigt__p_wxColourPickerCtrl
,
49181 &_swigt__p_wxColourPickerEvent
,
49182 &_swigt__p_wxComboBox
,
49183 &_swigt__p_wxCommandEvent
,
49184 &_swigt__p_wxContextHelp
,
49185 &_swigt__p_wxContextHelpButton
,
49186 &_swigt__p_wxContextMenuEvent
,
49187 &_swigt__p_wxControl
,
49188 &_swigt__p_wxControlWithItems
,
49189 &_swigt__p_wxCursor
,
49191 &_swigt__p_wxDateEvent
,
49192 &_swigt__p_wxDatePickerCtrl
,
49193 &_swigt__p_wxDateTime
,
49194 &_swigt__p_wxDirFilterListCtrl
,
49195 &_swigt__p_wxDirPickerCtrl
,
49196 &_swigt__p_wxDisplayChangedEvent
,
49197 &_swigt__p_wxDropFilesEvent
,
49198 &_swigt__p_wxDuplexMode
,
49199 &_swigt__p_wxEraseEvent
,
49200 &_swigt__p_wxEvent
,
49201 &_swigt__p_wxEvtHandler
,
49202 &_swigt__p_wxFSFile
,
49203 &_swigt__p_wxFileDirPickerEvent
,
49204 &_swigt__p_wxFilePickerCtrl
,
49205 &_swigt__p_wxFileSystem
,
49206 &_swigt__p_wxFlexGridSizer
,
49207 &_swigt__p_wxFocusEvent
,
49209 &_swigt__p_wxFontPickerCtrl
,
49210 &_swigt__p_wxFontPickerEvent
,
49211 &_swigt__p_wxGBSizerItem
,
49212 &_swigt__p_wxGIFHandler
,
49213 &_swigt__p_wxGauge
,
49214 &_swigt__p_wxGenericDirCtrl
,
49215 &_swigt__p_wxGenericDragImage
,
49216 &_swigt__p_wxGridBagSizer
,
49217 &_swigt__p_wxGridSizer
,
49218 &_swigt__p_wxHelpEvent
,
49219 &_swigt__p_wxHelpProvider
,
49220 &_swigt__p_wxHyperlinkCtrl
,
49221 &_swigt__p_wxHyperlinkEvent
,
49222 &_swigt__p_wxICOHandler
,
49224 &_swigt__p_wxIconizeEvent
,
49225 &_swigt__p_wxIdleEvent
,
49226 &_swigt__p_wxImage
,
49227 &_swigt__p_wxImageHandler
,
49228 &_swigt__p_wxImageList
,
49229 &_swigt__p_wxIndividualLayoutConstraint
,
49230 &_swigt__p_wxInitDialogEvent
,
49231 &_swigt__p_wxItemContainer
,
49232 &_swigt__p_wxJPEGHandler
,
49233 &_swigt__p_wxKeyEvent
,
49234 &_swigt__p_wxLayoutConstraints
,
49235 &_swigt__p_wxListBox
,
49236 &_swigt__p_wxListEvent
,
49237 &_swigt__p_wxListItem
,
49238 &_swigt__p_wxListItemAttr
,
49239 &_swigt__p_wxListView
,
49240 &_swigt__p_wxListbook
,
49241 &_swigt__p_wxListbookEvent
,
49242 &_swigt__p_wxMaximizeEvent
,
49243 &_swigt__p_wxMemoryDC
,
49245 &_swigt__p_wxMenuBar
,
49246 &_swigt__p_wxMenuEvent
,
49247 &_swigt__p_wxMenuItem
,
49248 &_swigt__p_wxMouseCaptureChangedEvent
,
49249 &_swigt__p_wxMouseCaptureLostEvent
,
49250 &_swigt__p_wxMouseEvent
,
49251 &_swigt__p_wxMoveEvent
,
49252 &_swigt__p_wxNavigationKeyEvent
,
49253 &_swigt__p_wxNcPaintEvent
,
49254 &_swigt__p_wxNotebook
,
49255 &_swigt__p_wxNotebookEvent
,
49256 &_swigt__p_wxNotifyEvent
,
49257 &_swigt__p_wxObject
,
49258 &_swigt__p_wxPCXHandler
,
49259 &_swigt__p_wxPNGHandler
,
49260 &_swigt__p_wxPNMHandler
,
49261 &_swigt__p_wxPaintEvent
,
49262 &_swigt__p_wxPaletteChangedEvent
,
49263 &_swigt__p_wxPaperSize
,
49264 &_swigt__p_wxPickerBase
,
49265 &_swigt__p_wxPoint
,
49266 &_swigt__p_wxPyApp
,
49267 &_swigt__p_wxPyCommandEvent
,
49268 &_swigt__p_wxPyControl
,
49269 &_swigt__p_wxPyEvent
,
49270 &_swigt__p_wxPyImageHandler
,
49271 &_swigt__p_wxPyListCtrl
,
49272 &_swigt__p_wxPySizer
,
49273 &_swigt__p_wxPyTreeCtrl
,
49274 &_swigt__p_wxPyTreeItemData
,
49275 &_swigt__p_wxPyValidator
,
49276 &_swigt__p_wxQueryNewPaletteEvent
,
49277 &_swigt__p_wxRadioBox
,
49278 &_swigt__p_wxRadioButton
,
49280 &_swigt__p_wxScrollBar
,
49281 &_swigt__p_wxScrollEvent
,
49282 &_swigt__p_wxScrollWinEvent
,
49283 &_swigt__p_wxSearchCtrl
,
49284 &_swigt__p_wxSetCursorEvent
,
49285 &_swigt__p_wxShowEvent
,
49286 &_swigt__p_wxSimpleHelpProvider
,
49288 &_swigt__p_wxSizeEvent
,
49289 &_swigt__p_wxSizer
,
49290 &_swigt__p_wxSizerItem
,
49291 &_swigt__p_wxSlider
,
49292 &_swigt__p_wxSpinButton
,
49293 &_swigt__p_wxSpinCtrl
,
49294 &_swigt__p_wxSpinEvent
,
49295 &_swigt__p_wxStaticBitmap
,
49296 &_swigt__p_wxStaticBox
,
49297 &_swigt__p_wxStaticBoxSizer
,
49298 &_swigt__p_wxStaticLine
,
49299 &_swigt__p_wxStaticText
,
49300 &_swigt__p_wxStdDialogButtonSizer
,
49301 &_swigt__p_wxString
,
49302 &_swigt__p_wxSysColourChangedEvent
,
49303 &_swigt__p_wxTGAHandler
,
49304 &_swigt__p_wxTIFFHandler
,
49305 &_swigt__p_wxTextAttr
,
49306 &_swigt__p_wxTextCtrl
,
49307 &_swigt__p_wxTextUrlEvent
,
49308 &_swigt__p_wxToggleButton
,
49309 &_swigt__p_wxToolBar
,
49310 &_swigt__p_wxToolBarBase
,
49311 &_swigt__p_wxToolBarToolBase
,
49312 &_swigt__p_wxToolbook
,
49313 &_swigt__p_wxToolbookEvent
,
49314 &_swigt__p_wxTreeEvent
,
49315 &_swigt__p_wxTreeItemId
,
49316 &_swigt__p_wxTreebook
,
49317 &_swigt__p_wxTreebookEvent
,
49318 &_swigt__p_wxUpdateUIEvent
,
49319 &_swigt__p_wxValidator
,
49320 &_swigt__p_wxVisualAttributes
,
49321 &_swigt__p_wxWindow
,
49322 &_swigt__p_wxWindowBase
,
49323 &_swigt__p_wxWindowCreateEvent
,
49324 &_swigt__p_wxWindowDestroyEvent
,
49325 &_swigt__p_wxXPMHandler
,
49328 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49329 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49330 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49331 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49332 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49333 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49334 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49335 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49336 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49337 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49338 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49339 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49340 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}};
49341 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}};
49342 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}};
49343 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}};
49344 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49345 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49346 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}};
49347 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49348 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49349 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49350 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49351 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49352 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49353 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49354 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49355 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49356 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49357 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49358 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49359 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49360 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49361 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49362 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49363 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49364 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}};
49365 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49366 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49367 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}};
49368 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}};
49369 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49370 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49371 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49372 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49373 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49374 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49375 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49376 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49377 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49378 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49379 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49380 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49381 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49382 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49383 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49384 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49385 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49386 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49387 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49388 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49389 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49390 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49391 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49392 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49393 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49394 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49395 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49396 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49397 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49398 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49399 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49400 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49401 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}};
49402 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49403 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49404 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49405 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}};
49406 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49407 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49408 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49409 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49410 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49411 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49412 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49413 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49414 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49415 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}};
49416 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49417 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49418 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49419 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49420 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}};
49421 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49422 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}};
49423 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49424 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49425 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49426 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49427 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49428 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49429 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49430 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49431 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49432 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49433 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49434 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}};
49435 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49436 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49437 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49438 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49439 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49440 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49441 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49442 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49443 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49444 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49445 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49446 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49447 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49448 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49449 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49450 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49451 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49452 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49453 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49454 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49455 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49456 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49457 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49458 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49459 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49460 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49461 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49462 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49463 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49464 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49465 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49466 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}};
49467 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49468 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}};
49469 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49470 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49471 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}};
49472 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49473 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49474 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49475 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49476 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49477 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49478 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49479 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49480 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49481 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49482 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49483 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49484 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49485 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49486 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49487 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49488 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49489 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49490 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49491 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}};
49492 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49493 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49494 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49495 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}};
49496 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49497 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49498 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49499 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49500 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49501 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49502 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49503 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}};
49504 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49505 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}};
49506 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49508 static swig_cast_info
*swig_cast_initial
[] = {
49511 _swigc__p_form_ops_t
,
49514 _swigc__p_unsigned_char
,
49515 _swigc__p_unsigned_int
,
49516 _swigc__p_unsigned_long
,
49518 _swigc__p_wxANIHandler
,
49519 _swigc__p_wxAcceleratorTable
,
49520 _swigc__p_wxActivateEvent
,
49521 _swigc__p_wxArrayInt
,
49522 _swigc__p_wxArrayString
,
49523 _swigc__p_wxBMPHandler
,
49524 _swigc__p_wxBitmap
,
49525 _swigc__p_wxBitmapButton
,
49526 _swigc__p_wxBookCtrlBase
,
49527 _swigc__p_wxBookCtrlBaseEvent
,
49528 _swigc__p_wxBoxSizer
,
49529 _swigc__p_wxButton
,
49530 _swigc__p_wxCURHandler
,
49531 _swigc__p_wxCheckBox
,
49532 _swigc__p_wxCheckListBox
,
49533 _swigc__p_wxChildFocusEvent
,
49534 _swigc__p_wxChoice
,
49535 _swigc__p_wxChoicebook
,
49536 _swigc__p_wxChoicebookEvent
,
49537 _swigc__p_wxClipboardTextEvent
,
49538 _swigc__p_wxCloseEvent
,
49539 _swigc__p_wxCollapsiblePane
,
49540 _swigc__p_wxCollapsiblePaneEvent
,
49541 _swigc__p_wxColour
,
49542 _swigc__p_wxColourPickerCtrl
,
49543 _swigc__p_wxColourPickerEvent
,
49544 _swigc__p_wxComboBox
,
49545 _swigc__p_wxCommandEvent
,
49546 _swigc__p_wxContextHelp
,
49547 _swigc__p_wxContextHelpButton
,
49548 _swigc__p_wxContextMenuEvent
,
49549 _swigc__p_wxControl
,
49550 _swigc__p_wxControlWithItems
,
49551 _swigc__p_wxCursor
,
49553 _swigc__p_wxDateEvent
,
49554 _swigc__p_wxDatePickerCtrl
,
49555 _swigc__p_wxDateTime
,
49556 _swigc__p_wxDirFilterListCtrl
,
49557 _swigc__p_wxDirPickerCtrl
,
49558 _swigc__p_wxDisplayChangedEvent
,
49559 _swigc__p_wxDropFilesEvent
,
49560 _swigc__p_wxDuplexMode
,
49561 _swigc__p_wxEraseEvent
,
49563 _swigc__p_wxEvtHandler
,
49564 _swigc__p_wxFSFile
,
49565 _swigc__p_wxFileDirPickerEvent
,
49566 _swigc__p_wxFilePickerCtrl
,
49567 _swigc__p_wxFileSystem
,
49568 _swigc__p_wxFlexGridSizer
,
49569 _swigc__p_wxFocusEvent
,
49571 _swigc__p_wxFontPickerCtrl
,
49572 _swigc__p_wxFontPickerEvent
,
49573 _swigc__p_wxGBSizerItem
,
49574 _swigc__p_wxGIFHandler
,
49576 _swigc__p_wxGenericDirCtrl
,
49577 _swigc__p_wxGenericDragImage
,
49578 _swigc__p_wxGridBagSizer
,
49579 _swigc__p_wxGridSizer
,
49580 _swigc__p_wxHelpEvent
,
49581 _swigc__p_wxHelpProvider
,
49582 _swigc__p_wxHyperlinkCtrl
,
49583 _swigc__p_wxHyperlinkEvent
,
49584 _swigc__p_wxICOHandler
,
49586 _swigc__p_wxIconizeEvent
,
49587 _swigc__p_wxIdleEvent
,
49589 _swigc__p_wxImageHandler
,
49590 _swigc__p_wxImageList
,
49591 _swigc__p_wxIndividualLayoutConstraint
,
49592 _swigc__p_wxInitDialogEvent
,
49593 _swigc__p_wxItemContainer
,
49594 _swigc__p_wxJPEGHandler
,
49595 _swigc__p_wxKeyEvent
,
49596 _swigc__p_wxLayoutConstraints
,
49597 _swigc__p_wxListBox
,
49598 _swigc__p_wxListEvent
,
49599 _swigc__p_wxListItem
,
49600 _swigc__p_wxListItemAttr
,
49601 _swigc__p_wxListView
,
49602 _swigc__p_wxListbook
,
49603 _swigc__p_wxListbookEvent
,
49604 _swigc__p_wxMaximizeEvent
,
49605 _swigc__p_wxMemoryDC
,
49607 _swigc__p_wxMenuBar
,
49608 _swigc__p_wxMenuEvent
,
49609 _swigc__p_wxMenuItem
,
49610 _swigc__p_wxMouseCaptureChangedEvent
,
49611 _swigc__p_wxMouseCaptureLostEvent
,
49612 _swigc__p_wxMouseEvent
,
49613 _swigc__p_wxMoveEvent
,
49614 _swigc__p_wxNavigationKeyEvent
,
49615 _swigc__p_wxNcPaintEvent
,
49616 _swigc__p_wxNotebook
,
49617 _swigc__p_wxNotebookEvent
,
49618 _swigc__p_wxNotifyEvent
,
49619 _swigc__p_wxObject
,
49620 _swigc__p_wxPCXHandler
,
49621 _swigc__p_wxPNGHandler
,
49622 _swigc__p_wxPNMHandler
,
49623 _swigc__p_wxPaintEvent
,
49624 _swigc__p_wxPaletteChangedEvent
,
49625 _swigc__p_wxPaperSize
,
49626 _swigc__p_wxPickerBase
,
49629 _swigc__p_wxPyCommandEvent
,
49630 _swigc__p_wxPyControl
,
49631 _swigc__p_wxPyEvent
,
49632 _swigc__p_wxPyImageHandler
,
49633 _swigc__p_wxPyListCtrl
,
49634 _swigc__p_wxPySizer
,
49635 _swigc__p_wxPyTreeCtrl
,
49636 _swigc__p_wxPyTreeItemData
,
49637 _swigc__p_wxPyValidator
,
49638 _swigc__p_wxQueryNewPaletteEvent
,
49639 _swigc__p_wxRadioBox
,
49640 _swigc__p_wxRadioButton
,
49642 _swigc__p_wxScrollBar
,
49643 _swigc__p_wxScrollEvent
,
49644 _swigc__p_wxScrollWinEvent
,
49645 _swigc__p_wxSearchCtrl
,
49646 _swigc__p_wxSetCursorEvent
,
49647 _swigc__p_wxShowEvent
,
49648 _swigc__p_wxSimpleHelpProvider
,
49650 _swigc__p_wxSizeEvent
,
49652 _swigc__p_wxSizerItem
,
49653 _swigc__p_wxSlider
,
49654 _swigc__p_wxSpinButton
,
49655 _swigc__p_wxSpinCtrl
,
49656 _swigc__p_wxSpinEvent
,
49657 _swigc__p_wxStaticBitmap
,
49658 _swigc__p_wxStaticBox
,
49659 _swigc__p_wxStaticBoxSizer
,
49660 _swigc__p_wxStaticLine
,
49661 _swigc__p_wxStaticText
,
49662 _swigc__p_wxStdDialogButtonSizer
,
49663 _swigc__p_wxString
,
49664 _swigc__p_wxSysColourChangedEvent
,
49665 _swigc__p_wxTGAHandler
,
49666 _swigc__p_wxTIFFHandler
,
49667 _swigc__p_wxTextAttr
,
49668 _swigc__p_wxTextCtrl
,
49669 _swigc__p_wxTextUrlEvent
,
49670 _swigc__p_wxToggleButton
,
49671 _swigc__p_wxToolBar
,
49672 _swigc__p_wxToolBarBase
,
49673 _swigc__p_wxToolBarToolBase
,
49674 _swigc__p_wxToolbook
,
49675 _swigc__p_wxToolbookEvent
,
49676 _swigc__p_wxTreeEvent
,
49677 _swigc__p_wxTreeItemId
,
49678 _swigc__p_wxTreebook
,
49679 _swigc__p_wxTreebookEvent
,
49680 _swigc__p_wxUpdateUIEvent
,
49681 _swigc__p_wxValidator
,
49682 _swigc__p_wxVisualAttributes
,
49683 _swigc__p_wxWindow
,
49684 _swigc__p_wxWindowBase
,
49685 _swigc__p_wxWindowCreateEvent
,
49686 _swigc__p_wxWindowDestroyEvent
,
49687 _swigc__p_wxXPMHandler
,
49691 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49693 static swig_const_info swig_const_table
[] = {
49694 {0, 0, 0, 0.0, 0, 0}};
49699 /* -----------------------------------------------------------------------------
49700 * Type initialization:
49701 * This problem is tough by the requirement that no dynamic
49702 * memory is used. Also, since swig_type_info structures store pointers to
49703 * swig_cast_info structures and swig_cast_info structures store pointers back
49704 * to swig_type_info structures, we need some lookup code at initialization.
49705 * The idea is that swig generates all the structures that are needed.
49706 * The runtime then collects these partially filled structures.
49707 * The SWIG_InitializeModule function takes these initial arrays out of
49708 * swig_module, and does all the lookup, filling in the swig_module.types
49709 * array with the correct data and linking the correct swig_cast_info
49710 * structures together.
49712 * The generated swig_type_info structures are assigned staticly to an initial
49713 * array. We just loop though that array, and handle each type individually.
49714 * First we lookup if this type has been already loaded, and if so, use the
49715 * loaded structure instead of the generated one. Then we have to fill in the
49716 * cast linked list. The cast data is initially stored in something like a
49717 * two-dimensional array. Each row corresponds to a type (there are the same
49718 * number of rows as there are in the swig_type_initial array). Each entry in
49719 * a column is one of the swig_cast_info structures for that type.
49720 * The cast_initial array is actually an array of arrays, because each row has
49721 * a variable number of columns. So to actually build the cast linked list,
49722 * we find the array of casts associated with the type, and loop through it
49723 * adding the casts to the list. The one last trick we need to do is making
49724 * sure the type pointer in the swig_cast_info struct is correct.
49726 * First off, we lookup the cast->type name to see if it is already loaded.
49727 * There are three cases to handle:
49728 * 1) If the cast->type has already been loaded AND the type we are adding
49729 * casting info to has not been loaded (it is in this module), THEN we
49730 * replace the cast->type pointer with the type pointer that has already
49732 * 2) If BOTH types (the one we are adding casting info to, and the
49733 * cast->type) are loaded, THEN the cast info has already been loaded by
49734 * the previous module so we just ignore it.
49735 * 3) Finally, if cast->type has not already been loaded, then we add that
49736 * swig_cast_info to the linked list (because the cast->type) pointer will
49738 * ----------------------------------------------------------------------------- */
49748 #define SWIGRUNTIME_DEBUG
49752 SWIG_InitializeModule(void *clientdata
) {
49754 swig_module_info
*module_head
;
49755 static int init_run
= 0;
49757 clientdata
= clientdata
;
49759 if (init_run
) return;
49762 /* Initialize the swig_module */
49763 swig_module
.type_initial
= swig_type_initial
;
49764 swig_module
.cast_initial
= swig_cast_initial
;
49766 /* Try and load any already created modules */
49767 module_head
= SWIG_GetModule(clientdata
);
49769 swig_module
.next
= module_head
->next
;
49770 module_head
->next
= &swig_module
;
49772 /* This is the first module loaded */
49773 swig_module
.next
= &swig_module
;
49774 SWIG_SetModule(clientdata
, &swig_module
);
49777 /* Now work on filling in swig_module.types */
49778 #ifdef SWIGRUNTIME_DEBUG
49779 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
49781 for (i
= 0; i
< swig_module
.size
; ++i
) {
49782 swig_type_info
*type
= 0;
49783 swig_type_info
*ret
;
49784 swig_cast_info
*cast
;
49786 #ifdef SWIGRUNTIME_DEBUG
49787 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49790 /* if there is another module already loaded */
49791 if (swig_module
.next
!= &swig_module
) {
49792 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
49795 /* Overwrite clientdata field */
49796 #ifdef SWIGRUNTIME_DEBUG
49797 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
49799 if (swig_module
.type_initial
[i
]->clientdata
) {
49800 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
49801 #ifdef SWIGRUNTIME_DEBUG
49802 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
49806 type
= swig_module
.type_initial
[i
];
49809 /* Insert casting types */
49810 cast
= swig_module
.cast_initial
[i
];
49811 while (cast
->type
) {
49812 /* Don't need to add information already in the list */
49814 #ifdef SWIGRUNTIME_DEBUG
49815 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
49817 if (swig_module
.next
!= &swig_module
) {
49818 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
49819 #ifdef SWIGRUNTIME_DEBUG
49820 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
49824 if (type
== swig_module
.type_initial
[i
]) {
49825 #ifdef SWIGRUNTIME_DEBUG
49826 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
49831 /* Check for casting already in the list */
49832 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
49833 #ifdef SWIGRUNTIME_DEBUG
49834 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
49836 if (!ocast
) ret
= 0;
49841 #ifdef SWIGRUNTIME_DEBUG
49842 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
49845 type
->cast
->prev
= cast
;
49846 cast
->next
= type
->cast
;
49852 /* Set entry in modules->types array equal to the type */
49853 swig_module
.types
[i
] = type
;
49855 swig_module
.types
[i
] = 0;
49857 #ifdef SWIGRUNTIME_DEBUG
49858 printf("**** SWIG_InitializeModule: Cast List ******\n");
49859 for (i
= 0; i
< swig_module
.size
; ++i
) {
49861 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
49862 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49863 while (cast
->type
) {
49864 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
49868 printf("---- Total casts: %d\n",j
);
49870 printf("**** SWIG_InitializeModule: Cast List ******\n");
49874 /* This function will propagate the clientdata field of type to
49875 * any new swig_type_info structures that have been added into the list
49876 * of equivalent types. It is like calling
49877 * SWIG_TypeClientData(type, clientdata) a second time.
49880 SWIG_PropagateClientData(void) {
49882 swig_cast_info
*equiv
;
49883 static int init_run
= 0;
49885 if (init_run
) return;
49888 for (i
= 0; i
< swig_module
.size
; i
++) {
49889 if (swig_module
.types
[i
]->clientdata
) {
49890 equiv
= swig_module
.types
[i
]->cast
;
49892 if (!equiv
->converter
) {
49893 if (equiv
->type
&& !equiv
->type
->clientdata
)
49894 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
49896 equiv
= equiv
->next
;
49916 /* Python-specific SWIG API */
49917 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49918 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49919 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49921 /* -----------------------------------------------------------------------------
49922 * global variable support code.
49923 * ----------------------------------------------------------------------------- */
49925 typedef struct swig_globalvar
{
49926 char *name
; /* Name of global variable */
49927 PyObject
*(*get_attr
)(void); /* Return the current value */
49928 int (*set_attr
)(PyObject
*); /* Set the value */
49929 struct swig_globalvar
*next
;
49932 typedef struct swig_varlinkobject
{
49934 swig_globalvar
*vars
;
49935 } swig_varlinkobject
;
49937 SWIGINTERN PyObject
*
49938 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
49939 return PyString_FromString("<Swig global variables>");
49942 SWIGINTERN PyObject
*
49943 swig_varlink_str(swig_varlinkobject
*v
) {
49944 PyObject
*str
= PyString_FromString("(");
49945 swig_globalvar
*var
;
49946 for (var
= v
->vars
; var
; var
=var
->next
) {
49947 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
49948 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
49950 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
49955 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
49956 PyObject
*str
= swig_varlink_str(v
);
49957 fprintf(fp
,"Swig global variables ");
49958 fprintf(fp
,"%s\n", PyString_AsString(str
));
49964 swig_varlink_dealloc(swig_varlinkobject
*v
) {
49965 swig_globalvar
*var
= v
->vars
;
49967 swig_globalvar
*n
= var
->next
;
49974 SWIGINTERN PyObject
*
49975 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
49976 PyObject
*res
= NULL
;
49977 swig_globalvar
*var
= v
->vars
;
49979 if (strcmp(var
->name
,n
) == 0) {
49980 res
= (*var
->get_attr
)();
49985 if (res
== NULL
&& !PyErr_Occurred()) {
49986 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49992 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
49994 swig_globalvar
*var
= v
->vars
;
49996 if (strcmp(var
->name
,n
) == 0) {
49997 res
= (*var
->set_attr
)(p
);
50002 if (res
== 1 && !PyErr_Occurred()) {
50003 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50008 SWIGINTERN PyTypeObject
*
50009 swig_varlink_type(void) {
50010 static char varlink__doc__
[] = "Swig var link object";
50011 static PyTypeObject varlink_type
;
50012 static int type_init
= 0;
50014 const PyTypeObject tmp
50016 PyObject_HEAD_INIT(NULL
)
50017 0, /* Number of items in variable part (ob_size) */
50018 (char *)"swigvarlink", /* Type name (tp_name) */
50019 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50020 0, /* Itemsize (tp_itemsize) */
50021 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50022 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50023 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50024 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50025 0, /* tp_compare */
50026 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50027 0, /* tp_as_number */
50028 0, /* tp_as_sequence */
50029 0, /* tp_as_mapping */
50032 (reprfunc
)swig_varlink_str
, /* tp_str */
50033 0, /* tp_getattro */
50034 0, /* tp_setattro */
50035 0, /* tp_as_buffer */
50037 varlink__doc__
, /* tp_doc */
50038 0, /* tp_traverse */
50040 0, /* tp_richcompare */
50041 0, /* tp_weaklistoffset */
50042 #if PY_VERSION_HEX >= 0x02020000
50043 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50045 #if PY_VERSION_HEX >= 0x02030000
50048 #ifdef COUNT_ALLOCS
50049 0,0,0,0 /* tp_alloc -> tp_next */
50052 varlink_type
= tmp
;
50053 varlink_type
.ob_type
= &PyType_Type
;
50056 return &varlink_type
;
50059 /* Create a variable linking object for use later */
50060 SWIGINTERN PyObject
*
50061 SWIG_Python_newvarlink(void) {
50062 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50066 return ((PyObject
*) result
);
50070 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50071 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50072 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50074 size_t size
= strlen(name
)+1;
50075 gv
->name
= (char *)malloc(size
);
50077 strncpy(gv
->name
,name
,size
);
50078 gv
->get_attr
= get_attr
;
50079 gv
->set_attr
= set_attr
;
50080 gv
->next
= v
->vars
;
50086 SWIGINTERN PyObject
*
50088 static PyObject
*_SWIG_globals
= 0;
50089 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50090 return _SWIG_globals
;
50093 /* -----------------------------------------------------------------------------
50094 * constants/methods manipulation
50095 * ----------------------------------------------------------------------------- */
50097 /* Install Constants */
50099 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50102 for (i
= 0; constants
[i
].type
; ++i
) {
50103 switch(constants
[i
].type
) {
50104 case SWIG_PY_POINTER
:
50105 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50107 case SWIG_PY_BINARY
:
50108 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50115 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50121 /* -----------------------------------------------------------------------------*/
50122 /* Fix SwigMethods to carry the callback ptrs when needed */
50123 /* -----------------------------------------------------------------------------*/
50126 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50127 swig_const_info
*const_table
,
50128 swig_type_info
**types
,
50129 swig_type_info
**types_initial
) {
50131 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50132 const char *c
= methods
[i
].ml_doc
;
50133 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50135 swig_const_info
*ci
= 0;
50136 const char *name
= c
+ 10;
50137 for (j
= 0; const_table
[j
].type
; ++j
) {
50138 if (strncmp(const_table
[j
].name
, name
,
50139 strlen(const_table
[j
].name
)) == 0) {
50140 ci
= &(const_table
[j
]);
50145 size_t shift
= (ci
->ptype
) - types
;
50146 swig_type_info
*ty
= types_initial
[shift
];
50147 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50148 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50149 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50152 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50154 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50156 strncpy(buff
, "swig_ptr: ", 10);
50158 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50159 methods
[i
].ml_doc
= ndoc
;
50171 /* -----------------------------------------------------------------------------*
50172 * Partial Init method
50173 * -----------------------------------------------------------------------------*/
50178 SWIGEXPORT
void SWIG_init(void) {
50181 /* Fix SwigMethods to carry the callback ptrs when needed */
50182 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50184 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50185 d
= PyModule_GetDict(m
);
50187 SWIG_InitializeModule(0);
50188 SWIG_InstallConstants(d
,swig_const_table
);
50191 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50192 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50193 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50194 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50195 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50196 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50197 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50198 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50199 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50200 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50201 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50202 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50203 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50204 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50205 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50206 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50207 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50208 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50209 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50210 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50211 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50212 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50213 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50214 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50215 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50216 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50217 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50218 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50219 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50220 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50221 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50222 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50223 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50224 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50225 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50226 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50227 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50228 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50229 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50230 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50231 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50232 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50233 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50234 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50235 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50236 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50237 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50238 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50239 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50240 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50241 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50242 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50243 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50244 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50245 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50246 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50247 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50248 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50249 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50250 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50251 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50252 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50253 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50254 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50255 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50256 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50257 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50258 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50259 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50260 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50261 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50262 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50263 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50264 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50265 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50266 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50267 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50268 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50269 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50270 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50271 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50272 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50273 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50274 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50275 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50276 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50277 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50278 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50279 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50280 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50281 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50282 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50283 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50284 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50285 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50286 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50287 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50288 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50289 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50290 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50291 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50292 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50293 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50294 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50295 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50296 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50297 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50298 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50299 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50300 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50301 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50302 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50303 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50304 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50305 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50306 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50307 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50308 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50309 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50310 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50311 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50312 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50313 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50314 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50315 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50316 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50317 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50318 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50319 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50320 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50321 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50322 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50323 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50324 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50325 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50326 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50327 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50328 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50329 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50330 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50331 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50332 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50333 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50334 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50335 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50336 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50337 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50338 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50339 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50340 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50341 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50342 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50343 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50344 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50345 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50346 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50347 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50348 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50349 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50350 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50351 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50352 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50353 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50354 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50355 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50356 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50357 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50358 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50359 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50360 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50361 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50362 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50363 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50364 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50365 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50366 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50367 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50368 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50369 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50370 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50371 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50372 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50373 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50374 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50375 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50376 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50377 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50378 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50379 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50380 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50381 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50382 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50383 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50384 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50385 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50386 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50387 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50388 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50389 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50390 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50391 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50392 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50393 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50394 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50395 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50396 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50397 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50398 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50399 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50400 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50401 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50402 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50403 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50404 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50405 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50406 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50407 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50408 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50409 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50410 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50411 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50412 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50413 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50414 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50415 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50416 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50417 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50418 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50419 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50420 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50421 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50422 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50423 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50424 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50425 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50426 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50427 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50428 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50429 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50430 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50431 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50432 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50433 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50434 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50435 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50436 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50437 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50438 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50439 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50440 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50441 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50442 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50443 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50444 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50445 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50446 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50447 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50448 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50449 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50450 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50451 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50453 // Map renamed classes back to their common name for OOR
50454 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50456 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50457 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50458 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50459 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50460 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50461 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50462 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50463 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50464 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50465 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50466 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50467 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50468 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50469 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50470 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50471 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50472 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50473 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50474 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50475 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50476 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50477 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50478 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50479 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50480 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50481 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50482 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50483 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50484 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50485 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50486 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50487 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50488 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50489 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50490 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50491 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50492 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50493 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50494 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50495 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50496 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50497 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50498 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50499 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50500 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50501 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50502 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50503 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50504 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50505 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50506 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50507 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50508 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50509 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50510 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50511 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50513 // Map renamed classes back to their common name for OOR
50514 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50515 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50517 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50518 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50519 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50520 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50521 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50522 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50523 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50524 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50525 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50526 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50527 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50529 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50531 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50532 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50533 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50534 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50535 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50536 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50537 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50538 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50539 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50540 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50541 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50542 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50543 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50544 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50545 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50546 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50547 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50548 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50549 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50550 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50551 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50552 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50553 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50554 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50555 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50556 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50557 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50558 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50559 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50560 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50561 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50562 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50563 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50564 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50565 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50566 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50567 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50568 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50569 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50570 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50571 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50572 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50573 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50574 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
50575 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
50576 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
50577 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
50578 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
50579 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL
));
50580 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH
));