1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSearchCtrl swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSlider swig_types[144]
2611 #define SWIGTYPE_p_wxSpinButton swig_types[145]
2612 #define SWIGTYPE_p_wxSpinCtrl swig_types[146]
2613 #define SWIGTYPE_p_wxSpinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBitmap swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBox swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStaticLine swig_types[151]
2618 #define SWIGTYPE_p_wxStaticText swig_types[152]
2619 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153]
2620 #define SWIGTYPE_p_wxString swig_types[154]
2621 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[155]
2622 #define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTextAttr swig_types[158]
2625 #define SWIGTYPE_p_wxTextCtrl swig_types[159]
2626 #define SWIGTYPE_p_wxTextUrlEvent swig_types[160]
2627 #define SWIGTYPE_p_wxToggleButton swig_types[161]
2628 #define SWIGTYPE_p_wxToolBar swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarToolBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolbook swig_types[165]
2632 #define SWIGTYPE_p_wxToolbookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeItemId swig_types[168]
2635 #define SWIGTYPE_p_wxTreebook swig_types[169]
2636 #define SWIGTYPE_p_wxTreebookEvent swig_types[170]
2637 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[171]
2638 #define SWIGTYPE_p_wxValidator swig_types[172]
2639 #define SWIGTYPE_p_wxVisualAttributes swig_types[173]
2640 #define SWIGTYPE_p_wxWindow swig_types[174]
2641 #define SWIGTYPE_p_wxWindowBase swig_types[175]
2642 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[176]
2643 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[177]
2644 #define SWIGTYPE_p_wxXPMHandler swig_types[178]
2645 static swig_type_info
*swig_types
[180];
2646 static swig_module_info swig_module
= {swig_types
, 179, 0, 0, 0, 0};
2647 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2648 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2650 /* -------- TYPES TABLE (END) -------- */
2652 #if (PY_VERSION_HEX <= 0x02000000)
2653 # if !defined(SWIG_PYTHON_CLASSIC)
2654 # error "This python version requires to use swig with the '-classic' option"
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodern' option"
2660 #if (PY_VERSION_HEX <= 0x02020000)
2661 # error "This python version requires to use swig with the '-nomodernargs' option"
2664 # error "This python version requires to use swig with the '-nofastunpack' option"
2667 /*-----------------------------------------------
2668 @(target):= _controls_.so
2669 ------------------------------------------------*/
2670 #define SWIG_init init_controls_
2672 #define SWIG_name "_controls_"
2674 #define SWIGVERSION 0x010329
2677 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2678 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2681 #include <stdexcept>
2685 class PyObject_ptr
{
2690 PyObject_ptr() :_obj(0)
2694 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2699 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2701 if (initial_ref
) Py_XINCREF(_obj
);
2704 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2706 Py_XINCREF(item
._obj
);
2717 operator PyObject
*() const
2722 PyObject
*operator->() const
2731 struct PyObject_var
: PyObject_ptr
{
2732 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2734 PyObject_var
& operator = (PyObject
* obj
)
2744 #include "wx/wxPython/wxPython.h"
2745 #include "wx/wxPython/pyclasses.h"
2747 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2748 static const wxString
wxPyEmptyString(wxEmptyString
);
2749 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2751 const wxArrayString wxPyEmptyStringArray
;
2753 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2755 #define SWIG_From_long PyInt_FromLong
2758 SWIGINTERNINLINE PyObject
*
2759 SWIG_From_int (int value
)
2761 return SWIG_From_long (value
);
2767 # define LLONG_MIN LONG_LONG_MIN
2770 # define LLONG_MAX LONG_LONG_MAX
2773 # define ULLONG_MAX ULONG_LONG_MAX
2778 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2780 if (PyNumber_Check(obj
)) {
2781 if (val
) *val
= PyInt_AsLong(obj
);
2784 return SWIG_TypeError
;
2789 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2792 int res
= SWIG_AsVal_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< int >(v
);
2803 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2806 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2808 if (obj
== Py_True
) {
2809 if (val
) *val
= true;
2811 } else if (obj
== Py_False
) {
2812 if (val
) *val
= false;
2816 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2817 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2822 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2823 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2824 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2825 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2826 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2827 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2830 #include <wx/checklst.h>
2832 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2833 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2836 wxPyClientData
* data
= new wxPyClientData(clientData
);
2837 self
->Insert(item
, pos
, data
);
2840 self
->Insert(item
, pos
);
2844 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2847 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2848 return SWIG_TypeError
;
2851 *val
= (unsigned long)v
;
2857 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2860 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2861 if (SWIG_IsOK(res
)) {
2862 if ((v
> UINT_MAX
)) {
2863 return SWIG_OverflowError
;
2865 if (val
) *val
= static_cast< unsigned int >(v
);
2871 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2874 self
->GetSelections(lst
);
2875 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2876 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2878 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2880 wxPyEndBlockThreads(blocked
);
2883 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2885 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2886 self
->GetItem(item
)->SetTextColour(c
);
2889 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2891 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2892 self
->GetItem(item
)->SetBackgroundColour(c
);
2895 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2897 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2898 self
->GetItem(item
)->SetFont(f
);
2901 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2902 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2903 self
->AppendText(text
);
2905 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2906 return self
->GetValue().Mid(from
, to
- from
);
2908 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2909 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2910 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2911 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2912 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2914 SWIGINTERNINLINE PyObject
*
2915 SWIG_From_unsigned_SS_long (unsigned long value
)
2917 return (value
> LONG_MAX
) ?
2918 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2922 SWIGINTERNINLINE PyObject
*
2923 SWIG_From_size_t (size_t value
)
2925 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2929 SWIGINTERNINLINE PyObject
*
2930 SWIG_From_unsigned_SS_int (unsigned int value
)
2932 return SWIG_From_unsigned_SS_long (value
);
2936 #include <wx/slider.h>
2939 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2940 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2942 #if !wxUSE_TOGGLEBTN
2943 // implement dummy items for platforms that don't have this class
2945 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2947 class wxToggleButton
: public wxControl
2950 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2951 const wxPoint
&, const wxSize
&, long,
2952 const wxValidator
&, const wxString
&)
2953 { wxPyRaiseNotImplemented(); }
2956 { wxPyRaiseNotImplemented(); }
2960 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2962 SWIGINTERNINLINE
int
2963 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2966 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2967 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2971 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2972 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2973 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2975 Py_INCREF(udata
->m_obj
);
2976 return udata
->m_obj
;
2982 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2983 self
->SetClientData(new wxPyUserData(clientData
));
2985 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2986 wxPyUserData
* udata
= NULL
;
2987 if (clientData
&& clientData
!= Py_None
)
2988 udata
= new wxPyUserData(clientData
);
2989 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2990 shortHelp
, longHelp
, udata
);
2992 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2993 wxPyUserData
* udata
= NULL
;
2994 if (clientData
&& clientData
!= Py_None
)
2995 udata
= new wxPyUserData(clientData
);
2996 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2997 shortHelp
, longHelp
, udata
);
2999 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3000 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3002 Py_INCREF(udata
->m_obj
);
3003 return udata
->m_obj
;
3009 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3010 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3013 #include <wx/listctrl.h>
3015 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3016 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3017 // Python aware sorting function for wxPyListCtrl
3018 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3020 PyObject
* func
= (PyObject
*)funcPtr
;
3021 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3023 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3024 PyObject
* result
= PyEval_CallObject(func
, args
);
3027 retval
= PyInt_AsLong(result
);
3031 wxPyEndBlockThreads(blocked
);
3035 // C++ Version of a Python aware class
3036 class wxPyListCtrl
: public wxListCtrl
{
3037 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3039 wxPyListCtrl() : wxListCtrl() {}
3040 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3044 const wxValidator
& validator
,
3045 const wxString
& name
) :
3046 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3048 bool Create(wxWindow
* parent
, wxWindowID id
,
3052 const wxValidator
& validator
,
3053 const wxString
& name
) {
3054 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3057 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3058 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3060 // use the virtual version to avoid a confusing assert in the base class
3061 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3062 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3067 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3069 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3070 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3071 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3072 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3075 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3077 item
.SetMask( wxLIST_MASK_STATE
|
3085 if (self
->GetColumn(col
, item
))
3086 return new wxListItem(item
);
3090 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3091 wxListItem
* info
= new wxListItem
;
3092 info
->m_itemId
= itemId
;
3094 info
->m_mask
= 0xFFFF;
3095 self
->GetItem(*info
);
3098 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3100 self
->GetItemPosition(item
, pos
);
3103 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3105 self
->GetItemRect(item
, rect
, code
);
3108 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3109 if (!PyCallable_Check(func
))
3111 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3113 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3121 #include <wx/treectrl.h>
3122 #include "wx/wxPython/pytree.h"
3124 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3125 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3126 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3127 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3129 static wxTreeItemId wxNullTreeItemId
;
3131 // C++ version of Python aware wxTreeCtrl
3132 class wxPyTreeCtrl
: public wxTreeCtrl
{
3133 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3135 wxPyTreeCtrl() : wxTreeCtrl() {}
3136 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3140 const wxValidator
& validator
,
3141 const wxString
& name
) :
3142 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3144 bool Create(wxWindow
*parent
, wxWindowID id
,
3148 const wxValidator
& validator
,
3149 const wxString
& name
) {
3150 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3154 int OnCompareItems(const wxTreeItemId
& item1
,
3155 const wxTreeItemId
& item2
) {
3158 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3159 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3160 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3161 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3162 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3166 wxPyEndBlockThreads(blocked
);
3168 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3174 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3177 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3178 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3180 data
= new wxPyTreeItemData();
3181 data
->SetId(item
); // set the id
3182 self
->SetItemData(item
, data
);
3186 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3187 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3189 data
= new wxPyTreeItemData();
3190 data
->SetId(item
); // set the id
3191 self
->SetItemData(item
, data
);
3193 return data
->GetData();
3195 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3196 data
->SetId(item
); // set the id
3197 self
->SetItemData(item
, data
);
3199 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3200 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3202 data
= new wxPyTreeItemData(obj
);
3203 data
->SetId(item
); // set the id
3204 self
->SetItemData(item
, data
);
3208 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3210 PyObject
* rval
= PyList_New(0);
3211 wxArrayTreeItemIds array
;
3213 num
= self
->GetSelections(array
);
3214 for (x
=0; x
< num
; x
++) {
3215 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3216 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3217 PyList_Append(rval
, item
);
3220 wxPyEndBlockThreads(blocked
);
3223 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3225 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3226 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3227 PyObject
* tup
= PyTuple_New(2);
3228 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3229 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3230 wxPyEndBlockThreads(blocked
);
3233 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3234 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3235 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3236 PyObject
* tup
= PyTuple_New(2);
3237 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3238 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3239 wxPyEndBlockThreads(blocked
);
3242 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3244 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3245 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3246 wxRect
* r
= new wxRect(rect
);
3247 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3248 wxPyEndBlockThreads(blocked
);
3254 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3256 SWIGINTERNINLINE PyObject
*
3257 SWIG_From_bool (bool value
)
3259 return PyBool_FromLong(value
? 1 : 0);
3262 // C++ version of Python aware wxControl
3263 class wxPyControl
: public wxControl
3265 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3267 wxPyControl() : wxControl() {}
3268 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3269 const wxPoint
& pos
= wxDefaultPosition
,
3270 const wxSize
& size
= wxDefaultSize
,
3272 const wxValidator
& validator
=wxDefaultValidator
,
3273 const wxString
& name
= wxPyControlNameStr
)
3274 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3277 bool DoEraseBackground(wxDC
* dc
) {
3279 return wxWindow::DoEraseBackground(dc
->GetHDC());
3281 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3287 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3288 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3296 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3299 DEC_PYCALLBACK__(InitDialog
);
3300 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3302 DEC_PYCALLBACK_BOOL_(Validate
);
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3306 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3308 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3311 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3312 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3314 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3316 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3321 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3323 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3324 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3325 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3332 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3335 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3336 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3340 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3342 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3347 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3348 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3350 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3352 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3356 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3358 #include <wx/generic/dragimgg.h>
3360 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3361 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3363 self
->GetRange(&rv
, NULL
);
3366 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3368 self
->GetRange(NULL
, &rv
);
3371 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3372 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3373 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3374 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3375 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3376 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3377 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3378 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3379 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3380 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3381 SWIGINTERN
void wxSearchCtrl_SetSearchBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3382 SWIGINTERN
void wxSearchCtrl_SetSearchMenuBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3383 SWIGINTERN
void wxSearchCtrl_SetCancelBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3387 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3388 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3393 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3394 PyObject
*pyobj
= 0;
3398 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3400 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3407 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
= 0;
3409 wxWindow
*arg1
= (wxWindow
*) 0 ;
3410 int arg2
= (int) -1 ;
3411 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3412 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3413 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3414 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3415 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3416 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3417 long arg6
= (long) 0 ;
3418 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3419 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3420 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3421 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3422 wxButton
*result
= 0 ;
3427 bool temp3
= false ;
3434 bool temp8
= false ;
3435 PyObject
* obj0
= 0 ;
3436 PyObject
* obj1
= 0 ;
3437 PyObject
* obj2
= 0 ;
3438 PyObject
* obj3
= 0 ;
3439 PyObject
* obj4
= 0 ;
3440 PyObject
* obj5
= 0 ;
3441 PyObject
* obj6
= 0 ;
3442 PyObject
* obj7
= 0 ;
3443 char * kwnames
[] = {
3444 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3449 if (!SWIG_IsOK(res1
)) {
3450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3452 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3455 if (!SWIG_IsOK(ecode2
)) {
3456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3458 arg2
= static_cast< int >(val2
);
3462 arg3
= wxString_in_helper(obj2
);
3463 if (arg3
== NULL
) SWIG_fail
;
3470 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3476 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3480 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3481 if (!SWIG_IsOK(ecode6
)) {
3482 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3484 arg6
= static_cast< long >(val6
);
3487 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3488 if (!SWIG_IsOK(res7
)) {
3489 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3494 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3498 arg8
= wxString_in_helper(obj7
);
3499 if (arg8
== NULL
) SWIG_fail
;
3504 if (!wxPyCheckForApp()) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3533 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3534 PyObject
*resultobj
= 0;
3535 wxButton
*result
= 0 ;
3537 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3539 if (!wxPyCheckForApp()) SWIG_fail
;
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 result
= (wxButton
*)new wxButton();
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3552 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
*resultobj
= 0;
3554 wxButton
*arg1
= (wxButton
*) 0 ;
3555 wxWindow
*arg2
= (wxWindow
*) 0 ;
3556 int arg3
= (int) -1 ;
3557 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3558 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3559 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3560 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3561 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3562 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3563 long arg7
= (long) 0 ;
3564 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3565 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3566 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3567 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3575 bool temp4
= false ;
3582 bool temp9
= false ;
3583 PyObject
* obj0
= 0 ;
3584 PyObject
* obj1
= 0 ;
3585 PyObject
* obj2
= 0 ;
3586 PyObject
* obj3
= 0 ;
3587 PyObject
* obj4
= 0 ;
3588 PyObject
* obj5
= 0 ;
3589 PyObject
* obj6
= 0 ;
3590 PyObject
* obj7
= 0 ;
3591 PyObject
* obj8
= 0 ;
3592 char * kwnames
[] = {
3593 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3598 if (!SWIG_IsOK(res1
)) {
3599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3601 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3602 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3603 if (!SWIG_IsOK(res2
)) {
3604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3606 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3609 if (!SWIG_IsOK(ecode3
)) {
3610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3612 arg3
= static_cast< int >(val3
);
3616 arg4
= wxString_in_helper(obj3
);
3617 if (arg4
== NULL
) SWIG_fail
;
3624 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3630 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3634 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3635 if (!SWIG_IsOK(ecode7
)) {
3636 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3638 arg7
= static_cast< long >(val7
);
3641 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3642 if (!SWIG_IsOK(res8
)) {
3643 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3648 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3652 arg9
= wxString_in_helper(obj8
);
3653 if (arg9
== NULL
) SWIG_fail
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3688 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3689 PyObject
*resultobj
= 0;
3690 wxButton
*arg1
= (wxButton
*) 0 ;
3693 PyObject
*swig_obj
[1] ;
3695 if (!args
) SWIG_fail
;
3697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3698 if (!SWIG_IsOK(res1
)) {
3699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3701 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 (arg1
)->SetDefault();
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3708 resultobj
= SWIG_Py_Void();
3715 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3716 PyObject
*resultobj
= 0;
3719 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 result
= wxButton::GetDefaultSize();
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) SWIG_fail
;
3726 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3733 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
*resultobj
= 0;
3735 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3736 SwigValueWrapper
<wxVisualAttributes
> result
;
3739 PyObject
* obj0
= 0 ;
3740 char * kwnames
[] = {
3741 (char *) "variant", NULL
3744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3746 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3747 if (!SWIG_IsOK(ecode1
)) {
3748 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3750 arg1
= static_cast< wxWindowVariant
>(val1
);
3753 if (!wxPyCheckForApp()) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 result
= wxButton::GetClassDefaultAttributes(arg1
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3766 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3769 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3770 return SWIG_Py_Void();
3773 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3774 return SWIG_Python_InitShadowInstance(args
);
3777 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
= 0;
3779 wxWindow
*arg1
= (wxWindow
*) 0 ;
3780 int arg2
= (int) -1 ;
3781 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3782 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3783 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3784 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3785 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3786 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3787 long arg6
= (long) wxBU_AUTODRAW
;
3788 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3789 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3790 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3791 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3792 wxBitmapButton
*result
= 0 ;
3805 bool temp8
= false ;
3806 PyObject
* obj0
= 0 ;
3807 PyObject
* obj1
= 0 ;
3808 PyObject
* obj2
= 0 ;
3809 PyObject
* obj3
= 0 ;
3810 PyObject
* obj4
= 0 ;
3811 PyObject
* obj5
= 0 ;
3812 PyObject
* obj6
= 0 ;
3813 PyObject
* obj7
= 0 ;
3814 char * kwnames
[] = {
3815 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3820 if (!SWIG_IsOK(res1
)) {
3821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3823 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3826 if (!SWIG_IsOK(ecode2
)) {
3827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3829 arg2
= static_cast< int >(val2
);
3832 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3833 if (!SWIG_IsOK(res3
)) {
3834 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3839 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3844 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3850 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3854 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3855 if (!SWIG_IsOK(ecode6
)) {
3856 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3858 arg6
= static_cast< long >(val6
);
3861 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3862 if (!SWIG_IsOK(res7
)) {
3863 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3868 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3872 arg8
= wxString_in_helper(obj7
);
3873 if (arg8
== NULL
) SWIG_fail
;
3878 if (!wxPyCheckForApp()) SWIG_fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3899 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3900 PyObject
*resultobj
= 0;
3901 wxBitmapButton
*result
= 0 ;
3903 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3905 if (!wxPyCheckForApp()) SWIG_fail
;
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 result
= (wxBitmapButton
*)new wxBitmapButton();
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3918 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
= 0;
3920 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3921 wxWindow
*arg2
= (wxWindow
*) 0 ;
3922 int arg3
= (int) -1 ;
3923 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3924 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3925 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3926 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3927 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3928 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3929 long arg7
= (long) wxBU_AUTODRAW
;
3930 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3931 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3932 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3933 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3949 bool temp9
= false ;
3950 PyObject
* obj0
= 0 ;
3951 PyObject
* obj1
= 0 ;
3952 PyObject
* obj2
= 0 ;
3953 PyObject
* obj3
= 0 ;
3954 PyObject
* obj4
= 0 ;
3955 PyObject
* obj5
= 0 ;
3956 PyObject
* obj6
= 0 ;
3957 PyObject
* obj7
= 0 ;
3958 PyObject
* obj8
= 0 ;
3959 char * kwnames
[] = {
3960 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3965 if (!SWIG_IsOK(res1
)) {
3966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3968 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3970 if (!SWIG_IsOK(res2
)) {
3971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3973 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3976 if (!SWIG_IsOK(ecode3
)) {
3977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3979 arg3
= static_cast< int >(val3
);
3982 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3983 if (!SWIG_IsOK(res4
)) {
3984 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3989 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3994 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4000 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4004 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4005 if (!SWIG_IsOK(ecode7
)) {
4006 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4008 arg7
= static_cast< long >(val7
);
4011 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4012 if (!SWIG_IsOK(res8
)) {
4013 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4018 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4022 arg9
= wxString_in_helper(obj8
);
4023 if (arg9
== NULL
) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4050 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4051 PyObject
*resultobj
= 0;
4052 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4056 PyObject
*swig_obj
[1] ;
4058 if (!args
) SWIG_fail
;
4060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4061 if (!SWIG_IsOK(res1
)) {
4062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4064 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= (arg1
)->GetBitmapLabel();
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4078 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4079 PyObject
*resultobj
= 0;
4080 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4084 PyObject
*swig_obj
[1] ;
4086 if (!args
) SWIG_fail
;
4088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4089 if (!SWIG_IsOK(res1
)) {
4090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4092 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 result
= (arg1
)->GetBitmapDisabled();
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4106 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4107 PyObject
*resultobj
= 0;
4108 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4112 PyObject
*swig_obj
[1] ;
4114 if (!args
) SWIG_fail
;
4116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4117 if (!SWIG_IsOK(res1
)) {
4118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4120 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= (arg1
)->GetBitmapFocus();
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4127 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4134 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4135 PyObject
*resultobj
= 0;
4136 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4140 PyObject
*swig_obj
[1] ;
4142 if (!args
) SWIG_fail
;
4144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4145 if (!SWIG_IsOK(res1
)) {
4146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4148 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 result
= (arg1
)->GetBitmapSelected();
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4162 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4163 PyObject
*resultobj
= 0;
4164 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4168 PyObject
*swig_obj
[1] ;
4170 if (!args
) SWIG_fail
;
4172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4173 if (!SWIG_IsOK(res1
)) {
4174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4176 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 result
= (arg1
)->GetBitmapHover();
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4183 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4190 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
= 0;
4192 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4193 wxBitmap
*arg2
= 0 ;
4198 PyObject
* obj0
= 0 ;
4199 PyObject
* obj1
= 0 ;
4200 char * kwnames
[] = {
4201 (char *) "self",(char *) "bitmap", NULL
4204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4206 if (!SWIG_IsOK(res1
)) {
4207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4209 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4210 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4211 if (!SWIG_IsOK(res2
)) {
4212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4217 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= SWIG_Py_Void();
4231 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
= 0;
4233 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4234 wxBitmap
*arg2
= 0 ;
4239 PyObject
* obj0
= 0 ;
4240 PyObject
* obj1
= 0 ;
4241 char * kwnames
[] = {
4242 (char *) "self",(char *) "bitmap", NULL
4245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4247 if (!SWIG_IsOK(res1
)) {
4248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4250 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4252 if (!SWIG_IsOK(res2
)) {
4253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4258 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 resultobj
= SWIG_Py_Void();
4272 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
= 0;
4274 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4275 wxBitmap
*arg2
= 0 ;
4280 PyObject
* obj0
= 0 ;
4281 PyObject
* obj1
= 0 ;
4282 char * kwnames
[] = {
4283 (char *) "self",(char *) "bitmap", NULL
4286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4288 if (!SWIG_IsOK(res1
)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4291 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4292 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4293 if (!SWIG_IsOK(res2
)) {
4294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4299 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= SWIG_Py_Void();
4313 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
= 0;
4315 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4316 wxBitmap
*arg2
= 0 ;
4321 PyObject
* obj0
= 0 ;
4322 PyObject
* obj1
= 0 ;
4323 char * kwnames
[] = {
4324 (char *) "self",(char *) "bitmap", NULL
4327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4329 if (!SWIG_IsOK(res1
)) {
4330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4332 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4334 if (!SWIG_IsOK(res2
)) {
4335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4340 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= SWIG_Py_Void();
4354 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
*resultobj
= 0;
4356 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4357 wxBitmap
*arg2
= 0 ;
4362 PyObject
* obj0
= 0 ;
4363 PyObject
* obj1
= 0 ;
4364 char * kwnames
[] = {
4365 (char *) "self",(char *) "hover", NULL
4368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4370 if (!SWIG_IsOK(res1
)) {
4371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4373 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4375 if (!SWIG_IsOK(res2
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4381 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4384 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 resultobj
= SWIG_Py_Void();
4395 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
= 0;
4397 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4406 PyObject
* obj0
= 0 ;
4407 PyObject
* obj1
= 0 ;
4408 PyObject
* obj2
= 0 ;
4409 char * kwnames
[] = {
4410 (char *) "self",(char *) "x",(char *) "y", NULL
4413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4415 if (!SWIG_IsOK(res1
)) {
4416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4418 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4420 if (!SWIG_IsOK(ecode2
)) {
4421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4423 arg2
= static_cast< int >(val2
);
4424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4425 if (!SWIG_IsOK(ecode3
)) {
4426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4428 arg3
= static_cast< int >(val3
);
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 (arg1
)->SetMargins(arg2
,arg3
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4435 resultobj
= SWIG_Py_Void();
4442 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4443 PyObject
*resultobj
= 0;
4444 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4448 PyObject
*swig_obj
[1] ;
4450 if (!args
) SWIG_fail
;
4452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4453 if (!SWIG_IsOK(res1
)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4456 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 resultobj
= SWIG_From_int(static_cast< int >(result
));
4470 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4471 PyObject
*resultobj
= 0;
4472 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4476 PyObject
*swig_obj
[1] ;
4478 if (!args
) SWIG_fail
;
4480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4481 if (!SWIG_IsOK(res1
)) {
4482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4484 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4491 resultobj
= SWIG_From_int(static_cast< int >(result
));
4498 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4501 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4502 return SWIG_Py_Void();
4505 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4506 return SWIG_Python_InitShadowInstance(args
);
4509 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4510 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4515 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4516 PyObject
*pyobj
= 0;
4520 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4522 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4529 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
= 0;
4531 wxWindow
*arg1
= (wxWindow
*) 0 ;
4532 int arg2
= (int) -1 ;
4533 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4534 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4535 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4536 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4537 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4538 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4539 long arg6
= (long) 0 ;
4540 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4541 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4542 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4543 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4544 wxCheckBox
*result
= 0 ;
4549 bool temp3
= false ;
4556 bool temp8
= false ;
4557 PyObject
* obj0
= 0 ;
4558 PyObject
* obj1
= 0 ;
4559 PyObject
* obj2
= 0 ;
4560 PyObject
* obj3
= 0 ;
4561 PyObject
* obj4
= 0 ;
4562 PyObject
* obj5
= 0 ;
4563 PyObject
* obj6
= 0 ;
4564 PyObject
* obj7
= 0 ;
4565 char * kwnames
[] = {
4566 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4571 if (!SWIG_IsOK(res1
)) {
4572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4574 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4577 if (!SWIG_IsOK(ecode2
)) {
4578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4580 arg2
= static_cast< int >(val2
);
4584 arg3
= wxString_in_helper(obj2
);
4585 if (arg3
== NULL
) SWIG_fail
;
4592 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4598 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4602 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4603 if (!SWIG_IsOK(ecode6
)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4606 arg6
= static_cast< long >(val6
);
4609 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4610 if (!SWIG_IsOK(res7
)) {
4611 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4616 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4620 arg8
= wxString_in_helper(obj7
);
4621 if (arg8
== NULL
) SWIG_fail
;
4626 if (!wxPyCheckForApp()) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4655 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4656 PyObject
*resultobj
= 0;
4657 wxCheckBox
*result
= 0 ;
4659 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4661 if (!wxPyCheckForApp()) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 result
= (wxCheckBox
*)new wxCheckBox();
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4674 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
= 0;
4676 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4677 wxWindow
*arg2
= (wxWindow
*) 0 ;
4678 int arg3
= (int) -1 ;
4679 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4680 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4681 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4682 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4683 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4684 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4685 long arg7
= (long) 0 ;
4686 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4687 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4688 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4689 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4697 bool temp4
= false ;
4704 bool temp9
= false ;
4705 PyObject
* obj0
= 0 ;
4706 PyObject
* obj1
= 0 ;
4707 PyObject
* obj2
= 0 ;
4708 PyObject
* obj3
= 0 ;
4709 PyObject
* obj4
= 0 ;
4710 PyObject
* obj5
= 0 ;
4711 PyObject
* obj6
= 0 ;
4712 PyObject
* obj7
= 0 ;
4713 PyObject
* obj8
= 0 ;
4714 char * kwnames
[] = {
4715 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4720 if (!SWIG_IsOK(res1
)) {
4721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4723 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4725 if (!SWIG_IsOK(res2
)) {
4726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4728 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4731 if (!SWIG_IsOK(ecode3
)) {
4732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4734 arg3
= static_cast< int >(val3
);
4738 arg4
= wxString_in_helper(obj3
);
4739 if (arg4
== NULL
) SWIG_fail
;
4746 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4752 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4756 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4757 if (!SWIG_IsOK(ecode7
)) {
4758 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4760 arg7
= static_cast< long >(val7
);
4763 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4764 if (!SWIG_IsOK(res8
)) {
4765 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4770 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4774 arg9
= wxString_in_helper(obj8
);
4775 if (arg9
== NULL
) SWIG_fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4810 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4811 PyObject
*resultobj
= 0;
4812 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4816 PyObject
*swig_obj
[1] ;
4818 if (!args
) SWIG_fail
;
4820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4821 if (!SWIG_IsOK(res1
)) {
4822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4824 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= (bool)(arg1
)->GetValue();
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4840 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4841 PyObject
*resultobj
= 0;
4842 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4846 PyObject
*swig_obj
[1] ;
4848 if (!args
) SWIG_fail
;
4850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4851 if (!SWIG_IsOK(res1
)) {
4852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4854 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 result
= (bool)(arg1
)->IsChecked();
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4870 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
= 0;
4872 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4878 PyObject
* obj0
= 0 ;
4879 PyObject
* obj1
= 0 ;
4880 char * kwnames
[] = {
4881 (char *) "self",(char *) "state", NULL
4884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4886 if (!SWIG_IsOK(res1
)) {
4887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4889 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4890 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4891 if (!SWIG_IsOK(ecode2
)) {
4892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4894 arg2
= static_cast< bool >(val2
);
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 (arg1
)->SetValue(arg2
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4901 resultobj
= SWIG_Py_Void();
4908 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4909 PyObject
*resultobj
= 0;
4910 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4911 wxCheckBoxState result
;
4914 PyObject
*swig_obj
[1] ;
4916 if (!args
) SWIG_fail
;
4918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4919 if (!SWIG_IsOK(res1
)) {
4920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4922 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 resultobj
= SWIG_From_int(static_cast< int >(result
));
4936 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
*resultobj
= 0;
4938 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4939 wxCheckBoxState arg2
;
4944 PyObject
* obj0
= 0 ;
4945 PyObject
* obj1
= 0 ;
4946 char * kwnames
[] = {
4947 (char *) "self",(char *) "state", NULL
4950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4952 if (!SWIG_IsOK(res1
)) {
4953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4955 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4957 if (!SWIG_IsOK(ecode2
)) {
4958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4960 arg2
= static_cast< wxCheckBoxState
>(val2
);
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 (arg1
)->Set3StateValue(arg2
);
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4967 resultobj
= SWIG_Py_Void();
4974 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4975 PyObject
*resultobj
= 0;
4976 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4980 PyObject
*swig_obj
[1] ;
4982 if (!args
) SWIG_fail
;
4984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4985 if (!SWIG_IsOK(res1
)) {
4986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4988 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5004 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5005 PyObject
*resultobj
= 0;
5006 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5010 PyObject
*swig_obj
[1] ;
5012 if (!args
) SWIG_fail
;
5014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5015 if (!SWIG_IsOK(res1
)) {
5016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5018 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5034 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
*resultobj
= 0;
5036 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5037 SwigValueWrapper
<wxVisualAttributes
> result
;
5040 PyObject
* obj0
= 0 ;
5041 char * kwnames
[] = {
5042 (char *) "variant", NULL
5045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5047 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5048 if (!SWIG_IsOK(ecode1
)) {
5049 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5051 arg1
= static_cast< wxWindowVariant
>(val1
);
5054 if (!wxPyCheckForApp()) SWIG_fail
;
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5056 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5067 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5070 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5071 return SWIG_Py_Void();
5074 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5075 return SWIG_Python_InitShadowInstance(args
);
5078 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5079 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5084 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5085 PyObject
*pyobj
= 0;
5089 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5091 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5098 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
*resultobj
= 0;
5100 wxWindow
*arg1
= (wxWindow
*) 0 ;
5101 int arg2
= (int) -1 ;
5102 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5103 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5104 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5105 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5106 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5107 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5108 long arg6
= (long) 0 ;
5109 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5110 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5111 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5112 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5113 wxChoice
*result
= 0 ;
5120 bool temp5
= false ;
5125 bool temp8
= false ;
5126 PyObject
* obj0
= 0 ;
5127 PyObject
* obj1
= 0 ;
5128 PyObject
* obj2
= 0 ;
5129 PyObject
* obj3
= 0 ;
5130 PyObject
* obj4
= 0 ;
5131 PyObject
* obj5
= 0 ;
5132 PyObject
* obj6
= 0 ;
5133 PyObject
* obj7
= 0 ;
5134 char * kwnames
[] = {
5135 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5140 if (!SWIG_IsOK(res1
)) {
5141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5143 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5146 if (!SWIG_IsOK(ecode2
)) {
5147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5149 arg2
= static_cast< int >(val2
);
5154 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5160 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5165 if (! PySequence_Check(obj4
)) {
5166 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5169 arg5
= new wxArrayString
;
5171 int i
, len
=PySequence_Length(obj4
);
5172 for (i
=0; i
<len
; i
++) {
5173 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5174 wxString
* s
= wxString_in_helper(item
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5183 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5184 if (!SWIG_IsOK(ecode6
)) {
5185 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5187 arg6
= static_cast< long >(val6
);
5190 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5191 if (!SWIG_IsOK(res7
)) {
5192 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5197 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5201 arg8
= wxString_in_helper(obj7
);
5202 if (arg8
== NULL
) SWIG_fail
;
5207 if (!wxPyCheckForApp()) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5215 if (temp5
) delete arg5
;
5224 if (temp5
) delete arg5
;
5234 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5235 PyObject
*resultobj
= 0;
5236 wxChoice
*result
= 0 ;
5238 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5240 if (!wxPyCheckForApp()) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 result
= (wxChoice
*)new wxChoice();
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5253 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
= 0;
5255 wxChoice
*arg1
= (wxChoice
*) 0 ;
5256 wxWindow
*arg2
= (wxWindow
*) 0 ;
5257 int arg3
= (int) -1 ;
5258 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5259 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5260 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5261 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5262 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5263 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5264 long arg7
= (long) 0 ;
5265 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5266 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5267 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5268 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5278 bool temp6
= false ;
5283 bool temp9
= false ;
5284 PyObject
* obj0
= 0 ;
5285 PyObject
* obj1
= 0 ;
5286 PyObject
* obj2
= 0 ;
5287 PyObject
* obj3
= 0 ;
5288 PyObject
* obj4
= 0 ;
5289 PyObject
* obj5
= 0 ;
5290 PyObject
* obj6
= 0 ;
5291 PyObject
* obj7
= 0 ;
5292 PyObject
* obj8
= 0 ;
5293 char * kwnames
[] = {
5294 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5299 if (!SWIG_IsOK(res1
)) {
5300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5302 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5303 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5304 if (!SWIG_IsOK(res2
)) {
5305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5307 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5310 if (!SWIG_IsOK(ecode3
)) {
5311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5313 arg3
= static_cast< int >(val3
);
5318 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5324 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5329 if (! PySequence_Check(obj5
)) {
5330 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5333 arg6
= new wxArrayString
;
5335 int i
, len
=PySequence_Length(obj5
);
5336 for (i
=0; i
<len
; i
++) {
5337 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5338 wxString
* s
= wxString_in_helper(item
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5347 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5348 if (!SWIG_IsOK(ecode7
)) {
5349 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5351 arg7
= static_cast< long >(val7
);
5354 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5355 if (!SWIG_IsOK(res8
)) {
5356 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5361 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5365 arg9
= wxString_in_helper(obj8
);
5366 if (arg9
== NULL
) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5380 if (temp6
) delete arg6
;
5389 if (temp6
) delete arg6
;
5399 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5400 PyObject
*resultobj
= 0;
5401 wxChoice
*arg1
= (wxChoice
*) 0 ;
5405 PyObject
*swig_obj
[1] ;
5407 if (!args
) SWIG_fail
;
5409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5410 if (!SWIG_IsOK(res1
)) {
5411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5413 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= SWIG_From_int(static_cast< int >(result
));
5427 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
= 0;
5429 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5430 SwigValueWrapper
<wxVisualAttributes
> result
;
5433 PyObject
* obj0
= 0 ;
5434 char * kwnames
[] = {
5435 (char *) "variant", NULL
5438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5440 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5441 if (!SWIG_IsOK(ecode1
)) {
5442 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5444 arg1
= static_cast< wxWindowVariant
>(val1
);
5447 if (!wxPyCheckForApp()) SWIG_fail
;
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5460 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5463 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5464 return SWIG_Py_Void();
5467 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5468 return SWIG_Python_InitShadowInstance(args
);
5471 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5472 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5477 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5478 PyObject
*pyobj
= 0;
5482 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5484 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5491 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
= 0;
5493 wxWindow
*arg1
= (wxWindow
*) 0 ;
5494 int arg2
= (int) -1 ;
5495 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5496 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5497 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5498 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5499 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5500 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5501 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5502 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5503 long arg7
= (long) 0 ;
5504 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5505 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5506 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5507 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5508 wxComboBox
*result
= 0 ;
5513 bool temp3
= false ;
5516 bool temp6
= false ;
5521 bool temp9
= false ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5524 PyObject
* obj2
= 0 ;
5525 PyObject
* obj3
= 0 ;
5526 PyObject
* obj4
= 0 ;
5527 PyObject
* obj5
= 0 ;
5528 PyObject
* obj6
= 0 ;
5529 PyObject
* obj7
= 0 ;
5530 PyObject
* obj8
= 0 ;
5531 char * kwnames
[] = {
5532 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5537 if (!SWIG_IsOK(res1
)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5540 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5543 if (!SWIG_IsOK(ecode2
)) {
5544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5546 arg2
= static_cast< int >(val2
);
5550 arg3
= wxString_in_helper(obj2
);
5551 if (arg3
== NULL
) SWIG_fail
;
5558 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5564 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5569 if (! PySequence_Check(obj5
)) {
5570 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5573 arg6
= new wxArrayString
;
5575 int i
, len
=PySequence_Length(obj5
);
5576 for (i
=0; i
<len
; i
++) {
5577 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5578 wxString
* s
= wxString_in_helper(item
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5587 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5588 if (!SWIG_IsOK(ecode7
)) {
5589 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5591 arg7
= static_cast< long >(val7
);
5594 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5595 if (!SWIG_IsOK(res8
)) {
5596 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5601 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5605 arg9
= wxString_in_helper(obj8
);
5606 if (arg9
== NULL
) SWIG_fail
;
5611 if (!wxPyCheckForApp()) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 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
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5623 if (temp6
) delete arg6
;
5636 if (temp6
) delete arg6
;
5646 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5647 PyObject
*resultobj
= 0;
5648 wxComboBox
*result
= 0 ;
5650 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5652 if (!wxPyCheckForApp()) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (wxComboBox
*)new wxComboBox();
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5665 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
= 0;
5667 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5668 wxWindow
*arg2
= (wxWindow
*) 0 ;
5669 int arg3
= (int) -1 ;
5670 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5671 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5672 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5673 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5674 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5675 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5676 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5677 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5678 long arg8
= (long) 0 ;
5679 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5680 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5681 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5682 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5690 bool temp4
= false ;
5693 bool temp7
= false ;
5698 bool temp10
= false ;
5699 PyObject
* obj0
= 0 ;
5700 PyObject
* obj1
= 0 ;
5701 PyObject
* obj2
= 0 ;
5702 PyObject
* obj3
= 0 ;
5703 PyObject
* obj4
= 0 ;
5704 PyObject
* obj5
= 0 ;
5705 PyObject
* obj6
= 0 ;
5706 PyObject
* obj7
= 0 ;
5707 PyObject
* obj8
= 0 ;
5708 PyObject
* obj9
= 0 ;
5709 char * kwnames
[] = {
5710 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5715 if (!SWIG_IsOK(res1
)) {
5716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5718 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5720 if (!SWIG_IsOK(res2
)) {
5721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5723 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5725 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5726 if (!SWIG_IsOK(ecode3
)) {
5727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5729 arg3
= static_cast< int >(val3
);
5733 arg4
= wxString_in_helper(obj3
);
5734 if (arg4
== NULL
) SWIG_fail
;
5741 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5747 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5752 if (! PySequence_Check(obj6
)) {
5753 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5756 arg7
= new wxArrayString
;
5758 int i
, len
=PySequence_Length(obj6
);
5759 for (i
=0; i
<len
; i
++) {
5760 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5761 wxString
* s
= wxString_in_helper(item
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5770 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5771 if (!SWIG_IsOK(ecode8
)) {
5772 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5774 arg8
= static_cast< long >(val8
);
5777 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5778 if (!SWIG_IsOK(res9
)) {
5779 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5784 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5788 arg10
= wxString_in_helper(obj9
);
5789 if (arg10
== NULL
) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 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
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5807 if (temp7
) delete arg7
;
5820 if (temp7
) delete arg7
;
5830 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5831 PyObject
*resultobj
= 0;
5832 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5836 PyObject
*swig_obj
[1] ;
5838 if (!args
) SWIG_fail
;
5840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5841 if (!SWIG_IsOK(res1
)) {
5842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5844 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 result
= ((wxComboBox
const *)arg1
)->GetValue();
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5864 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
= 0;
5866 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5867 wxString
*arg2
= 0 ;
5870 bool temp2
= false ;
5871 PyObject
* obj0
= 0 ;
5872 PyObject
* obj1
= 0 ;
5873 char * kwnames
[] = {
5874 (char *) "self",(char *) "value", NULL
5877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5879 if (!SWIG_IsOK(res1
)) {
5880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5882 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5884 arg2
= wxString_in_helper(obj1
);
5885 if (arg2
== NULL
) SWIG_fail
;
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 (arg1
)->SetValue((wxString
const &)*arg2
);
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= SWIG_Py_Void();
5909 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5910 PyObject
*resultobj
= 0;
5911 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5914 PyObject
*swig_obj
[1] ;
5916 if (!args
) SWIG_fail
;
5918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5919 if (!SWIG_IsOK(res1
)) {
5920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5922 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5929 resultobj
= SWIG_Py_Void();
5936 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5937 PyObject
*resultobj
= 0;
5938 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5941 PyObject
*swig_obj
[1] ;
5943 if (!args
) SWIG_fail
;
5945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5946 if (!SWIG_IsOK(res1
)) {
5947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5949 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= SWIG_Py_Void();
5963 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5964 PyObject
*resultobj
= 0;
5965 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5968 PyObject
*swig_obj
[1] ;
5970 if (!args
) SWIG_fail
;
5972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5973 if (!SWIG_IsOK(res1
)) {
5974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5976 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= SWIG_Py_Void();
5990 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
= 0;
5992 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5998 PyObject
* obj0
= 0 ;
5999 PyObject
* obj1
= 0 ;
6000 char * kwnames
[] = {
6001 (char *) "self",(char *) "pos", NULL
6004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6006 if (!SWIG_IsOK(res1
)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6009 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6010 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6011 if (!SWIG_IsOK(ecode2
)) {
6012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6014 arg2
= static_cast< long >(val2
);
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 (arg1
)->SetInsertionPoint(arg2
);
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= SWIG_Py_Void();
6028 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6029 PyObject
*resultobj
= 0;
6030 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6034 PyObject
*swig_obj
[1] ;
6036 if (!args
) SWIG_fail
;
6038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6039 if (!SWIG_IsOK(res1
)) {
6040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6042 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6049 resultobj
= SWIG_From_long(static_cast< long >(result
));
6056 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6057 PyObject
*resultobj
= 0;
6058 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6062 PyObject
*swig_obj
[1] ;
6064 if (!args
) SWIG_fail
;
6066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6067 if (!SWIG_IsOK(res1
)) {
6068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6070 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= SWIG_From_long(static_cast< long >(result
));
6084 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
= 0;
6086 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6089 wxString
*arg4
= 0 ;
6096 bool temp4
= false ;
6097 PyObject
* obj0
= 0 ;
6098 PyObject
* obj1
= 0 ;
6099 PyObject
* obj2
= 0 ;
6100 PyObject
* obj3
= 0 ;
6101 char * kwnames
[] = {
6102 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6107 if (!SWIG_IsOK(res1
)) {
6108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6110 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6111 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6112 if (!SWIG_IsOK(ecode2
)) {
6113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6115 arg2
= static_cast< long >(val2
);
6116 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6117 if (!SWIG_IsOK(ecode3
)) {
6118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6120 arg3
= static_cast< long >(val3
);
6122 arg4
= wxString_in_helper(obj3
);
6123 if (arg4
== NULL
) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6129 wxPyEndAllowThreads(__tstate
);
6130 if (PyErr_Occurred()) SWIG_fail
;
6132 resultobj
= SWIG_Py_Void();
6147 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
= 0;
6149 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6158 PyObject
* obj0
= 0 ;
6159 PyObject
* obj1
= 0 ;
6160 PyObject
* obj2
= 0 ;
6161 char * kwnames
[] = {
6162 (char *) "self",(char *) "from",(char *) "to", NULL
6165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6167 if (!SWIG_IsOK(res1
)) {
6168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6170 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6171 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6172 if (!SWIG_IsOK(ecode2
)) {
6173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6175 arg2
= static_cast< long >(val2
);
6176 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6177 if (!SWIG_IsOK(ecode3
)) {
6178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6180 arg3
= static_cast< long >(val3
);
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 (arg1
)->SetSelection(arg2
,arg3
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= SWIG_Py_Void();
6194 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6195 PyObject
*resultobj
= 0;
6196 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6200 PyObject
*swig_obj
[1] ;
6202 if (!args
) SWIG_fail
;
6204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6205 if (!SWIG_IsOK(res1
)) {
6206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6208 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 resultobj
= SWIG_From_int(static_cast< int >(result
));
6222 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
= 0;
6224 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6225 wxString
*arg2
= 0 ;
6229 bool temp2
= false ;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6232 char * kwnames
[] = {
6233 (char *) "self",(char *) "string", NULL
6236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6238 if (!SWIG_IsOK(res1
)) {
6239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6241 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6243 arg2
= wxString_in_helper(obj1
);
6244 if (arg2
== NULL
) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6270 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
= 0;
6272 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6278 PyObject
* obj0
= 0 ;
6279 PyObject
* obj1
= 0 ;
6280 char * kwnames
[] = {
6281 (char *) "self",(char *) "editable", NULL
6284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",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_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6289 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6290 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6291 if (!SWIG_IsOK(ecode2
)) {
6292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6294 arg2
= static_cast< bool >(val2
);
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 (arg1
)->SetEditable(arg2
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= SWIG_Py_Void();
6308 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6309 PyObject
*resultobj
= 0;
6310 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6313 PyObject
*swig_obj
[1] ;
6315 if (!args
) SWIG_fail
;
6317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6318 if (!SWIG_IsOK(res1
)) {
6319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6321 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 (arg1
)->SetInsertionPointEnd();
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 resultobj
= SWIG_Py_Void();
6335 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
= 0;
6337 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6346 PyObject
* obj0
= 0 ;
6347 PyObject
* obj1
= 0 ;
6348 PyObject
* obj2
= 0 ;
6349 char * kwnames
[] = {
6350 (char *) "self",(char *) "from",(char *) "to", NULL
6353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6355 if (!SWIG_IsOK(res1
)) {
6356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6358 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6359 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6360 if (!SWIG_IsOK(ecode2
)) {
6361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6363 arg2
= static_cast< long >(val2
);
6364 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6365 if (!SWIG_IsOK(ecode3
)) {
6366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6368 arg3
= static_cast< long >(val3
);
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 (arg1
)->Remove(arg2
,arg3
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= SWIG_Py_Void();
6382 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6383 PyObject
*resultobj
= 0;
6384 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6388 PyObject
*swig_obj
[1] ;
6390 if (!args
) SWIG_fail
;
6392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6393 if (!SWIG_IsOK(res1
)) {
6394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6396 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6412 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6413 PyObject
*resultobj
= 0;
6414 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6417 PyObject
*swig_obj
[1] ;
6419 if (!args
) SWIG_fail
;
6421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6422 if (!SWIG_IsOK(res1
)) {
6423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6425 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 resultobj
= SWIG_Py_Void();
6439 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6440 PyObject
*resultobj
= 0;
6441 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6444 PyObject
*swig_obj
[1] ;
6446 if (!args
) SWIG_fail
;
6448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6449 if (!SWIG_IsOK(res1
)) {
6450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6452 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6459 resultobj
= SWIG_Py_Void();
6466 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6467 PyObject
*resultobj
= 0;
6468 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6471 PyObject
*swig_obj
[1] ;
6473 if (!args
) SWIG_fail
;
6475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6476 if (!SWIG_IsOK(res1
)) {
6477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6479 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 (arg1
)->SelectAll();
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) SWIG_fail
;
6486 resultobj
= SWIG_Py_Void();
6493 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6494 PyObject
*resultobj
= 0;
6495 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6499 PyObject
*swig_obj
[1] ;
6501 if (!args
) SWIG_fail
;
6503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6504 if (!SWIG_IsOK(res1
)) {
6505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6507 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6523 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6524 PyObject
*resultobj
= 0;
6525 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6529 PyObject
*swig_obj
[1] ;
6531 if (!args
) SWIG_fail
;
6533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6534 if (!SWIG_IsOK(res1
)) {
6535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6537 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6553 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6554 PyObject
*resultobj
= 0;
6555 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6559 PyObject
*swig_obj
[1] ;
6561 if (!args
) SWIG_fail
;
6563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6564 if (!SWIG_IsOK(res1
)) {
6565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6567 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6583 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6584 PyObject
*resultobj
= 0;
6585 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6589 PyObject
*swig_obj
[1] ;
6591 if (!args
) SWIG_fail
;
6593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6594 if (!SWIG_IsOK(res1
)) {
6595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6597 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6613 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6614 PyObject
*resultobj
= 0;
6615 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6619 PyObject
*swig_obj
[1] ;
6621 if (!args
) SWIG_fail
;
6623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6624 if (!SWIG_IsOK(res1
)) {
6625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6627 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6643 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
= 0;
6645 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6646 SwigValueWrapper
<wxVisualAttributes
> result
;
6649 PyObject
* obj0
= 0 ;
6650 char * kwnames
[] = {
6651 (char *) "variant", NULL
6654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6656 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6657 if (!SWIG_IsOK(ecode1
)) {
6658 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6660 arg1
= static_cast< wxWindowVariant
>(val1
);
6663 if (!wxPyCheckForApp()) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6676 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6679 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6680 return SWIG_Py_Void();
6683 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6684 return SWIG_Python_InitShadowInstance(args
);
6687 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6688 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6693 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6694 PyObject
*pyobj
= 0;
6698 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6700 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6707 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
= 0;
6709 wxWindow
*arg1
= (wxWindow
*) 0 ;
6710 int arg2
= (int) -1 ;
6711 int arg3
= (int) 100 ;
6712 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6713 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6714 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6715 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6716 long arg6
= (long) wxGA_HORIZONTAL
;
6717 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6718 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6719 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6720 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6721 wxGauge
*result
= 0 ;
6734 bool temp8
= false ;
6735 PyObject
* obj0
= 0 ;
6736 PyObject
* obj1
= 0 ;
6737 PyObject
* obj2
= 0 ;
6738 PyObject
* obj3
= 0 ;
6739 PyObject
* obj4
= 0 ;
6740 PyObject
* obj5
= 0 ;
6741 PyObject
* obj6
= 0 ;
6742 PyObject
* obj7
= 0 ;
6743 char * kwnames
[] = {
6744 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6749 if (!SWIG_IsOK(res1
)) {
6750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6752 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6755 if (!SWIG_IsOK(ecode2
)) {
6756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6758 arg2
= static_cast< int >(val2
);
6761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6762 if (!SWIG_IsOK(ecode3
)) {
6763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6765 arg3
= static_cast< int >(val3
);
6770 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6776 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6780 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6781 if (!SWIG_IsOK(ecode6
)) {
6782 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6784 arg6
= static_cast< long >(val6
);
6787 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6788 if (!SWIG_IsOK(res7
)) {
6789 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6794 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6798 arg8
= wxString_in_helper(obj7
);
6799 if (arg8
== NULL
) SWIG_fail
;
6804 if (!wxPyCheckForApp()) SWIG_fail
;
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6825 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6826 PyObject
*resultobj
= 0;
6827 wxGauge
*result
= 0 ;
6829 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6831 if (!wxPyCheckForApp()) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 result
= (wxGauge
*)new wxGauge();
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6844 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
= 0;
6846 wxGauge
*arg1
= (wxGauge
*) 0 ;
6847 wxWindow
*arg2
= (wxWindow
*) 0 ;
6848 int arg3
= (int) -1 ;
6849 int arg4
= (int) 100 ;
6850 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6851 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6852 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6853 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6854 long arg7
= (long) wxGA_HORIZONTAL
;
6855 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6856 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6857 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6858 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6874 bool temp9
= false ;
6875 PyObject
* obj0
= 0 ;
6876 PyObject
* obj1
= 0 ;
6877 PyObject
* obj2
= 0 ;
6878 PyObject
* obj3
= 0 ;
6879 PyObject
* obj4
= 0 ;
6880 PyObject
* obj5
= 0 ;
6881 PyObject
* obj6
= 0 ;
6882 PyObject
* obj7
= 0 ;
6883 PyObject
* obj8
= 0 ;
6884 char * kwnames
[] = {
6885 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6890 if (!SWIG_IsOK(res1
)) {
6891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6893 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6894 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6895 if (!SWIG_IsOK(res2
)) {
6896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6898 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6901 if (!SWIG_IsOK(ecode3
)) {
6902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6904 arg3
= static_cast< int >(val3
);
6907 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6908 if (!SWIG_IsOK(ecode4
)) {
6909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6911 arg4
= static_cast< int >(val4
);
6916 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6922 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6926 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6927 if (!SWIG_IsOK(ecode7
)) {
6928 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6930 arg7
= static_cast< long >(val7
);
6933 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6934 if (!SWIG_IsOK(res8
)) {
6935 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6940 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6944 arg9
= wxString_in_helper(obj8
);
6945 if (arg9
== NULL
) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6972 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
= 0;
6974 wxGauge
*arg1
= (wxGauge
*) 0 ;
6980 PyObject
* obj0
= 0 ;
6981 PyObject
* obj1
= 0 ;
6982 char * kwnames
[] = {
6983 (char *) "self",(char *) "range", NULL
6986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6988 if (!SWIG_IsOK(res1
)) {
6989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
6991 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6993 if (!SWIG_IsOK(ecode2
)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
6996 arg2
= static_cast< int >(val2
);
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 (arg1
)->SetRange(arg2
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= SWIG_Py_Void();
7010 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7011 PyObject
*resultobj
= 0;
7012 wxGauge
*arg1
= (wxGauge
*) 0 ;
7016 PyObject
*swig_obj
[1] ;
7018 if (!args
) SWIG_fail
;
7020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7021 if (!SWIG_IsOK(res1
)) {
7022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7024 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_From_int(static_cast< int >(result
));
7038 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
= 0;
7040 wxGauge
*arg1
= (wxGauge
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7047 PyObject
* obj1
= 0 ;
7048 char * kwnames
[] = {
7049 (char *) "self",(char *) "pos", NULL
7052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7054 if (!SWIG_IsOK(res1
)) {
7055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7057 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7059 if (!SWIG_IsOK(ecode2
)) {
7060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7062 arg2
= static_cast< int >(val2
);
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 (arg1
)->SetValue(arg2
);
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 resultobj
= SWIG_Py_Void();
7076 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7077 PyObject
*resultobj
= 0;
7078 wxGauge
*arg1
= (wxGauge
*) 0 ;
7082 PyObject
*swig_obj
[1] ;
7084 if (!args
) SWIG_fail
;
7086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7087 if (!SWIG_IsOK(res1
)) {
7088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7090 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= SWIG_From_int(static_cast< int >(result
));
7104 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7105 PyObject
*resultobj
= 0;
7106 wxGauge
*arg1
= (wxGauge
*) 0 ;
7109 PyObject
*swig_obj
[1] ;
7111 if (!args
) SWIG_fail
;
7113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7114 if (!SWIG_IsOK(res1
)) {
7115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7117 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= SWIG_Py_Void();
7131 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7132 PyObject
*resultobj
= 0;
7133 wxGauge
*arg1
= (wxGauge
*) 0 ;
7137 PyObject
*swig_obj
[1] ;
7139 if (!args
) SWIG_fail
;
7141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7142 if (!SWIG_IsOK(res1
)) {
7143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7145 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7161 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
= 0;
7163 wxGauge
*arg1
= (wxGauge
*) 0 ;
7169 PyObject
* obj0
= 0 ;
7170 PyObject
* obj1
= 0 ;
7171 char * kwnames
[] = {
7172 (char *) "self",(char *) "w", NULL
7175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7177 if (!SWIG_IsOK(res1
)) {
7178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7180 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7182 if (!SWIG_IsOK(ecode2
)) {
7183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7185 arg2
= static_cast< int >(val2
);
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 (arg1
)->SetShadowWidth(arg2
);
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= SWIG_Py_Void();
7199 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7200 PyObject
*resultobj
= 0;
7201 wxGauge
*arg1
= (wxGauge
*) 0 ;
7205 PyObject
*swig_obj
[1] ;
7207 if (!args
) SWIG_fail
;
7209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7210 if (!SWIG_IsOK(res1
)) {
7211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7213 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 resultobj
= SWIG_From_int(static_cast< int >(result
));
7227 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
= 0;
7229 wxGauge
*arg1
= (wxGauge
*) 0 ;
7235 PyObject
* obj0
= 0 ;
7236 PyObject
* obj1
= 0 ;
7237 char * kwnames
[] = {
7238 (char *) "self",(char *) "w", NULL
7241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7243 if (!SWIG_IsOK(res1
)) {
7244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7246 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7248 if (!SWIG_IsOK(ecode2
)) {
7249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7251 arg2
= static_cast< int >(val2
);
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 (arg1
)->SetBezelFace(arg2
);
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= SWIG_Py_Void();
7265 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7266 PyObject
*resultobj
= 0;
7267 wxGauge
*arg1
= (wxGauge
*) 0 ;
7271 PyObject
*swig_obj
[1] ;
7273 if (!args
) SWIG_fail
;
7275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7276 if (!SWIG_IsOK(res1
)) {
7277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7279 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= SWIG_From_int(static_cast< int >(result
));
7293 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
= 0;
7295 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7296 SwigValueWrapper
<wxVisualAttributes
> result
;
7299 PyObject
* obj0
= 0 ;
7300 char * kwnames
[] = {
7301 (char *) "variant", NULL
7304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7306 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7307 if (!SWIG_IsOK(ecode1
)) {
7308 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7310 arg1
= static_cast< wxWindowVariant
>(val1
);
7313 if (!wxPyCheckForApp()) SWIG_fail
;
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7326 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7329 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7330 return SWIG_Py_Void();
7333 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7334 return SWIG_Python_InitShadowInstance(args
);
7337 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7338 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7343 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7344 PyObject
*pyobj
= 0;
7348 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7350 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7357 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7358 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7363 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7364 PyObject
*pyobj
= 0;
7368 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7370 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7377 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7378 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7383 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7384 PyObject
*pyobj
= 0;
7388 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7390 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7397 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7398 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7403 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7404 PyObject
*pyobj
= 0;
7408 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7410 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7417 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
= 0;
7419 wxWindow
*arg1
= (wxWindow
*) 0 ;
7420 int arg2
= (int) -1 ;
7421 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7422 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7423 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7424 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7425 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7426 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7427 long arg6
= (long) 0 ;
7428 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7429 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7430 wxStaticBox
*result
= 0 ;
7435 bool temp3
= false ;
7440 bool temp7
= false ;
7441 PyObject
* obj0
= 0 ;
7442 PyObject
* obj1
= 0 ;
7443 PyObject
* obj2
= 0 ;
7444 PyObject
* obj3
= 0 ;
7445 PyObject
* obj4
= 0 ;
7446 PyObject
* obj5
= 0 ;
7447 PyObject
* obj6
= 0 ;
7448 char * kwnames
[] = {
7449 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7454 if (!SWIG_IsOK(res1
)) {
7455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7457 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7460 if (!SWIG_IsOK(ecode2
)) {
7461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7463 arg2
= static_cast< int >(val2
);
7467 arg3
= wxString_in_helper(obj2
);
7468 if (arg3
== NULL
) SWIG_fail
;
7475 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7481 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7485 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7486 if (!SWIG_IsOK(ecode6
)) {
7487 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7489 arg6
= static_cast< long >(val6
);
7493 arg7
= wxString_in_helper(obj6
);
7494 if (arg7
== NULL
) SWIG_fail
;
7499 if (!wxPyCheckForApp()) SWIG_fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7528 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7529 PyObject
*resultobj
= 0;
7530 wxStaticBox
*result
= 0 ;
7532 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7534 if (!wxPyCheckForApp()) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (wxStaticBox
*)new wxStaticBox();
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7547 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
= 0;
7549 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7550 wxWindow
*arg2
= (wxWindow
*) 0 ;
7551 int arg3
= (int) -1 ;
7552 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7553 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7554 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7555 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7556 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7557 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7558 long arg7
= (long) 0 ;
7559 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7560 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7568 bool temp4
= false ;
7573 bool temp8
= false ;
7574 PyObject
* obj0
= 0 ;
7575 PyObject
* obj1
= 0 ;
7576 PyObject
* obj2
= 0 ;
7577 PyObject
* obj3
= 0 ;
7578 PyObject
* obj4
= 0 ;
7579 PyObject
* obj5
= 0 ;
7580 PyObject
* obj6
= 0 ;
7581 PyObject
* obj7
= 0 ;
7582 char * kwnames
[] = {
7583 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7588 if (!SWIG_IsOK(res1
)) {
7589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7591 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7593 if (!SWIG_IsOK(res2
)) {
7594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7596 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7599 if (!SWIG_IsOK(ecode3
)) {
7600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7602 arg3
= static_cast< int >(val3
);
7606 arg4
= wxString_in_helper(obj3
);
7607 if (arg4
== NULL
) SWIG_fail
;
7614 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7620 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7624 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7625 if (!SWIG_IsOK(ecode7
)) {
7626 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7628 arg7
= static_cast< long >(val7
);
7632 arg8
= wxString_in_helper(obj7
);
7633 if (arg8
== NULL
) SWIG_fail
;
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7668 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
*resultobj
= 0;
7670 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7671 SwigValueWrapper
<wxVisualAttributes
> result
;
7674 PyObject
* obj0
= 0 ;
7675 char * kwnames
[] = {
7676 (char *) "variant", NULL
7679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7681 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7682 if (!SWIG_IsOK(ecode1
)) {
7683 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7685 arg1
= static_cast< wxWindowVariant
>(val1
);
7688 if (!wxPyCheckForApp()) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7701 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7704 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7705 return SWIG_Py_Void();
7708 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7709 return SWIG_Python_InitShadowInstance(args
);
7712 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
= 0;
7714 wxWindow
*arg1
= (wxWindow
*) 0 ;
7715 int arg2
= (int) -1 ;
7716 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7717 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7718 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7719 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7720 long arg5
= (long) wxLI_HORIZONTAL
;
7721 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7722 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7723 wxStaticLine
*result
= 0 ;
7732 bool temp6
= false ;
7733 PyObject
* obj0
= 0 ;
7734 PyObject
* obj1
= 0 ;
7735 PyObject
* obj2
= 0 ;
7736 PyObject
* obj3
= 0 ;
7737 PyObject
* obj4
= 0 ;
7738 PyObject
* obj5
= 0 ;
7739 char * kwnames
[] = {
7740 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7745 if (!SWIG_IsOK(res1
)) {
7746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7748 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7751 if (!SWIG_IsOK(ecode2
)) {
7752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7754 arg2
= static_cast< int >(val2
);
7759 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7765 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7769 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7770 if (!SWIG_IsOK(ecode5
)) {
7771 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7773 arg5
= static_cast< long >(val5
);
7777 arg6
= wxString_in_helper(obj5
);
7778 if (arg6
== NULL
) SWIG_fail
;
7783 if (!wxPyCheckForApp()) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7804 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7805 PyObject
*resultobj
= 0;
7806 wxStaticLine
*result
= 0 ;
7808 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7810 if (!wxPyCheckForApp()) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 result
= (wxStaticLine
*)new wxStaticLine();
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7823 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
= 0;
7825 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7826 wxWindow
*arg2
= (wxWindow
*) 0 ;
7827 int arg3
= (int) -1 ;
7828 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7829 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7830 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7831 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7832 long arg6
= (long) wxLI_HORIZONTAL
;
7833 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7834 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7846 bool temp7
= false ;
7847 PyObject
* obj0
= 0 ;
7848 PyObject
* obj1
= 0 ;
7849 PyObject
* obj2
= 0 ;
7850 PyObject
* obj3
= 0 ;
7851 PyObject
* obj4
= 0 ;
7852 PyObject
* obj5
= 0 ;
7853 PyObject
* obj6
= 0 ;
7854 char * kwnames
[] = {
7855 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7860 if (!SWIG_IsOK(res1
)) {
7861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7863 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7864 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7865 if (!SWIG_IsOK(res2
)) {
7866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7868 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7871 if (!SWIG_IsOK(ecode3
)) {
7872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7874 arg3
= static_cast< int >(val3
);
7879 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7885 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7889 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7890 if (!SWIG_IsOK(ecode6
)) {
7891 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7893 arg6
= static_cast< long >(val6
);
7897 arg7
= wxString_in_helper(obj6
);
7898 if (arg7
== NULL
) SWIG_fail
;
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7925 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7926 PyObject
*resultobj
= 0;
7927 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7931 PyObject
*swig_obj
[1] ;
7933 if (!args
) SWIG_fail
;
7935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7936 if (!SWIG_IsOK(res1
)) {
7937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7939 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7955 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7956 PyObject
*resultobj
= 0;
7959 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 result
= (int)wxStaticLine::GetDefaultSize();
7963 wxPyEndAllowThreads(__tstate
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7966 resultobj
= SWIG_From_int(static_cast< int >(result
));
7973 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
*resultobj
= 0;
7975 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7976 SwigValueWrapper
<wxVisualAttributes
> result
;
7979 PyObject
* obj0
= 0 ;
7980 char * kwnames
[] = {
7981 (char *) "variant", NULL
7984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7986 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7987 if (!SWIG_IsOK(ecode1
)) {
7988 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7990 arg1
= static_cast< wxWindowVariant
>(val1
);
7993 if (!wxPyCheckForApp()) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8006 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8009 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8010 return SWIG_Py_Void();
8013 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8014 return SWIG_Python_InitShadowInstance(args
);
8017 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
= 0;
8019 wxWindow
*arg1
= (wxWindow
*) 0 ;
8020 int arg2
= (int) -1 ;
8021 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8022 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8023 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8024 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8025 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8026 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8027 long arg6
= (long) 0 ;
8028 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8029 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8030 wxStaticText
*result
= 0 ;
8035 bool temp3
= false ;
8040 bool temp7
= false ;
8041 PyObject
* obj0
= 0 ;
8042 PyObject
* obj1
= 0 ;
8043 PyObject
* obj2
= 0 ;
8044 PyObject
* obj3
= 0 ;
8045 PyObject
* obj4
= 0 ;
8046 PyObject
* obj5
= 0 ;
8047 PyObject
* obj6
= 0 ;
8048 char * kwnames
[] = {
8049 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8054 if (!SWIG_IsOK(res1
)) {
8055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8057 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8060 if (!SWIG_IsOK(ecode2
)) {
8061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8063 arg2
= static_cast< int >(val2
);
8067 arg3
= wxString_in_helper(obj2
);
8068 if (arg3
== NULL
) SWIG_fail
;
8075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8085 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8086 if (!SWIG_IsOK(ecode6
)) {
8087 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8089 arg6
= static_cast< long >(val6
);
8093 arg7
= wxString_in_helper(obj6
);
8094 if (arg7
== NULL
) SWIG_fail
;
8099 if (!wxPyCheckForApp()) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8128 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8129 PyObject
*resultobj
= 0;
8130 wxStaticText
*result
= 0 ;
8132 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8134 if (!wxPyCheckForApp()) SWIG_fail
;
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 result
= (wxStaticText
*)new wxStaticText();
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8147 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
= 0;
8149 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8150 wxWindow
*arg2
= (wxWindow
*) 0 ;
8151 int arg3
= (int) -1 ;
8152 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8153 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8154 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8155 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8156 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8157 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8158 long arg7
= (long) 0 ;
8159 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8160 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8168 bool temp4
= false ;
8173 bool temp8
= false ;
8174 PyObject
* obj0
= 0 ;
8175 PyObject
* obj1
= 0 ;
8176 PyObject
* obj2
= 0 ;
8177 PyObject
* obj3
= 0 ;
8178 PyObject
* obj4
= 0 ;
8179 PyObject
* obj5
= 0 ;
8180 PyObject
* obj6
= 0 ;
8181 PyObject
* obj7
= 0 ;
8182 char * kwnames
[] = {
8183 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8188 if (!SWIG_IsOK(res1
)) {
8189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8191 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8193 if (!SWIG_IsOK(res2
)) {
8194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8196 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8199 if (!SWIG_IsOK(ecode3
)) {
8200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8202 arg3
= static_cast< int >(val3
);
8206 arg4
= wxString_in_helper(obj3
);
8207 if (arg4
== NULL
) SWIG_fail
;
8214 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8220 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8224 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8225 if (!SWIG_IsOK(ecode7
)) {
8226 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8228 arg7
= static_cast< long >(val7
);
8232 arg8
= wxString_in_helper(obj7
);
8233 if (arg8
== NULL
) SWIG_fail
;
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8268 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
= 0;
8270 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8276 PyObject
* obj0
= 0 ;
8277 PyObject
* obj1
= 0 ;
8278 char * kwnames
[] = {
8279 (char *) "self",(char *) "width", NULL
8282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8284 if (!SWIG_IsOK(res1
)) {
8285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8287 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8289 if (!SWIG_IsOK(ecode2
)) {
8290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8292 arg2
= static_cast< int >(val2
);
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 resultobj
= SWIG_Py_Void();
8306 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8307 PyObject
*resultobj
= 0;
8308 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8309 SwigValueWrapper
<wxVisualAttributes
> result
;
8312 PyObject
* obj0
= 0 ;
8313 char * kwnames
[] = {
8314 (char *) "variant", NULL
8317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8319 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8320 if (!SWIG_IsOK(ecode1
)) {
8321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8323 arg1
= static_cast< wxWindowVariant
>(val1
);
8326 if (!wxPyCheckForApp()) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8339 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8341 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8342 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8343 return SWIG_Py_Void();
8346 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8347 return SWIG_Python_InitShadowInstance(args
);
8350 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
= 0;
8352 wxWindow
*arg1
= (wxWindow
*) 0 ;
8353 int arg2
= (int) -1 ;
8354 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8355 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8356 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8357 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8358 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8359 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8360 long arg6
= (long) 0 ;
8361 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8362 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8363 wxStaticBitmap
*result
= 0 ;
8374 bool temp7
= false ;
8375 PyObject
* obj0
= 0 ;
8376 PyObject
* obj1
= 0 ;
8377 PyObject
* obj2
= 0 ;
8378 PyObject
* obj3
= 0 ;
8379 PyObject
* obj4
= 0 ;
8380 PyObject
* obj5
= 0 ;
8381 PyObject
* obj6
= 0 ;
8382 char * kwnames
[] = {
8383 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8388 if (!SWIG_IsOK(res1
)) {
8389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8391 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8394 if (!SWIG_IsOK(ecode2
)) {
8395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8397 arg2
= static_cast< int >(val2
);
8400 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8401 if (!SWIG_IsOK(res3
)) {
8402 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8407 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8412 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8418 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8422 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8423 if (!SWIG_IsOK(ecode6
)) {
8424 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8426 arg6
= static_cast< long >(val6
);
8430 arg7
= wxString_in_helper(obj6
);
8431 if (arg7
== NULL
) SWIG_fail
;
8436 if (!wxPyCheckForApp()) SWIG_fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8457 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8458 PyObject
*resultobj
= 0;
8459 wxStaticBitmap
*result
= 0 ;
8461 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8463 if (!wxPyCheckForApp()) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8476 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8477 PyObject
*resultobj
= 0;
8478 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8479 wxWindow
*arg2
= (wxWindow
*) 0 ;
8480 int arg3
= (int) -1 ;
8481 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8482 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8483 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8484 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8485 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8486 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8487 long arg7
= (long) 0 ;
8488 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8489 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8503 bool temp8
= false ;
8504 PyObject
* obj0
= 0 ;
8505 PyObject
* obj1
= 0 ;
8506 PyObject
* obj2
= 0 ;
8507 PyObject
* obj3
= 0 ;
8508 PyObject
* obj4
= 0 ;
8509 PyObject
* obj5
= 0 ;
8510 PyObject
* obj6
= 0 ;
8511 PyObject
* obj7
= 0 ;
8512 char * kwnames
[] = {
8513 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8518 if (!SWIG_IsOK(res1
)) {
8519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8521 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8522 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8523 if (!SWIG_IsOK(res2
)) {
8524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8526 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8528 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8529 if (!SWIG_IsOK(ecode3
)) {
8530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8532 arg3
= static_cast< int >(val3
);
8535 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8536 if (!SWIG_IsOK(res4
)) {
8537 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8542 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8547 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8553 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8557 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8558 if (!SWIG_IsOK(ecode7
)) {
8559 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8561 arg7
= static_cast< long >(val7
);
8565 arg8
= wxString_in_helper(obj7
);
8566 if (arg8
== NULL
) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8593 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8594 PyObject
*resultobj
= 0;
8595 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8599 PyObject
*swig_obj
[1] ;
8601 if (!args
) SWIG_fail
;
8603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8604 if (!SWIG_IsOK(res1
)) {
8605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8607 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 result
= (arg1
)->GetBitmap();
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8621 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8622 PyObject
*resultobj
= 0;
8623 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8624 wxBitmap
*arg2
= 0 ;
8629 PyObject
* obj0
= 0 ;
8630 PyObject
* obj1
= 0 ;
8631 char * kwnames
[] = {
8632 (char *) "self",(char *) "bitmap", NULL
8635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8637 if (!SWIG_IsOK(res1
)) {
8638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8640 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8641 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8642 if (!SWIG_IsOK(res2
)) {
8643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8648 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= SWIG_Py_Void();
8662 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
= 0;
8664 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8672 char * kwnames
[] = {
8673 (char *) "self",(char *) "icon", NULL
8676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8678 if (!SWIG_IsOK(res1
)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8681 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8683 if (!SWIG_IsOK(res2
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8689 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= SWIG_Py_Void();
8703 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
= 0;
8705 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8706 SwigValueWrapper
<wxVisualAttributes
> result
;
8709 PyObject
* obj0
= 0 ;
8710 char * kwnames
[] = {
8711 (char *) "variant", NULL
8714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8716 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8717 if (!SWIG_IsOK(ecode1
)) {
8718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8720 arg1
= static_cast< wxWindowVariant
>(val1
);
8723 if (!wxPyCheckForApp()) SWIG_fail
;
8724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8725 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8736 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8738 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8739 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8740 return SWIG_Py_Void();
8743 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8744 return SWIG_Python_InitShadowInstance(args
);
8747 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8748 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8753 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8754 PyObject
*pyobj
= 0;
8758 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8760 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8767 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
= 0;
8769 wxWindow
*arg1
= (wxWindow
*) 0 ;
8770 int arg2
= (int) -1 ;
8771 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8772 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8773 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8774 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8775 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8776 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8777 long arg6
= (long) 0 ;
8778 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8779 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8780 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8781 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8782 wxListBox
*result
= 0 ;
8789 bool temp5
= false ;
8794 bool temp8
= false ;
8795 PyObject
* obj0
= 0 ;
8796 PyObject
* obj1
= 0 ;
8797 PyObject
* obj2
= 0 ;
8798 PyObject
* obj3
= 0 ;
8799 PyObject
* obj4
= 0 ;
8800 PyObject
* obj5
= 0 ;
8801 PyObject
* obj6
= 0 ;
8802 PyObject
* obj7
= 0 ;
8803 char * kwnames
[] = {
8804 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8809 if (!SWIG_IsOK(res1
)) {
8810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8812 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8815 if (!SWIG_IsOK(ecode2
)) {
8816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8818 arg2
= static_cast< int >(val2
);
8823 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8829 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8834 if (! PySequence_Check(obj4
)) {
8835 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8838 arg5
= new wxArrayString
;
8840 int i
, len
=PySequence_Length(obj4
);
8841 for (i
=0; i
<len
; i
++) {
8842 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8843 wxString
* s
= wxString_in_helper(item
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8852 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8853 if (!SWIG_IsOK(ecode6
)) {
8854 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8856 arg6
= static_cast< long >(val6
);
8859 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8860 if (!SWIG_IsOK(res7
)) {
8861 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8866 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8870 arg8
= wxString_in_helper(obj7
);
8871 if (arg8
== NULL
) SWIG_fail
;
8876 if (!wxPyCheckForApp()) SWIG_fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8884 if (temp5
) delete arg5
;
8893 if (temp5
) delete arg5
;
8903 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8904 PyObject
*resultobj
= 0;
8905 wxListBox
*result
= 0 ;
8907 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8909 if (!wxPyCheckForApp()) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 result
= (wxListBox
*)new wxListBox();
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8922 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
= 0;
8924 wxListBox
*arg1
= (wxListBox
*) 0 ;
8925 wxWindow
*arg2
= (wxWindow
*) 0 ;
8926 int arg3
= (int) -1 ;
8927 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8928 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8929 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8930 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8931 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8932 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8933 long arg7
= (long) 0 ;
8934 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8935 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8936 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8937 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8947 bool temp6
= false ;
8952 bool temp9
= false ;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8955 PyObject
* obj2
= 0 ;
8956 PyObject
* obj3
= 0 ;
8957 PyObject
* obj4
= 0 ;
8958 PyObject
* obj5
= 0 ;
8959 PyObject
* obj6
= 0 ;
8960 PyObject
* obj7
= 0 ;
8961 PyObject
* obj8
= 0 ;
8962 char * kwnames
[] = {
8963 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8968 if (!SWIG_IsOK(res1
)) {
8969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8971 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8972 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8973 if (!SWIG_IsOK(res2
)) {
8974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8976 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8979 if (!SWIG_IsOK(ecode3
)) {
8980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8982 arg3
= static_cast< int >(val3
);
8987 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8993 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8998 if (! PySequence_Check(obj5
)) {
8999 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9002 arg6
= new wxArrayString
;
9004 int i
, len
=PySequence_Length(obj5
);
9005 for (i
=0; i
<len
; i
++) {
9006 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9007 wxString
* s
= wxString_in_helper(item
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9016 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9017 if (!SWIG_IsOK(ecode7
)) {
9018 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9020 arg7
= static_cast< long >(val7
);
9023 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9024 if (!SWIG_IsOK(res8
)) {
9025 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9030 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9034 arg9
= wxString_in_helper(obj8
);
9035 if (arg9
== NULL
) SWIG_fail
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9049 if (temp6
) delete arg6
;
9058 if (temp6
) delete arg6
;
9068 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
= 0;
9070 wxListBox
*arg1
= (wxListBox
*) 0 ;
9071 wxString
*arg2
= 0 ;
9073 PyObject
*arg4
= (PyObject
*) NULL
;
9076 bool temp2
= false ;
9079 PyObject
* obj0
= 0 ;
9080 PyObject
* obj1
= 0 ;
9081 PyObject
* obj2
= 0 ;
9082 PyObject
* obj3
= 0 ;
9083 char * kwnames
[] = {
9084 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9089 if (!SWIG_IsOK(res1
)) {
9090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9092 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9094 arg2
= wxString_in_helper(obj1
);
9095 if (arg2
== NULL
) SWIG_fail
;
9098 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9099 if (!SWIG_IsOK(ecode3
)) {
9100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9102 arg3
= static_cast< int >(val3
);
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 resultobj
= SWIG_Py_Void();
9127 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
= 0;
9129 wxListBox
*arg1
= (wxListBox
*) 0 ;
9130 wxArrayString
*arg2
= 0 ;
9134 bool temp2
= false ;
9137 PyObject
* obj0
= 0 ;
9138 PyObject
* obj1
= 0 ;
9139 PyObject
* obj2
= 0 ;
9140 char * kwnames
[] = {
9141 (char *) "self",(char *) "items",(char *) "pos", NULL
9144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9146 if (!SWIG_IsOK(res1
)) {
9147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9149 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9151 if (! PySequence_Check(obj1
)) {
9152 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9155 arg2
= new wxArrayString
;
9157 int i
, len
=PySequence_Length(obj1
);
9158 for (i
=0; i
<len
; i
++) {
9159 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9160 wxString
* s
= wxString_in_helper(item
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9167 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9168 if (!SWIG_IsOK(ecode3
)) {
9169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9171 arg3
= static_cast< unsigned int >(val3
);
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 resultobj
= SWIG_Py_Void();
9180 if (temp2
) delete arg2
;
9185 if (temp2
) delete arg2
;
9191 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
= 0;
9193 wxListBox
*arg1
= (wxListBox
*) 0 ;
9194 wxArrayString
*arg2
= 0 ;
9197 bool temp2
= false ;
9198 PyObject
* obj0
= 0 ;
9199 PyObject
* obj1
= 0 ;
9200 char * kwnames
[] = {
9201 (char *) "self",(char *) "items", NULL
9204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9206 if (!SWIG_IsOK(res1
)) {
9207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9209 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9211 if (! PySequence_Check(obj1
)) {
9212 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9215 arg2
= new wxArrayString
;
9217 int i
, len
=PySequence_Length(obj1
);
9218 for (i
=0; i
<len
; i
++) {
9219 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9220 wxString
* s
= wxString_in_helper(item
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 (arg1
)->Set((wxArrayString
const &)*arg2
);
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 resultobj
= SWIG_Py_Void();
9235 if (temp2
) delete arg2
;
9240 if (temp2
) delete arg2
;
9246 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
= 0;
9248 wxListBox
*arg1
= (wxListBox
*) 0 ;
9255 PyObject
* obj0
= 0 ;
9256 PyObject
* obj1
= 0 ;
9257 char * kwnames
[] = {
9258 (char *) "self",(char *) "n", NULL
9261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9263 if (!SWIG_IsOK(res1
)) {
9264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9266 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9268 if (!SWIG_IsOK(ecode2
)) {
9269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9271 arg2
= static_cast< int >(val2
);
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9287 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
= 0;
9289 wxListBox
*arg1
= (wxListBox
*) 0 ;
9291 bool arg3
= (bool) true ;
9298 PyObject
* obj0
= 0 ;
9299 PyObject
* obj1
= 0 ;
9300 PyObject
* obj2
= 0 ;
9301 char * kwnames
[] = {
9302 (char *) "self",(char *) "n",(char *) "select", NULL
9305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9307 if (!SWIG_IsOK(res1
)) {
9308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9310 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9312 if (!SWIG_IsOK(ecode2
)) {
9313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9315 arg2
= static_cast< int >(val2
);
9317 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9318 if (!SWIG_IsOK(ecode3
)) {
9319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9321 arg3
= static_cast< bool >(val3
);
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 (arg1
)->SetSelection(arg2
,arg3
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= SWIG_Py_Void();
9336 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
= 0;
9338 wxListBox
*arg1
= (wxListBox
*) 0 ;
9344 PyObject
* obj0
= 0 ;
9345 PyObject
* obj1
= 0 ;
9346 char * kwnames
[] = {
9347 (char *) "self",(char *) "n", NULL
9350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9355 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9357 if (!SWIG_IsOK(ecode2
)) {
9358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9360 arg2
= static_cast< int >(val2
);
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 (arg1
)->Select(arg2
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= SWIG_Py_Void();
9374 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
= 0;
9376 wxListBox
*arg1
= (wxListBox
*) 0 ;
9382 PyObject
* obj0
= 0 ;
9383 PyObject
* obj1
= 0 ;
9384 char * kwnames
[] = {
9385 (char *) "self",(char *) "n", NULL
9388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9390 if (!SWIG_IsOK(res1
)) {
9391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9393 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9395 if (!SWIG_IsOK(ecode2
)) {
9396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9398 arg2
= static_cast< int >(val2
);
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 (arg1
)->Deselect(arg2
);
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9405 resultobj
= SWIG_Py_Void();
9412 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
*resultobj
= 0;
9414 wxListBox
*arg1
= (wxListBox
*) 0 ;
9415 int arg2
= (int) -1 ;
9420 PyObject
* obj0
= 0 ;
9421 PyObject
* obj1
= 0 ;
9422 char * kwnames
[] = {
9423 (char *) "self",(char *) "itemToLeaveSelected", NULL
9426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9428 if (!SWIG_IsOK(res1
)) {
9429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9431 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9434 if (!SWIG_IsOK(ecode2
)) {
9435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9437 arg2
= static_cast< int >(val2
);
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 (arg1
)->DeselectAll(arg2
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_Py_Void();
9452 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
= 0;
9454 wxListBox
*arg1
= (wxListBox
*) 0 ;
9455 wxString
*arg2
= 0 ;
9456 bool arg3
= (bool) true ;
9460 bool temp2
= false ;
9463 PyObject
* obj0
= 0 ;
9464 PyObject
* obj1
= 0 ;
9465 PyObject
* obj2
= 0 ;
9466 char * kwnames
[] = {
9467 (char *) "self",(char *) "s",(char *) "select", NULL
9470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9472 if (!SWIG_IsOK(res1
)) {
9473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9475 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9477 arg2
= wxString_in_helper(obj1
);
9478 if (arg2
== NULL
) SWIG_fail
;
9482 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9483 if (!SWIG_IsOK(ecode3
)) {
9484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9486 arg3
= static_cast< bool >(val3
);
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9511 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9512 PyObject
*resultobj
= 0;
9513 wxListBox
*arg1
= (wxListBox
*) 0 ;
9514 PyObject
*result
= 0 ;
9517 PyObject
*swig_obj
[1] ;
9519 if (!args
) SWIG_fail
;
9521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9522 if (!SWIG_IsOK(res1
)) {
9523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9525 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9539 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
= 0;
9541 wxListBox
*arg1
= (wxListBox
*) 0 ;
9547 PyObject
* obj0
= 0 ;
9548 PyObject
* obj1
= 0 ;
9549 char * kwnames
[] = {
9550 (char *) "self",(char *) "n", NULL
9553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9555 if (!SWIG_IsOK(res1
)) {
9556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9558 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9560 if (!SWIG_IsOK(ecode2
)) {
9561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9563 arg2
= static_cast< int >(val2
);
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 (arg1
)->SetFirstItem(arg2
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= SWIG_Py_Void();
9577 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
*resultobj
= 0;
9579 wxListBox
*arg1
= (wxListBox
*) 0 ;
9580 wxString
*arg2
= 0 ;
9583 bool temp2
= false ;
9584 PyObject
* obj0
= 0 ;
9585 PyObject
* obj1
= 0 ;
9586 char * kwnames
[] = {
9587 (char *) "self",(char *) "s", NULL
9590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9592 if (!SWIG_IsOK(res1
)) {
9593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9595 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9597 arg2
= wxString_in_helper(obj1
);
9598 if (arg2
== NULL
) SWIG_fail
;
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9607 resultobj
= SWIG_Py_Void();
9622 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
= 0;
9624 wxListBox
*arg1
= (wxListBox
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9631 PyObject
* obj1
= 0 ;
9632 char * kwnames
[] = {
9633 (char *) "self",(char *) "n", NULL
9636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9638 if (!SWIG_IsOK(res1
)) {
9639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9641 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9643 if (!SWIG_IsOK(ecode2
)) {
9644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9646 arg2
= static_cast< int >(val2
);
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 (arg1
)->EnsureVisible(arg2
);
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9653 resultobj
= SWIG_Py_Void();
9660 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
= 0;
9662 wxListBox
*arg1
= (wxListBox
*) 0 ;
9663 wxString
*arg2
= 0 ;
9666 bool temp2
= false ;
9667 PyObject
* obj0
= 0 ;
9668 PyObject
* obj1
= 0 ;
9669 char * kwnames
[] = {
9670 (char *) "self",(char *) "s", NULL
9673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9675 if (!SWIG_IsOK(res1
)) {
9676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9678 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9680 arg2
= wxString_in_helper(obj1
);
9681 if (arg2
== NULL
) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= SWIG_Py_Void();
9705 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9706 PyObject
*resultobj
= 0;
9707 wxListBox
*arg1
= (wxListBox
*) 0 ;
9711 PyObject
*swig_obj
[1] ;
9713 if (!args
) SWIG_fail
;
9715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9716 if (!SWIG_IsOK(res1
)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9719 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9735 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
= 0;
9737 wxListBox
*arg1
= (wxListBox
*) 0 ;
9743 PyObject
* obj0
= 0 ;
9744 PyObject
* obj1
= 0 ;
9745 char * kwnames
[] = {
9746 (char *) "self",(char *) "pt", NULL
9749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9751 if (!SWIG_IsOK(res1
)) {
9752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9754 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9757 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= SWIG_From_int(static_cast< int >(result
));
9772 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
= 0;
9774 wxListBox
*arg1
= (wxListBox
*) 0 ;
9776 wxColour
*arg3
= 0 ;
9782 PyObject
* obj0
= 0 ;
9783 PyObject
* obj1
= 0 ;
9784 PyObject
* obj2
= 0 ;
9785 char * kwnames
[] = {
9786 (char *) "self",(char *) "item",(char *) "c", NULL
9789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9791 if (!SWIG_IsOK(res1
)) {
9792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9794 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9796 if (!SWIG_IsOK(ecode2
)) {
9797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9799 arg2
= static_cast< int >(val2
);
9802 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= SWIG_Py_Void();
9817 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
= 0;
9819 wxListBox
*arg1
= (wxListBox
*) 0 ;
9821 wxColour
*arg3
= 0 ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 PyObject
* obj2
= 0 ;
9830 char * kwnames
[] = {
9831 (char *) "self",(char *) "item",(char *) "c", NULL
9834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9836 if (!SWIG_IsOK(res1
)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9839 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9841 if (!SWIG_IsOK(ecode2
)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9844 arg2
= static_cast< int >(val2
);
9847 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= SWIG_Py_Void();
9862 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
= 0;
9864 wxListBox
*arg1
= (wxListBox
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9874 PyObject
* obj1
= 0 ;
9875 PyObject
* obj2
= 0 ;
9876 char * kwnames
[] = {
9877 (char *) "self",(char *) "item",(char *) "f", NULL
9880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9882 if (!SWIG_IsOK(res1
)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9885 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9887 if (!SWIG_IsOK(ecode2
)) {
9888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9890 arg2
= static_cast< int >(val2
);
9891 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9892 if (!SWIG_IsOK(res3
)) {
9893 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9898 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 resultobj
= SWIG_Py_Void();
9912 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
= 0;
9914 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9915 SwigValueWrapper
<wxVisualAttributes
> result
;
9918 PyObject
* obj0
= 0 ;
9919 char * kwnames
[] = {
9920 (char *) "variant", NULL
9923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9925 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9926 if (!SWIG_IsOK(ecode1
)) {
9927 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9929 arg1
= static_cast< wxWindowVariant
>(val1
);
9932 if (!wxPyCheckForApp()) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9945 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9947 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9948 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9949 return SWIG_Py_Void();
9952 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9953 return SWIG_Python_InitShadowInstance(args
);
9956 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
= 0;
9958 wxWindow
*arg1
= (wxWindow
*) 0 ;
9959 int arg2
= (int) -1 ;
9960 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9961 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9962 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9963 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9964 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9965 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9966 long arg6
= (long) 0 ;
9967 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9968 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9969 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9970 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9971 wxCheckListBox
*result
= 0 ;
9978 bool temp5
= false ;
9983 bool temp8
= false ;
9984 PyObject
* obj0
= 0 ;
9985 PyObject
* obj1
= 0 ;
9986 PyObject
* obj2
= 0 ;
9987 PyObject
* obj3
= 0 ;
9988 PyObject
* obj4
= 0 ;
9989 PyObject
* obj5
= 0 ;
9990 PyObject
* obj6
= 0 ;
9991 PyObject
* obj7
= 0 ;
9992 char * kwnames
[] = {
9993 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9998 if (!SWIG_IsOK(res1
)) {
9999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10001 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10004 if (!SWIG_IsOK(ecode2
)) {
10005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10007 arg2
= static_cast< int >(val2
);
10012 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10018 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10023 if (! PySequence_Check(obj4
)) {
10024 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10027 arg5
= new wxArrayString
;
10029 int i
, len
=PySequence_Length(obj4
);
10030 for (i
=0; i
<len
; i
++) {
10031 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10032 wxString
* s
= wxString_in_helper(item
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10041 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10042 if (!SWIG_IsOK(ecode6
)) {
10043 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10045 arg6
= static_cast< long >(val6
);
10048 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10049 if (!SWIG_IsOK(res7
)) {
10050 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10055 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10059 arg8
= wxString_in_helper(obj7
);
10060 if (arg8
== NULL
) SWIG_fail
;
10065 if (!wxPyCheckForApp()) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10073 if (temp5
) delete arg5
;
10082 if (temp5
) delete arg5
;
10092 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10093 PyObject
*resultobj
= 0;
10094 wxCheckListBox
*result
= 0 ;
10096 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10098 if (!wxPyCheckForApp()) SWIG_fail
;
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 result
= (wxCheckListBox
*)new wxCheckListBox();
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10111 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
= 0;
10113 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10114 wxWindow
*arg2
= (wxWindow
*) 0 ;
10115 int arg3
= (int) -1 ;
10116 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10117 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10118 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10119 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10120 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10121 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10122 long arg7
= (long) 0 ;
10123 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10124 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10125 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10126 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10136 bool temp6
= false ;
10141 bool temp9
= false ;
10142 PyObject
* obj0
= 0 ;
10143 PyObject
* obj1
= 0 ;
10144 PyObject
* obj2
= 0 ;
10145 PyObject
* obj3
= 0 ;
10146 PyObject
* obj4
= 0 ;
10147 PyObject
* obj5
= 0 ;
10148 PyObject
* obj6
= 0 ;
10149 PyObject
* obj7
= 0 ;
10150 PyObject
* obj8
= 0 ;
10151 char * kwnames
[] = {
10152 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10157 if (!SWIG_IsOK(res1
)) {
10158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10160 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10161 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10162 if (!SWIG_IsOK(res2
)) {
10163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10165 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10167 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10168 if (!SWIG_IsOK(ecode3
)) {
10169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10171 arg3
= static_cast< int >(val3
);
10176 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10182 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10187 if (! PySequence_Check(obj5
)) {
10188 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10191 arg6
= new wxArrayString
;
10193 int i
, len
=PySequence_Length(obj5
);
10194 for (i
=0; i
<len
; i
++) {
10195 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10196 wxString
* s
= wxString_in_helper(item
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10205 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10206 if (!SWIG_IsOK(ecode7
)) {
10207 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10209 arg7
= static_cast< long >(val7
);
10212 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10213 if (!SWIG_IsOK(res8
)) {
10214 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10219 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10223 arg9
= wxString_in_helper(obj8
);
10224 if (arg9
== NULL
) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10238 if (temp6
) delete arg6
;
10247 if (temp6
) delete arg6
;
10257 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
= 0;
10259 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10260 unsigned int arg2
;
10264 unsigned int val2
;
10266 PyObject
* obj0
= 0 ;
10267 PyObject
* obj1
= 0 ;
10268 char * kwnames
[] = {
10269 (char *) "self",(char *) "index", NULL
10272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10274 if (!SWIG_IsOK(res1
)) {
10275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10277 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10278 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10279 if (!SWIG_IsOK(ecode2
)) {
10280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10282 arg2
= static_cast< unsigned int >(val2
);
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 result
= (bool)(arg1
)->IsChecked(arg2
);
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10298 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
= 0;
10300 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10301 unsigned int arg2
;
10302 int arg3
= (int) true ;
10305 unsigned int val2
;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 PyObject
* obj2
= 0 ;
10312 char * kwnames
[] = {
10313 (char *) "self",(char *) "index",(char *) "check", NULL
10316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10318 if (!SWIG_IsOK(res1
)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10321 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10322 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10323 if (!SWIG_IsOK(ecode2
)) {
10324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10326 arg2
= static_cast< unsigned int >(val2
);
10328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10329 if (!SWIG_IsOK(ecode3
)) {
10330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10332 arg3
= static_cast< int >(val3
);
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 (arg1
)->Check(arg2
,arg3
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= SWIG_Py_Void();
10347 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10350 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10351 return SWIG_Py_Void();
10354 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10355 return SWIG_Python_InitShadowInstance(args
);
10358 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10359 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10364 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10365 PyObject
*pyobj
= 0;
10369 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10371 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10378 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
= 0;
10380 wxColour
const &arg1_defvalue
= wxNullColour
;
10381 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10382 wxColour
const &arg2_defvalue
= wxNullColour
;
10383 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10384 wxFont
const &arg3_defvalue
= wxNullFont
;
10385 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10386 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10387 wxTextAttr
*result
= 0 ;
10394 PyObject
* obj0
= 0 ;
10395 PyObject
* obj1
= 0 ;
10396 PyObject
* obj2
= 0 ;
10397 PyObject
* obj3
= 0 ;
10398 char * kwnames
[] = {
10399 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10406 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10412 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10416 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10417 if (!SWIG_IsOK(res3
)) {
10418 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10423 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10426 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10427 if (!SWIG_IsOK(ecode4
)) {
10428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10430 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10445 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10446 PyObject
*resultobj
= 0;
10447 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10450 PyObject
*swig_obj
[1] ;
10452 if (!args
) SWIG_fail
;
10453 swig_obj
[0] = args
;
10454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10455 if (!SWIG_IsOK(res1
)) {
10456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10458 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= SWIG_Py_Void();
10473 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10474 PyObject
*resultobj
= 0;
10475 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10478 PyObject
*swig_obj
[1] ;
10480 if (!args
) SWIG_fail
;
10481 swig_obj
[0] = args
;
10482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10483 if (!SWIG_IsOK(res1
)) {
10484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10486 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= SWIG_Py_Void();
10500 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
= 0;
10502 wxTextAttr
*arg1
= 0 ;
10503 wxTextAttr
*arg2
= 0 ;
10509 PyObject
* obj0
= 0 ;
10510 PyObject
* obj1
= 0 ;
10511 char * kwnames
[] = {
10512 (char *) "base",(char *) "overlay", NULL
10515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10516 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10517 if (!SWIG_IsOK(res1
)) {
10518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10523 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10525 if (!SWIG_IsOK(res2
)) {
10526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10531 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10545 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
= 0;
10547 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10548 wxColour
*arg2
= 0 ;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 char * kwnames
[] = {
10555 (char *) "self",(char *) "colText", NULL
10558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10560 if (!SWIG_IsOK(res1
)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10563 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10566 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10574 resultobj
= SWIG_Py_Void();
10581 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
= 0;
10583 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10584 wxColour
*arg2
= 0 ;
10588 PyObject
* obj0
= 0 ;
10589 PyObject
* obj1
= 0 ;
10590 char * kwnames
[] = {
10591 (char *) "self",(char *) "colBack", NULL
10594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10596 if (!SWIG_IsOK(res1
)) {
10597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10599 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10602 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10610 resultobj
= SWIG_Py_Void();
10617 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
= 0;
10619 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10621 long arg3
= (long) wxTEXT_ATTR_FONT
;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 PyObject
* obj2
= 0 ;
10631 char * kwnames
[] = {
10632 (char *) "self",(char *) "font",(char *) "flags", NULL
10635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10637 if (!SWIG_IsOK(res1
)) {
10638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10640 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10641 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10642 if (!SWIG_IsOK(res2
)) {
10643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10648 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10650 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10651 if (!SWIG_IsOK(ecode3
)) {
10652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10654 arg3
= static_cast< long >(val3
);
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= SWIG_Py_Void();
10669 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
*resultobj
= 0;
10671 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10672 wxTextAttrAlignment arg2
;
10677 PyObject
* obj0
= 0 ;
10678 PyObject
* obj1
= 0 ;
10679 char * kwnames
[] = {
10680 (char *) "self",(char *) "alignment", NULL
10683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10685 if (!SWIG_IsOK(res1
)) {
10686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10688 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10690 if (!SWIG_IsOK(ecode2
)) {
10691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10693 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 (arg1
)->SetAlignment(arg2
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= SWIG_Py_Void();
10707 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
= 0;
10709 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10710 wxArrayInt
*arg2
= 0 ;
10713 bool temp2
= false ;
10714 PyObject
* obj0
= 0 ;
10715 PyObject
* obj1
= 0 ;
10716 char * kwnames
[] = {
10717 (char *) "self",(char *) "tabs", NULL
10720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10722 if (!SWIG_IsOK(res1
)) {
10723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10725 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10727 if (! PySequence_Check(obj1
)) {
10728 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10731 arg2
= new wxArrayInt
;
10733 int i
, len
=PySequence_Length(obj1
);
10734 for (i
=0; i
<len
; i
++) {
10735 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10736 PyObject
* number
= PyNumber_Int(item
);
10738 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10741 arg2
->Add(PyInt_AS_LONG(number
));
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10752 resultobj
= SWIG_Py_Void();
10754 if (temp2
) delete arg2
;
10759 if (temp2
) delete arg2
;
10765 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
= 0;
10767 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10769 int arg3
= (int) 0 ;
10776 PyObject
* obj0
= 0 ;
10777 PyObject
* obj1
= 0 ;
10778 PyObject
* obj2
= 0 ;
10779 char * kwnames
[] = {
10780 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10785 if (!SWIG_IsOK(res1
)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10788 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10790 if (!SWIG_IsOK(ecode2
)) {
10791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10793 arg2
= static_cast< int >(val2
);
10795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10796 if (!SWIG_IsOK(ecode3
)) {
10797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10799 arg3
= static_cast< int >(val3
);
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 (arg1
)->SetLeftIndent(arg2
,arg3
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= SWIG_Py_Void();
10814 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
= 0;
10816 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 char * kwnames
[] = {
10825 (char *) "self",(char *) "indent", NULL
10828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10830 if (!SWIG_IsOK(res1
)) {
10831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10833 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10835 if (!SWIG_IsOK(ecode2
)) {
10836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10838 arg2
= static_cast< int >(val2
);
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 (arg1
)->SetRightIndent(arg2
);
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= SWIG_Py_Void();
10852 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
= 0;
10854 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10860 PyObject
* obj0
= 0 ;
10861 PyObject
* obj1
= 0 ;
10862 char * kwnames
[] = {
10863 (char *) "self",(char *) "flags", NULL
10866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10868 if (!SWIG_IsOK(res1
)) {
10869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10871 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10872 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10873 if (!SWIG_IsOK(ecode2
)) {
10874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10876 arg2
= static_cast< long >(val2
);
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 (arg1
)->SetFlags(arg2
);
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10883 resultobj
= SWIG_Py_Void();
10890 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10891 PyObject
*resultobj
= 0;
10892 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10896 PyObject
*swig_obj
[1] ;
10898 if (!args
) SWIG_fail
;
10899 swig_obj
[0] = args
;
10900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10901 if (!SWIG_IsOK(res1
)) {
10902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10904 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10920 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10921 PyObject
*resultobj
= 0;
10922 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10926 PyObject
*swig_obj
[1] ;
10928 if (!args
) SWIG_fail
;
10929 swig_obj
[0] = args
;
10930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10931 if (!SWIG_IsOK(res1
)) {
10932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10934 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10950 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10951 PyObject
*resultobj
= 0;
10952 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10956 PyObject
*swig_obj
[1] ;
10958 if (!args
) SWIG_fail
;
10959 swig_obj
[0] = args
;
10960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10961 if (!SWIG_IsOK(res1
)) {
10962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10964 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10980 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10981 PyObject
*resultobj
= 0;
10982 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10986 PyObject
*swig_obj
[1] ;
10988 if (!args
) SWIG_fail
;
10989 swig_obj
[0] = args
;
10990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10991 if (!SWIG_IsOK(res1
)) {
10992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10994 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11010 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11011 PyObject
*resultobj
= 0;
11012 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11016 PyObject
*swig_obj
[1] ;
11018 if (!args
) SWIG_fail
;
11019 swig_obj
[0] = args
;
11020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11021 if (!SWIG_IsOK(res1
)) {
11022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11024 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11040 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11041 PyObject
*resultobj
= 0;
11042 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11046 PyObject
*swig_obj
[1] ;
11048 if (!args
) SWIG_fail
;
11049 swig_obj
[0] = args
;
11050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11051 if (!SWIG_IsOK(res1
)) {
11052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11054 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11070 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11071 PyObject
*resultobj
= 0;
11072 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11076 PyObject
*swig_obj
[1] ;
11078 if (!args
) SWIG_fail
;
11079 swig_obj
[0] = args
;
11080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11081 if (!SWIG_IsOK(res1
)) {
11082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11084 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11100 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
= 0;
11102 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11109 PyObject
* obj0
= 0 ;
11110 PyObject
* obj1
= 0 ;
11111 char * kwnames
[] = {
11112 (char *) "self",(char *) "flag", NULL
11115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11117 if (!SWIG_IsOK(res1
)) {
11118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11120 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11121 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11122 if (!SWIG_IsOK(ecode2
)) {
11123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11125 arg2
= static_cast< long >(val2
);
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11141 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11142 PyObject
*resultobj
= 0;
11143 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11144 wxColour
*result
= 0 ;
11147 PyObject
*swig_obj
[1] ;
11149 if (!args
) SWIG_fail
;
11150 swig_obj
[0] = args
;
11151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11152 if (!SWIG_IsOK(res1
)) {
11153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11155 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11160 result
= (wxColour
*) &_result_ref
;
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11172 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11173 PyObject
*resultobj
= 0;
11174 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11175 wxColour
*result
= 0 ;
11178 PyObject
*swig_obj
[1] ;
11180 if (!args
) SWIG_fail
;
11181 swig_obj
[0] = args
;
11182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11183 if (!SWIG_IsOK(res1
)) {
11184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11186 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11191 result
= (wxColour
*) &_result_ref
;
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11203 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11204 PyObject
*resultobj
= 0;
11205 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11206 wxFont
*result
= 0 ;
11209 PyObject
*swig_obj
[1] ;
11211 if (!args
) SWIG_fail
;
11212 swig_obj
[0] = args
;
11213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11214 if (!SWIG_IsOK(res1
)) {
11215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11217 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11222 result
= (wxFont
*) &_result_ref
;
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11228 wxFont
* resultptr
= new wxFont(*result
);
11229 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11237 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11238 PyObject
*resultobj
= 0;
11239 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11240 wxTextAttrAlignment result
;
11243 PyObject
*swig_obj
[1] ;
11245 if (!args
) SWIG_fail
;
11246 swig_obj
[0] = args
;
11247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11248 if (!SWIG_IsOK(res1
)) {
11249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11251 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11254 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11258 resultobj
= SWIG_From_int(static_cast< int >(result
));
11265 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11266 PyObject
*resultobj
= 0;
11267 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11268 wxArrayInt
*result
= 0 ;
11271 PyObject
*swig_obj
[1] ;
11273 if (!args
) SWIG_fail
;
11274 swig_obj
[0] = args
;
11275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11276 if (!SWIG_IsOK(res1
)) {
11277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11279 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11284 result
= (wxArrayInt
*) &_result_ref
;
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= wxArrayInt2PyList_helper(*result
);
11298 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11299 PyObject
*resultobj
= 0;
11300 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11304 PyObject
*swig_obj
[1] ;
11306 if (!args
) SWIG_fail
;
11307 swig_obj
[0] = args
;
11308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11309 if (!SWIG_IsOK(res1
)) {
11310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11312 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 resultobj
= SWIG_From_long(static_cast< long >(result
));
11326 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11327 PyObject
*resultobj
= 0;
11328 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11332 PyObject
*swig_obj
[1] ;
11334 if (!args
) SWIG_fail
;
11335 swig_obj
[0] = args
;
11336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11337 if (!SWIG_IsOK(res1
)) {
11338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11340 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= SWIG_From_long(static_cast< long >(result
));
11354 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11355 PyObject
*resultobj
= 0;
11356 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11360 PyObject
*swig_obj
[1] ;
11362 if (!args
) SWIG_fail
;
11363 swig_obj
[0] = args
;
11364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11365 if (!SWIG_IsOK(res1
)) {
11366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11368 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11375 resultobj
= SWIG_From_long(static_cast< long >(result
));
11382 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11383 PyObject
*resultobj
= 0;
11384 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11388 PyObject
*swig_obj
[1] ;
11390 if (!args
) SWIG_fail
;
11391 swig_obj
[0] = args
;
11392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11393 if (!SWIG_IsOK(res1
)) {
11394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11396 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11399 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11403 resultobj
= SWIG_From_long(static_cast< long >(result
));
11410 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11411 PyObject
*resultobj
= 0;
11412 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11416 PyObject
*swig_obj
[1] ;
11418 if (!args
) SWIG_fail
;
11419 swig_obj
[0] = args
;
11420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11421 if (!SWIG_IsOK(res1
)) {
11422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11424 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11440 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
= 0;
11442 wxTextAttr
*arg1
= 0 ;
11443 wxTextAttr
*arg2
= 0 ;
11444 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11452 PyObject
* obj0
= 0 ;
11453 PyObject
* obj1
= 0 ;
11454 PyObject
* obj2
= 0 ;
11455 char * kwnames
[] = {
11456 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11460 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11461 if (!SWIG_IsOK(res1
)) {
11462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11467 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11468 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11469 if (!SWIG_IsOK(res2
)) {
11470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11475 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11476 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11477 if (!SWIG_IsOK(res3
)) {
11478 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11480 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11494 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11497 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11498 return SWIG_Py_Void();
11501 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11502 return SWIG_Python_InitShadowInstance(args
);
11505 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
= 0;
11507 wxWindow
*arg1
= (wxWindow
*) 0 ;
11508 int arg2
= (int) -1 ;
11509 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11510 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11511 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11512 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11513 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11514 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11515 long arg6
= (long) 0 ;
11516 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11517 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11518 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11519 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11520 wxTextCtrl
*result
= 0 ;
11525 bool temp3
= false ;
11532 bool temp8
= false ;
11533 PyObject
* obj0
= 0 ;
11534 PyObject
* obj1
= 0 ;
11535 PyObject
* obj2
= 0 ;
11536 PyObject
* obj3
= 0 ;
11537 PyObject
* obj4
= 0 ;
11538 PyObject
* obj5
= 0 ;
11539 PyObject
* obj6
= 0 ;
11540 PyObject
* obj7
= 0 ;
11541 char * kwnames
[] = {
11542 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11547 if (!SWIG_IsOK(res1
)) {
11548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11550 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11553 if (!SWIG_IsOK(ecode2
)) {
11554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11556 arg2
= static_cast< int >(val2
);
11560 arg3
= wxString_in_helper(obj2
);
11561 if (arg3
== NULL
) SWIG_fail
;
11568 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11574 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11578 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11579 if (!SWIG_IsOK(ecode6
)) {
11580 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11582 arg6
= static_cast< long >(val6
);
11585 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11586 if (!SWIG_IsOK(res7
)) {
11587 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11592 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11596 arg8
= wxString_in_helper(obj7
);
11597 if (arg8
== NULL
) SWIG_fail
;
11602 if (!wxPyCheckForApp()) SWIG_fail
;
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11631 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11632 PyObject
*resultobj
= 0;
11633 wxTextCtrl
*result
= 0 ;
11635 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11637 if (!wxPyCheckForApp()) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (wxTextCtrl
*)new wxTextCtrl();
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11650 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
= 0;
11652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11653 wxWindow
*arg2
= (wxWindow
*) 0 ;
11654 int arg3
= (int) -1 ;
11655 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11656 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11657 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11658 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11659 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11660 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11661 long arg7
= (long) 0 ;
11662 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11663 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11664 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11665 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11673 bool temp4
= false ;
11680 bool temp9
= false ;
11681 PyObject
* obj0
= 0 ;
11682 PyObject
* obj1
= 0 ;
11683 PyObject
* obj2
= 0 ;
11684 PyObject
* obj3
= 0 ;
11685 PyObject
* obj4
= 0 ;
11686 PyObject
* obj5
= 0 ;
11687 PyObject
* obj6
= 0 ;
11688 PyObject
* obj7
= 0 ;
11689 PyObject
* obj8
= 0 ;
11690 char * kwnames
[] = {
11691 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11696 if (!SWIG_IsOK(res1
)) {
11697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11699 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11700 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11701 if (!SWIG_IsOK(res2
)) {
11702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11704 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11707 if (!SWIG_IsOK(ecode3
)) {
11708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11710 arg3
= static_cast< int >(val3
);
11714 arg4
= wxString_in_helper(obj3
);
11715 if (arg4
== NULL
) SWIG_fail
;
11722 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11728 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11732 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11733 if (!SWIG_IsOK(ecode7
)) {
11734 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11736 arg7
= static_cast< long >(val7
);
11739 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11740 if (!SWIG_IsOK(res8
)) {
11741 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11746 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11750 arg9
= wxString_in_helper(obj8
);
11751 if (arg9
== NULL
) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11786 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11787 PyObject
*resultobj
= 0;
11788 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11792 PyObject
*swig_obj
[1] ;
11794 if (!args
) SWIG_fail
;
11795 swig_obj
[0] = args
;
11796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11797 if (!SWIG_IsOK(res1
)) {
11798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11800 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11820 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11821 PyObject
*resultobj
= 0;
11822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11823 wxString
*arg2
= 0 ;
11826 bool temp2
= false ;
11827 PyObject
* obj0
= 0 ;
11828 PyObject
* obj1
= 0 ;
11829 char * kwnames
[] = {
11830 (char *) "self",(char *) "value", NULL
11833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11835 if (!SWIG_IsOK(res1
)) {
11836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11838 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11840 arg2
= wxString_in_helper(obj1
);
11841 if (arg2
== NULL
) SWIG_fail
;
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 (arg1
)->SetValue((wxString
const &)*arg2
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 resultobj
= SWIG_Py_Void();
11865 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11866 PyObject
*resultobj
= 0;
11867 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11871 PyObject
*swig_obj
[1] ;
11873 if (!args
) SWIG_fail
;
11874 swig_obj
[0] = args
;
11875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11876 if (!SWIG_IsOK(res1
)) {
11877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11879 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11882 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11895 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
= 0;
11897 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11898 wxString
*arg2
= 0 ;
11901 bool temp2
= false ;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 char * kwnames
[] = {
11905 (char *) "self",(char *) "value", NULL
11908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11910 if (!SWIG_IsOK(res1
)) {
11911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11913 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11915 arg2
= wxString_in_helper(obj1
);
11916 if (arg2
== NULL
) SWIG_fail
;
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= SWIG_Py_Void();
11940 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
= 0;
11942 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11952 PyObject
* obj0
= 0 ;
11953 PyObject
* obj1
= 0 ;
11954 PyObject
* obj2
= 0 ;
11955 char * kwnames
[] = {
11956 (char *) "self",(char *) "from",(char *) "to", NULL
11959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11961 if (!SWIG_IsOK(res1
)) {
11962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11964 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11965 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11966 if (!SWIG_IsOK(ecode2
)) {
11967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11969 arg2
= static_cast< long >(val2
);
11970 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11971 if (!SWIG_IsOK(ecode3
)) {
11972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11974 arg3
= static_cast< long >(val3
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11994 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
= 0;
11996 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12003 PyObject
* obj0
= 0 ;
12004 PyObject
* obj1
= 0 ;
12005 char * kwnames
[] = {
12006 (char *) "self",(char *) "lineNo", NULL
12009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12011 if (!SWIG_IsOK(res1
)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12014 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12015 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12016 if (!SWIG_IsOK(ecode2
)) {
12017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12019 arg2
= static_cast< long >(val2
);
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= SWIG_From_int(static_cast< int >(result
));
12033 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
= 0;
12035 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 PyObject
* obj1
= 0 ;
12044 char * kwnames
[] = {
12045 (char *) "self",(char *) "lineNo", NULL
12048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12050 if (!SWIG_IsOK(res1
)) {
12051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12053 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12054 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12055 if (!SWIG_IsOK(ecode2
)) {
12056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12058 arg2
= static_cast< long >(val2
);
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12078 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12079 PyObject
*resultobj
= 0;
12080 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12084 PyObject
*swig_obj
[1] ;
12086 if (!args
) SWIG_fail
;
12087 swig_obj
[0] = args
;
12088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12089 if (!SWIG_IsOK(res1
)) {
12090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12092 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= SWIG_From_int(static_cast< int >(result
));
12106 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12107 PyObject
*resultobj
= 0;
12108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12112 PyObject
*swig_obj
[1] ;
12114 if (!args
) SWIG_fail
;
12115 swig_obj
[0] = args
;
12116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12117 if (!SWIG_IsOK(res1
)) {
12118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12120 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12136 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12137 PyObject
*resultobj
= 0;
12138 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12142 PyObject
*swig_obj
[1] ;
12144 if (!args
) SWIG_fail
;
12145 swig_obj
[0] = args
;
12146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12147 if (!SWIG_IsOK(res1
)) {
12148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12150 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12166 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12167 PyObject
*resultobj
= 0;
12168 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12172 PyObject
*swig_obj
[1] ;
12174 if (!args
) SWIG_fail
;
12175 swig_obj
[0] = args
;
12176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12177 if (!SWIG_IsOK(res1
)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12180 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12196 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12197 PyObject
*resultobj
= 0;
12198 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12202 PyObject
*swig_obj
[1] ;
12204 if (!args
) SWIG_fail
;
12205 swig_obj
[0] = args
;
12206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12207 if (!SWIG_IsOK(res1
)) {
12208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12210 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12226 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12227 PyObject
*resultobj
= 0;
12228 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12229 long *arg2
= (long *) 0 ;
12230 long *arg3
= (long *) 0 ;
12234 int res2
= SWIG_TMPOBJ
;
12236 int res3
= SWIG_TMPOBJ
;
12237 PyObject
*swig_obj
[1] ;
12241 if (!args
) SWIG_fail
;
12242 swig_obj
[0] = args
;
12243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12244 if (!SWIG_IsOK(res1
)) {
12245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12247 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= SWIG_Py_Void();
12255 if (SWIG_IsTmpObj(res2
)) {
12256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12258 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12261 if (SWIG_IsTmpObj(res3
)) {
12262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12264 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12273 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12274 PyObject
*resultobj
= 0;
12275 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12279 PyObject
*swig_obj
[1] ;
12281 if (!args
) SWIG_fail
;
12282 swig_obj
[0] = args
;
12283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12284 if (!SWIG_IsOK(res1
)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12287 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12307 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12308 PyObject
*resultobj
= 0;
12309 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12312 PyObject
*swig_obj
[1] ;
12314 if (!args
) SWIG_fail
;
12315 swig_obj
[0] = args
;
12316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12320 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_Py_Void();
12334 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12335 PyObject
*resultobj
= 0;
12336 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12339 wxString
*arg4
= 0 ;
12346 bool temp4
= false ;
12347 PyObject
* obj0
= 0 ;
12348 PyObject
* obj1
= 0 ;
12349 PyObject
* obj2
= 0 ;
12350 PyObject
* obj3
= 0 ;
12351 char * kwnames
[] = {
12352 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12357 if (!SWIG_IsOK(res1
)) {
12358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12360 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12361 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12362 if (!SWIG_IsOK(ecode2
)) {
12363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12365 arg2
= static_cast< long >(val2
);
12366 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12367 if (!SWIG_IsOK(ecode3
)) {
12368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12370 arg3
= static_cast< long >(val3
);
12372 arg4
= wxString_in_helper(obj3
);
12373 if (arg4
== NULL
) SWIG_fail
;
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12382 resultobj
= SWIG_Py_Void();
12397 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
= 0;
12399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12408 PyObject
* obj0
= 0 ;
12409 PyObject
* obj1
= 0 ;
12410 PyObject
* obj2
= 0 ;
12411 char * kwnames
[] = {
12412 (char *) "self",(char *) "from",(char *) "to", NULL
12415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12417 if (!SWIG_IsOK(res1
)) {
12418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12420 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12421 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12422 if (!SWIG_IsOK(ecode2
)) {
12423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12425 arg2
= static_cast< long >(val2
);
12426 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12427 if (!SWIG_IsOK(ecode3
)) {
12428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12430 arg3
= static_cast< long >(val3
);
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 (arg1
)->Remove(arg2
,arg3
);
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= SWIG_Py_Void();
12444 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
= 0;
12446 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12447 wxString
*arg2
= 0 ;
12448 int arg3
= (int) wxTEXT_TYPE_ANY
;
12452 bool temp2
= false ;
12455 PyObject
* obj0
= 0 ;
12456 PyObject
* obj1
= 0 ;
12457 PyObject
* obj2
= 0 ;
12458 char * kwnames
[] = {
12459 (char *) "self",(char *) "file",(char *) "fileType", NULL
12462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12464 if (!SWIG_IsOK(res1
)) {
12465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12467 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12469 arg2
= wxString_in_helper(obj1
);
12470 if (arg2
== NULL
) SWIG_fail
;
12474 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12475 if (!SWIG_IsOK(ecode3
)) {
12476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12478 arg3
= static_cast< int >(val3
);
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12503 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
*resultobj
= 0;
12505 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12506 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12507 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12508 int arg3
= (int) wxTEXT_TYPE_ANY
;
12512 bool temp2
= false ;
12515 PyObject
* obj0
= 0 ;
12516 PyObject
* obj1
= 0 ;
12517 PyObject
* obj2
= 0 ;
12518 char * kwnames
[] = {
12519 (char *) "self",(char *) "file",(char *) "fileType", NULL
12522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12524 if (!SWIG_IsOK(res1
)) {
12525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12527 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12530 arg2
= wxString_in_helper(obj1
);
12531 if (arg2
== NULL
) SWIG_fail
;
12536 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12537 if (!SWIG_IsOK(ecode3
)) {
12538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12540 arg3
= static_cast< int >(val3
);
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12565 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12566 PyObject
*resultobj
= 0;
12567 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12570 PyObject
*swig_obj
[1] ;
12572 if (!args
) SWIG_fail
;
12573 swig_obj
[0] = args
;
12574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12575 if (!SWIG_IsOK(res1
)) {
12576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12578 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 (arg1
)->MarkDirty();
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= SWIG_Py_Void();
12592 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12593 PyObject
*resultobj
= 0;
12594 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12597 PyObject
*swig_obj
[1] ;
12599 if (!args
) SWIG_fail
;
12600 swig_obj
[0] = args
;
12601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12602 if (!SWIG_IsOK(res1
)) {
12603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12605 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->DiscardEdits();
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= SWIG_Py_Void();
12619 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
= 0;
12621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12627 PyObject
* obj0
= 0 ;
12628 PyObject
* obj1
= 0 ;
12629 char * kwnames
[] = {
12630 (char *) "self",(char *) "modified", NULL
12633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12635 if (!SWIG_IsOK(res1
)) {
12636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12638 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12639 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12640 if (!SWIG_IsOK(ecode2
)) {
12641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12643 arg2
= static_cast< bool >(val2
);
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 (arg1
)->SetModified(arg2
);
12647 wxPyEndAllowThreads(__tstate
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12650 resultobj
= SWIG_Py_Void();
12657 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12658 PyObject
*resultobj
= 0;
12659 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12660 unsigned long arg2
;
12663 unsigned long val2
;
12665 PyObject
* obj0
= 0 ;
12666 PyObject
* obj1
= 0 ;
12667 char * kwnames
[] = {
12668 (char *) "self",(char *) "len", NULL
12671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12673 if (!SWIG_IsOK(res1
)) {
12674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12676 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12677 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12678 if (!SWIG_IsOK(ecode2
)) {
12679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12681 arg2
= static_cast< unsigned long >(val2
);
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 (arg1
)->SetMaxLength(arg2
);
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= SWIG_Py_Void();
12695 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
= 0;
12697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12698 wxString
*arg2
= 0 ;
12701 bool temp2
= false ;
12702 PyObject
* obj0
= 0 ;
12703 PyObject
* obj1
= 0 ;
12704 char * kwnames
[] = {
12705 (char *) "self",(char *) "text", NULL
12708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12710 if (!SWIG_IsOK(res1
)) {
12711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12713 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12715 arg2
= wxString_in_helper(obj1
);
12716 if (arg2
== NULL
) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 (arg1
)->WriteText((wxString
const &)*arg2
);
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12725 resultobj
= SWIG_Py_Void();
12740 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
= 0;
12742 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12743 wxString
*arg2
= 0 ;
12746 bool temp2
= false ;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 char * kwnames
[] = {
12750 (char *) "self",(char *) "text", NULL
12753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12755 if (!SWIG_IsOK(res1
)) {
12756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12758 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12760 arg2
= wxString_in_helper(obj1
);
12761 if (arg2
== NULL
) SWIG_fail
;
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 (arg1
)->AppendText((wxString
const &)*arg2
);
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 resultobj
= SWIG_Py_Void();
12785 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
= 0;
12787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12788 wxKeyEvent
*arg2
= 0 ;
12794 PyObject
* obj0
= 0 ;
12795 PyObject
* obj1
= 0 ;
12796 char * kwnames
[] = {
12797 (char *) "self",(char *) "event", NULL
12800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12802 if (!SWIG_IsOK(res1
)) {
12803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12805 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12806 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12807 if (!SWIG_IsOK(res2
)) {
12808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12813 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12829 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12830 PyObject
*resultobj
= 0;
12831 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12834 wxTextAttr
*arg4
= 0 ;
12844 PyObject
* obj0
= 0 ;
12845 PyObject
* obj1
= 0 ;
12846 PyObject
* obj2
= 0 ;
12847 PyObject
* obj3
= 0 ;
12848 char * kwnames
[] = {
12849 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12854 if (!SWIG_IsOK(res1
)) {
12855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12857 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12858 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12859 if (!SWIG_IsOK(ecode2
)) {
12860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12862 arg2
= static_cast< long >(val2
);
12863 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12864 if (!SWIG_IsOK(ecode3
)) {
12865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12867 arg3
= static_cast< long >(val3
);
12868 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12869 if (!SWIG_IsOK(res4
)) {
12870 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12875 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12891 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
= 0;
12893 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12895 wxTextAttr
*arg3
= 0 ;
12903 PyObject
* obj0
= 0 ;
12904 PyObject
* obj1
= 0 ;
12905 PyObject
* obj2
= 0 ;
12906 char * kwnames
[] = {
12907 (char *) "self",(char *) "position",(char *) "style", NULL
12910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12912 if (!SWIG_IsOK(res1
)) {
12913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12915 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12916 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12917 if (!SWIG_IsOK(ecode2
)) {
12918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12920 arg2
= static_cast< long >(val2
);
12921 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12922 if (!SWIG_IsOK(res3
)) {
12923 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12928 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12944 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
= 0;
12946 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12947 wxTextAttr
*arg2
= 0 ;
12953 PyObject
* obj0
= 0 ;
12954 PyObject
* obj1
= 0 ;
12955 char * kwnames
[] = {
12956 (char *) "self",(char *) "style", NULL
12959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12961 if (!SWIG_IsOK(res1
)) {
12962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12964 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12965 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12966 if (!SWIG_IsOK(res2
)) {
12967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12972 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12988 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12989 PyObject
*resultobj
= 0;
12990 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12991 wxTextAttr
*result
= 0 ;
12994 PyObject
*swig_obj
[1] ;
12996 if (!args
) SWIG_fail
;
12997 swig_obj
[0] = args
;
12998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12999 if (!SWIG_IsOK(res1
)) {
13000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13002 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13007 result
= (wxTextAttr
*) &_result_ref
;
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13019 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
= 0;
13021 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13031 PyObject
* obj0
= 0 ;
13032 PyObject
* obj1
= 0 ;
13033 PyObject
* obj2
= 0 ;
13034 char * kwnames
[] = {
13035 (char *) "self",(char *) "x",(char *) "y", NULL
13038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13040 if (!SWIG_IsOK(res1
)) {
13041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13043 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13044 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13045 if (!SWIG_IsOK(ecode2
)) {
13046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13048 arg2
= static_cast< long >(val2
);
13049 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13050 if (!SWIG_IsOK(ecode3
)) {
13051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13053 arg3
= static_cast< long >(val3
);
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= SWIG_From_long(static_cast< long >(result
));
13067 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
= 0;
13069 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13071 long *arg3
= (long *) 0 ;
13072 long *arg4
= (long *) 0 ;
13078 int res3
= SWIG_TMPOBJ
;
13080 int res4
= SWIG_TMPOBJ
;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 char * kwnames
[] = {
13084 (char *) "self",(char *) "pos", NULL
13089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13091 if (!SWIG_IsOK(res1
)) {
13092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13094 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13095 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13096 if (!SWIG_IsOK(ecode2
)) {
13097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13099 arg2
= static_cast< long >(val2
);
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= SWIG_Py_Void();
13107 if (SWIG_IsTmpObj(res3
)) {
13108 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13110 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13111 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13113 if (SWIG_IsTmpObj(res4
)) {
13114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13116 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13125 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
= 0;
13127 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13133 PyObject
* obj0
= 0 ;
13134 PyObject
* obj1
= 0 ;
13135 char * kwnames
[] = {
13136 (char *) "self",(char *) "pos", NULL
13139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13141 if (!SWIG_IsOK(res1
)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13144 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13145 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13146 if (!SWIG_IsOK(ecode2
)) {
13147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13149 arg2
= static_cast< long >(val2
);
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 (arg1
)->ShowPosition(arg2
);
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 resultobj
= SWIG_Py_Void();
13163 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
= 0;
13165 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13166 wxPoint
*arg2
= 0 ;
13167 long *arg3
= (long *) 0 ;
13168 long *arg4
= (long *) 0 ;
13169 wxTextCtrlHitTestResult result
;
13174 int res3
= SWIG_TMPOBJ
;
13176 int res4
= SWIG_TMPOBJ
;
13177 PyObject
* obj0
= 0 ;
13178 PyObject
* obj1
= 0 ;
13179 char * kwnames
[] = {
13180 (char *) "self",(char *) "pt", NULL
13185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13187 if (!SWIG_IsOK(res1
)) {
13188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13190 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13197 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= SWIG_From_int(static_cast< int >(result
));
13202 if (SWIG_IsTmpObj(res3
)) {
13203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13205 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13208 if (SWIG_IsTmpObj(res4
)) {
13209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13211 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13220 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13221 PyObject
*resultobj
= 0;
13222 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13223 wxPoint
*arg2
= 0 ;
13224 long *arg3
= (long *) 0 ;
13225 wxTextCtrlHitTestResult result
;
13230 int res3
= SWIG_TMPOBJ
;
13231 PyObject
* obj0
= 0 ;
13232 PyObject
* obj1
= 0 ;
13233 char * kwnames
[] = {
13234 (char *) "self",(char *) "pt", NULL
13238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13240 if (!SWIG_IsOK(res1
)) {
13241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13243 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13246 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13251 wxPyEndAllowThreads(__tstate
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13254 resultobj
= SWIG_From_int(static_cast< int >(result
));
13255 if (SWIG_IsTmpObj(res3
)) {
13256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13258 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13267 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13268 PyObject
*resultobj
= 0;
13269 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13272 PyObject
*swig_obj
[1] ;
13274 if (!args
) SWIG_fail
;
13275 swig_obj
[0] = args
;
13276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13277 if (!SWIG_IsOK(res1
)) {
13278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13280 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= SWIG_Py_Void();
13294 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13295 PyObject
*resultobj
= 0;
13296 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13299 PyObject
*swig_obj
[1] ;
13301 if (!args
) SWIG_fail
;
13302 swig_obj
[0] = args
;
13303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13304 if (!SWIG_IsOK(res1
)) {
13305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13307 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= SWIG_Py_Void();
13321 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13322 PyObject
*resultobj
= 0;
13323 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13326 PyObject
*swig_obj
[1] ;
13328 if (!args
) SWIG_fail
;
13329 swig_obj
[0] = args
;
13330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13331 if (!SWIG_IsOK(res1
)) {
13332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13334 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 resultobj
= SWIG_Py_Void();
13348 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13349 PyObject
*resultobj
= 0;
13350 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13354 PyObject
*swig_obj
[1] ;
13356 if (!args
) SWIG_fail
;
13357 swig_obj
[0] = args
;
13358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13359 if (!SWIG_IsOK(res1
)) {
13360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13362 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13378 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13379 PyObject
*resultobj
= 0;
13380 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13384 PyObject
*swig_obj
[1] ;
13386 if (!args
) SWIG_fail
;
13387 swig_obj
[0] = args
;
13388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13389 if (!SWIG_IsOK(res1
)) {
13390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13392 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13408 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13409 PyObject
*resultobj
= 0;
13410 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13414 PyObject
*swig_obj
[1] ;
13416 if (!args
) SWIG_fail
;
13417 swig_obj
[0] = args
;
13418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13419 if (!SWIG_IsOK(res1
)) {
13420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13422 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13438 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13439 PyObject
*resultobj
= 0;
13440 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13443 PyObject
*swig_obj
[1] ;
13445 if (!args
) SWIG_fail
;
13446 swig_obj
[0] = args
;
13447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13448 if (!SWIG_IsOK(res1
)) {
13449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13451 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 resultobj
= SWIG_Py_Void();
13465 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13466 PyObject
*resultobj
= 0;
13467 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13470 PyObject
*swig_obj
[1] ;
13472 if (!args
) SWIG_fail
;
13473 swig_obj
[0] = args
;
13474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13475 if (!SWIG_IsOK(res1
)) {
13476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13478 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13485 resultobj
= SWIG_Py_Void();
13492 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13493 PyObject
*resultobj
= 0;
13494 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13498 PyObject
*swig_obj
[1] ;
13500 if (!args
) SWIG_fail
;
13501 swig_obj
[0] = args
;
13502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13503 if (!SWIG_IsOK(res1
)) {
13504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13506 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13522 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13523 PyObject
*resultobj
= 0;
13524 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13528 PyObject
*swig_obj
[1] ;
13530 if (!args
) SWIG_fail
;
13531 swig_obj
[0] = args
;
13532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13533 if (!SWIG_IsOK(res1
)) {
13534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13536 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13552 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
= 0;
13554 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13560 PyObject
* obj0
= 0 ;
13561 PyObject
* obj1
= 0 ;
13562 char * kwnames
[] = {
13563 (char *) "self",(char *) "pos", NULL
13566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13568 if (!SWIG_IsOK(res1
)) {
13569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13571 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13572 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13573 if (!SWIG_IsOK(ecode2
)) {
13574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13576 arg2
= static_cast< long >(val2
);
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 (arg1
)->SetInsertionPoint(arg2
);
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_Py_Void();
13590 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13591 PyObject
*resultobj
= 0;
13592 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13595 PyObject
*swig_obj
[1] ;
13597 if (!args
) SWIG_fail
;
13598 swig_obj
[0] = args
;
13599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13600 if (!SWIG_IsOK(res1
)) {
13601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13603 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 (arg1
)->SetInsertionPointEnd();
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= SWIG_Py_Void();
13617 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13618 PyObject
*resultobj
= 0;
13619 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13623 PyObject
*swig_obj
[1] ;
13625 if (!args
) SWIG_fail
;
13626 swig_obj
[0] = args
;
13627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13628 if (!SWIG_IsOK(res1
)) {
13629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13631 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 resultobj
= SWIG_From_long(static_cast< long >(result
));
13645 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13646 PyObject
*resultobj
= 0;
13647 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13651 PyObject
*swig_obj
[1] ;
13653 if (!args
) SWIG_fail
;
13654 swig_obj
[0] = args
;
13655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13656 if (!SWIG_IsOK(res1
)) {
13657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13659 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13666 resultobj
= SWIG_From_long(static_cast< long >(result
));
13673 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
= 0;
13675 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 PyObject
* obj2
= 0 ;
13687 char * kwnames
[] = {
13688 (char *) "self",(char *) "from",(char *) "to", NULL
13691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13693 if (!SWIG_IsOK(res1
)) {
13694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13696 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13697 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13698 if (!SWIG_IsOK(ecode2
)) {
13699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13701 arg2
= static_cast< long >(val2
);
13702 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13703 if (!SWIG_IsOK(ecode3
)) {
13704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13706 arg3
= static_cast< long >(val3
);
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 (arg1
)->SetSelection(arg2
,arg3
);
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= SWIG_Py_Void();
13720 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13721 PyObject
*resultobj
= 0;
13722 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13725 PyObject
*swig_obj
[1] ;
13727 if (!args
) SWIG_fail
;
13728 swig_obj
[0] = args
;
13729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13730 if (!SWIG_IsOK(res1
)) {
13731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13733 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 (arg1
)->SelectAll();
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13740 resultobj
= SWIG_Py_Void();
13747 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13748 PyObject
*resultobj
= 0;
13749 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 char * kwnames
[] = {
13758 (char *) "self",(char *) "editable", NULL
13761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13763 if (!SWIG_IsOK(res1
)) {
13764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13766 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13767 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13768 if (!SWIG_IsOK(ecode2
)) {
13769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13771 arg2
= static_cast< bool >(val2
);
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 (arg1
)->SetEditable(arg2
);
13775 wxPyEndAllowThreads(__tstate
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13778 resultobj
= SWIG_Py_Void();
13785 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
= 0;
13787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13793 PyObject
* obj0
= 0 ;
13794 PyObject
* obj1
= 0 ;
13795 char * kwnames
[] = {
13796 (char *) "self",(char *) "check", NULL
13799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13801 if (!SWIG_IsOK(res1
)) {
13802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13804 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13805 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13806 if (!SWIG_IsOK(ecode2
)) {
13807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13809 arg2
= static_cast< bool >(val2
);
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 (arg1
)->MacCheckSpelling(arg2
);
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= SWIG_Py_Void();
13823 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13824 PyObject
*resultobj
= 0;
13825 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13828 PyObject
*swig_obj
[1] ;
13830 if (!args
) SWIG_fail
;
13831 swig_obj
[0] = args
;
13832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13833 if (!SWIG_IsOK(res1
)) {
13834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13836 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 (arg1
)->SendTextUpdatedEvent();
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 resultobj
= SWIG_Py_Void();
13850 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13851 PyObject
*resultobj
= 0;
13852 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13853 wxString
*arg2
= 0 ;
13856 bool temp2
= false ;
13857 PyObject
* obj0
= 0 ;
13858 PyObject
* obj1
= 0 ;
13859 char * kwnames
[] = {
13860 (char *) "self",(char *) "text", NULL
13863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13865 if (!SWIG_IsOK(res1
)) {
13866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13868 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13870 arg2
= wxString_in_helper(obj1
);
13871 if (arg2
== NULL
) SWIG_fail
;
13875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13877 wxPyEndAllowThreads(__tstate
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= SWIG_Py_Void();
13895 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13896 PyObject
*resultobj
= 0;
13897 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13907 PyObject
* obj0
= 0 ;
13908 PyObject
* obj1
= 0 ;
13909 PyObject
* obj2
= 0 ;
13910 char * kwnames
[] = {
13911 (char *) "self",(char *) "from",(char *) "to", NULL
13914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13916 if (!SWIG_IsOK(res1
)) {
13917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13919 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13920 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13921 if (!SWIG_IsOK(ecode2
)) {
13922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13924 arg2
= static_cast< long >(val2
);
13925 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13926 if (!SWIG_IsOK(ecode3
)) {
13927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13929 arg3
= static_cast< long >(val3
);
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13949 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13950 PyObject
*resultobj
= 0;
13951 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13952 SwigValueWrapper
<wxVisualAttributes
> result
;
13955 PyObject
* obj0
= 0 ;
13956 char * kwnames
[] = {
13957 (char *) "variant", NULL
13960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13962 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13963 if (!SWIG_IsOK(ecode1
)) {
13964 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13966 arg1
= static_cast< wxWindowVariant
>(val1
);
13969 if (!wxPyCheckForApp()) SWIG_fail
;
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13971 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13972 wxPyEndAllowThreads(__tstate
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13975 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13982 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13984 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13985 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13986 return SWIG_Py_Void();
13989 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13990 return SWIG_Python_InitShadowInstance(args
);
13993 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13994 PyObject
*resultobj
= 0;
13996 wxMouseEvent
*arg2
= 0 ;
13999 wxTextUrlEvent
*result
= 0 ;
14008 PyObject
* obj0
= 0 ;
14009 PyObject
* obj1
= 0 ;
14010 PyObject
* obj2
= 0 ;
14011 PyObject
* obj3
= 0 ;
14012 char * kwnames
[] = {
14013 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14017 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14018 if (!SWIG_IsOK(ecode1
)) {
14019 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14021 arg1
= static_cast< int >(val1
);
14022 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14023 if (!SWIG_IsOK(res2
)) {
14024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14029 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14030 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14031 if (!SWIG_IsOK(ecode3
)) {
14032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14034 arg3
= static_cast< long >(val3
);
14035 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14036 if (!SWIG_IsOK(ecode4
)) {
14037 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14039 arg4
= static_cast< long >(val4
);
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14053 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14054 PyObject
*resultobj
= 0;
14055 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14056 wxMouseEvent
*result
= 0 ;
14059 PyObject
*swig_obj
[1] ;
14061 if (!args
) SWIG_fail
;
14062 swig_obj
[0] = args
;
14063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14064 if (!SWIG_IsOK(res1
)) {
14065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14067 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14072 result
= (wxMouseEvent
*) &_result_ref
;
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14084 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14085 PyObject
*resultobj
= 0;
14086 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14090 PyObject
*swig_obj
[1] ;
14092 if (!args
) SWIG_fail
;
14093 swig_obj
[0] = args
;
14094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14095 if (!SWIG_IsOK(res1
)) {
14096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14098 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14102 wxPyEndAllowThreads(__tstate
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14105 resultobj
= SWIG_From_long(static_cast< long >(result
));
14112 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14113 PyObject
*resultobj
= 0;
14114 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14118 PyObject
*swig_obj
[1] ;
14120 if (!args
) SWIG_fail
;
14121 swig_obj
[0] = args
;
14122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14123 if (!SWIG_IsOK(res1
)) {
14124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14126 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14129 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 resultobj
= SWIG_From_long(static_cast< long >(result
));
14140 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14143 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14144 return SWIG_Py_Void();
14147 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14148 return SWIG_Python_InitShadowInstance(args
);
14151 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14152 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14157 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14158 PyObject
*pyobj
= 0;
14162 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14164 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14171 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
= 0;
14173 wxWindow
*arg1
= (wxWindow
*) 0 ;
14174 int arg2
= (int) -1 ;
14175 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14176 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14177 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14178 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14179 long arg5
= (long) wxSB_HORIZONTAL
;
14180 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14181 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14182 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14183 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14184 wxScrollBar
*result
= 0 ;
14195 bool temp7
= false ;
14196 PyObject
* obj0
= 0 ;
14197 PyObject
* obj1
= 0 ;
14198 PyObject
* obj2
= 0 ;
14199 PyObject
* obj3
= 0 ;
14200 PyObject
* obj4
= 0 ;
14201 PyObject
* obj5
= 0 ;
14202 PyObject
* obj6
= 0 ;
14203 char * kwnames
[] = {
14204 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14209 if (!SWIG_IsOK(res1
)) {
14210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14212 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14215 if (!SWIG_IsOK(ecode2
)) {
14216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14218 arg2
= static_cast< int >(val2
);
14223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14229 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14233 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14234 if (!SWIG_IsOK(ecode5
)) {
14235 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14237 arg5
= static_cast< long >(val5
);
14240 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14241 if (!SWIG_IsOK(res6
)) {
14242 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14247 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14251 arg7
= wxString_in_helper(obj6
);
14252 if (arg7
== NULL
) SWIG_fail
;
14257 if (!wxPyCheckForApp()) SWIG_fail
;
14258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14259 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14260 wxPyEndAllowThreads(__tstate
);
14261 if (PyErr_Occurred()) SWIG_fail
;
14263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14278 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14279 PyObject
*resultobj
= 0;
14280 wxScrollBar
*result
= 0 ;
14282 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14284 if (!wxPyCheckForApp()) SWIG_fail
;
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 result
= (wxScrollBar
*)new wxScrollBar();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14297 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
= 0;
14299 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14300 wxWindow
*arg2
= (wxWindow
*) 0 ;
14301 int arg3
= (int) -1 ;
14302 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14303 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14304 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14305 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14306 long arg6
= (long) wxSB_HORIZONTAL
;
14307 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14308 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14309 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14310 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14324 bool temp8
= false ;
14325 PyObject
* obj0
= 0 ;
14326 PyObject
* obj1
= 0 ;
14327 PyObject
* obj2
= 0 ;
14328 PyObject
* obj3
= 0 ;
14329 PyObject
* obj4
= 0 ;
14330 PyObject
* obj5
= 0 ;
14331 PyObject
* obj6
= 0 ;
14332 PyObject
* obj7
= 0 ;
14333 char * kwnames
[] = {
14334 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14339 if (!SWIG_IsOK(res1
)) {
14340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14342 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14343 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14344 if (!SWIG_IsOK(res2
)) {
14345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14347 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14350 if (!SWIG_IsOK(ecode3
)) {
14351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14353 arg3
= static_cast< int >(val3
);
14358 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14364 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14368 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14369 if (!SWIG_IsOK(ecode6
)) {
14370 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14372 arg6
= static_cast< long >(val6
);
14375 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14376 if (!SWIG_IsOK(res7
)) {
14377 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14382 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14386 arg8
= wxString_in_helper(obj7
);
14387 if (arg8
== NULL
) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14414 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14415 PyObject
*resultobj
= 0;
14416 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14420 PyObject
*swig_obj
[1] ;
14422 if (!args
) SWIG_fail
;
14423 swig_obj
[0] = args
;
14424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14425 if (!SWIG_IsOK(res1
)) {
14426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14428 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14432 wxPyEndAllowThreads(__tstate
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14435 resultobj
= SWIG_From_int(static_cast< int >(result
));
14442 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14443 PyObject
*resultobj
= 0;
14444 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14448 PyObject
*swig_obj
[1] ;
14450 if (!args
) SWIG_fail
;
14451 swig_obj
[0] = args
;
14452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14453 if (!SWIG_IsOK(res1
)) {
14454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14456 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14463 resultobj
= SWIG_From_int(static_cast< int >(result
));
14470 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14471 PyObject
*resultobj
= 0;
14472 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14476 PyObject
*swig_obj
[1] ;
14478 if (!args
) SWIG_fail
;
14479 swig_obj
[0] = args
;
14480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14481 if (!SWIG_IsOK(res1
)) {
14482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14484 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14487 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14488 wxPyEndAllowThreads(__tstate
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14491 resultobj
= SWIG_From_int(static_cast< int >(result
));
14498 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14499 PyObject
*resultobj
= 0;
14500 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14504 PyObject
*swig_obj
[1] ;
14506 if (!args
) SWIG_fail
;
14507 swig_obj
[0] = args
;
14508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14509 if (!SWIG_IsOK(res1
)) {
14510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14512 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= SWIG_From_int(static_cast< int >(result
));
14526 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14527 PyObject
*resultobj
= 0;
14528 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14532 PyObject
*swig_obj
[1] ;
14534 if (!args
) SWIG_fail
;
14535 swig_obj
[0] = args
;
14536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14537 if (!SWIG_IsOK(res1
)) {
14538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14540 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14556 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
= 0;
14558 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14564 PyObject
* obj0
= 0 ;
14565 PyObject
* obj1
= 0 ;
14566 char * kwnames
[] = {
14567 (char *) "self",(char *) "viewStart", NULL
14570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14572 if (!SWIG_IsOK(res1
)) {
14573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14575 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14577 if (!SWIG_IsOK(ecode2
)) {
14578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14580 arg2
= static_cast< int >(val2
);
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 (arg1
)->SetThumbPosition(arg2
);
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14587 resultobj
= SWIG_Py_Void();
14594 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
= 0;
14596 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14597 SwigValueWrapper
<wxVisualAttributes
> result
;
14600 PyObject
* obj0
= 0 ;
14601 char * kwnames
[] = {
14602 (char *) "variant", NULL
14605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14607 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14608 if (!SWIG_IsOK(ecode1
)) {
14609 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14611 arg1
= static_cast< wxWindowVariant
>(val1
);
14614 if (!wxPyCheckForApp()) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14627 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14629 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14630 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14631 return SWIG_Py_Void();
14634 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14635 return SWIG_Python_InitShadowInstance(args
);
14638 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14639 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14644 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14645 PyObject
*pyobj
= 0;
14649 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14651 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14658 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14659 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14664 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14665 PyObject
*pyobj
= 0;
14669 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14671 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14678 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
= 0;
14680 wxWindow
*arg1
= (wxWindow
*) 0 ;
14681 int arg2
= (int) -1 ;
14682 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14683 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14684 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14685 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14686 long arg5
= (long) wxSP_HORIZONTAL
;
14687 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14688 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14689 wxSpinButton
*result
= 0 ;
14698 bool temp6
= false ;
14699 PyObject
* obj0
= 0 ;
14700 PyObject
* obj1
= 0 ;
14701 PyObject
* obj2
= 0 ;
14702 PyObject
* obj3
= 0 ;
14703 PyObject
* obj4
= 0 ;
14704 PyObject
* obj5
= 0 ;
14705 char * kwnames
[] = {
14706 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14711 if (!SWIG_IsOK(res1
)) {
14712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14714 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14717 if (!SWIG_IsOK(ecode2
)) {
14718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14720 arg2
= static_cast< int >(val2
);
14725 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14731 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14735 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14736 if (!SWIG_IsOK(ecode5
)) {
14737 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14739 arg5
= static_cast< long >(val5
);
14743 arg6
= wxString_in_helper(obj5
);
14744 if (arg6
== NULL
) SWIG_fail
;
14749 if (!wxPyCheckForApp()) SWIG_fail
;
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14770 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14771 PyObject
*resultobj
= 0;
14772 wxSpinButton
*result
= 0 ;
14774 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14776 if (!wxPyCheckForApp()) SWIG_fail
;
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 result
= (wxSpinButton
*)new wxSpinButton();
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14789 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
= 0;
14791 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14792 wxWindow
*arg2
= (wxWindow
*) 0 ;
14793 int arg3
= (int) -1 ;
14794 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14795 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14796 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14797 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14798 long arg6
= (long) wxSP_HORIZONTAL
;
14799 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14800 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14812 bool temp7
= false ;
14813 PyObject
* obj0
= 0 ;
14814 PyObject
* obj1
= 0 ;
14815 PyObject
* obj2
= 0 ;
14816 PyObject
* obj3
= 0 ;
14817 PyObject
* obj4
= 0 ;
14818 PyObject
* obj5
= 0 ;
14819 PyObject
* obj6
= 0 ;
14820 char * kwnames
[] = {
14821 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14826 if (!SWIG_IsOK(res1
)) {
14827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14829 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14830 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14831 if (!SWIG_IsOK(res2
)) {
14832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14834 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14837 if (!SWIG_IsOK(ecode3
)) {
14838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14840 arg3
= static_cast< int >(val3
);
14845 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14851 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14855 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14856 if (!SWIG_IsOK(ecode6
)) {
14857 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14859 arg6
= static_cast< long >(val6
);
14863 arg7
= wxString_in_helper(obj6
);
14864 if (arg7
== NULL
) SWIG_fail
;
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14891 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14892 PyObject
*resultobj
= 0;
14893 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14897 PyObject
*swig_obj
[1] ;
14899 if (!args
) SWIG_fail
;
14900 swig_obj
[0] = args
;
14901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14902 if (!SWIG_IsOK(res1
)) {
14903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14905 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= SWIG_From_int(static_cast< int >(result
));
14919 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14920 PyObject
*resultobj
= 0;
14921 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14925 PyObject
*swig_obj
[1] ;
14927 if (!args
) SWIG_fail
;
14928 swig_obj
[0] = args
;
14929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14930 if (!SWIG_IsOK(res1
)) {
14931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14933 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= SWIG_From_int(static_cast< int >(result
));
14947 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14948 PyObject
*resultobj
= 0;
14949 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14953 PyObject
*swig_obj
[1] ;
14955 if (!args
) SWIG_fail
;
14956 swig_obj
[0] = args
;
14957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14958 if (!SWIG_IsOK(res1
)) {
14959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14961 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 resultobj
= SWIG_From_int(static_cast< int >(result
));
14975 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
= 0;
14977 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14983 PyObject
* obj0
= 0 ;
14984 PyObject
* obj1
= 0 ;
14985 char * kwnames
[] = {
14986 (char *) "self",(char *) "val", NULL
14989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14991 if (!SWIG_IsOK(res1
)) {
14992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14994 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14996 if (!SWIG_IsOK(ecode2
)) {
14997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14999 arg2
= static_cast< int >(val2
);
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 (arg1
)->SetValue(arg2
);
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= SWIG_Py_Void();
15013 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
= 0;
15015 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 PyObject
* obj1
= 0 ;
15023 char * kwnames
[] = {
15024 (char *) "self",(char *) "minVal", NULL
15027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15029 if (!SWIG_IsOK(res1
)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15032 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15034 if (!SWIG_IsOK(ecode2
)) {
15035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15037 arg2
= static_cast< int >(val2
);
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 (arg1
)->SetMin(arg2
);
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= SWIG_Py_Void();
15051 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(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 *) "maxVal", NULL
15065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",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_SetMax" "', 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_SetMax" "', expected argument " "2"" of type '" "int""'");
15075 arg2
= static_cast< int >(val2
);
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 (arg1
)->SetMax(arg2
);
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= SWIG_Py_Void();
15089 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
= 0;
15091 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15100 PyObject
* obj0
= 0 ;
15101 PyObject
* obj1
= 0 ;
15102 PyObject
* obj2
= 0 ;
15103 char * kwnames
[] = {
15104 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15109 if (!SWIG_IsOK(res1
)) {
15110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15112 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15114 if (!SWIG_IsOK(ecode2
)) {
15115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15117 arg2
= static_cast< int >(val2
);
15118 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15119 if (!SWIG_IsOK(ecode3
)) {
15120 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15122 arg3
= static_cast< int >(val3
);
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 (arg1
)->SetRange(arg2
,arg3
);
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= SWIG_Py_Void();
15136 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15137 PyObject
*resultobj
= 0;
15138 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15142 PyObject
*swig_obj
[1] ;
15144 if (!args
) SWIG_fail
;
15145 swig_obj
[0] = args
;
15146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15147 if (!SWIG_IsOK(res1
)) {
15148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15150 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15166 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
= 0;
15168 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15169 SwigValueWrapper
<wxVisualAttributes
> result
;
15172 PyObject
* obj0
= 0 ;
15173 char * kwnames
[] = {
15174 (char *) "variant", NULL
15177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15180 if (!SWIG_IsOK(ecode1
)) {
15181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15183 arg1
= static_cast< wxWindowVariant
>(val1
);
15186 if (!wxPyCheckForApp()) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15192 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15199 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15202 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15203 return SWIG_Py_Void();
15206 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15207 return SWIG_Python_InitShadowInstance(args
);
15210 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
= 0;
15212 wxWindow
*arg1
= (wxWindow
*) 0 ;
15213 int arg2
= (int) -1 ;
15214 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15215 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15216 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15217 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15218 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15219 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15220 long arg6
= (long) wxSP_ARROW_KEYS
;
15221 int arg7
= (int) 0 ;
15222 int arg8
= (int) 100 ;
15223 int arg9
= (int) 0 ;
15224 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15225 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15226 wxSpinCtrl
*result
= 0 ;
15231 bool temp3
= false ;
15242 bool temp10
= false ;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 PyObject
* obj2
= 0 ;
15246 PyObject
* obj3
= 0 ;
15247 PyObject
* obj4
= 0 ;
15248 PyObject
* obj5
= 0 ;
15249 PyObject
* obj6
= 0 ;
15250 PyObject
* obj7
= 0 ;
15251 PyObject
* obj8
= 0 ;
15252 PyObject
* obj9
= 0 ;
15253 char * kwnames
[] = {
15254 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15259 if (!SWIG_IsOK(res1
)) {
15260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15262 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15265 if (!SWIG_IsOK(ecode2
)) {
15266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15268 arg2
= static_cast< int >(val2
);
15272 arg3
= wxString_in_helper(obj2
);
15273 if (arg3
== NULL
) SWIG_fail
;
15280 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15286 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15290 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15291 if (!SWIG_IsOK(ecode6
)) {
15292 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15294 arg6
= static_cast< long >(val6
);
15297 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15298 if (!SWIG_IsOK(ecode7
)) {
15299 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15301 arg7
= static_cast< int >(val7
);
15304 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15305 if (!SWIG_IsOK(ecode8
)) {
15306 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15308 arg8
= static_cast< int >(val8
);
15311 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15312 if (!SWIG_IsOK(ecode9
)) {
15313 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15315 arg9
= static_cast< int >(val9
);
15319 arg10
= wxString_in_helper(obj9
);
15320 if (arg10
== NULL
) SWIG_fail
;
15325 if (!wxPyCheckForApp()) SWIG_fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15354 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15355 PyObject
*resultobj
= 0;
15356 wxSpinCtrl
*result
= 0 ;
15358 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15360 if (!wxPyCheckForApp()) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15373 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
= 0;
15375 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15376 wxWindow
*arg2
= (wxWindow
*) 0 ;
15377 int arg3
= (int) -1 ;
15378 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15379 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15380 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15381 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15382 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15383 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15384 long arg7
= (long) wxSP_ARROW_KEYS
;
15385 int arg8
= (int) 0 ;
15386 int arg9
= (int) 100 ;
15387 int arg10
= (int) 0 ;
15388 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15389 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15397 bool temp4
= false ;
15408 bool temp11
= false ;
15409 PyObject
* obj0
= 0 ;
15410 PyObject
* obj1
= 0 ;
15411 PyObject
* obj2
= 0 ;
15412 PyObject
* obj3
= 0 ;
15413 PyObject
* obj4
= 0 ;
15414 PyObject
* obj5
= 0 ;
15415 PyObject
* obj6
= 0 ;
15416 PyObject
* obj7
= 0 ;
15417 PyObject
* obj8
= 0 ;
15418 PyObject
* obj9
= 0 ;
15419 PyObject
* obj10
= 0 ;
15420 char * kwnames
[] = {
15421 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15426 if (!SWIG_IsOK(res1
)) {
15427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15429 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15430 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15431 if (!SWIG_IsOK(res2
)) {
15432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15434 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15437 if (!SWIG_IsOK(ecode3
)) {
15438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15440 arg3
= static_cast< int >(val3
);
15444 arg4
= wxString_in_helper(obj3
);
15445 if (arg4
== NULL
) SWIG_fail
;
15452 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15458 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15462 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15463 if (!SWIG_IsOK(ecode7
)) {
15464 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15466 arg7
= static_cast< long >(val7
);
15469 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15470 if (!SWIG_IsOK(ecode8
)) {
15471 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15473 arg8
= static_cast< int >(val8
);
15476 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15477 if (!SWIG_IsOK(ecode9
)) {
15478 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15480 arg9
= static_cast< int >(val9
);
15483 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15484 if (!SWIG_IsOK(ecode10
)) {
15485 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15487 arg10
= static_cast< int >(val10
);
15491 arg11
= wxString_in_helper(obj10
);
15492 if (arg11
== NULL
) SWIG_fail
;
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15499 wxPyEndAllowThreads(__tstate
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15527 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15528 PyObject
*resultobj
= 0;
15529 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15533 PyObject
*swig_obj
[1] ;
15535 if (!args
) SWIG_fail
;
15536 swig_obj
[0] = args
;
15537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15538 if (!SWIG_IsOK(res1
)) {
15539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15541 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15544 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15548 resultobj
= SWIG_From_int(static_cast< int >(result
));
15555 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15556 PyObject
*resultobj
= 0;
15557 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15563 PyObject
* obj0
= 0 ;
15564 PyObject
* obj1
= 0 ;
15565 char * kwnames
[] = {
15566 (char *) "self",(char *) "value", NULL
15569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15571 if (!SWIG_IsOK(res1
)) {
15572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15574 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15576 if (!SWIG_IsOK(ecode2
)) {
15577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15579 arg2
= static_cast< int >(val2
);
15581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 (arg1
)->SetValue(arg2
);
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15586 resultobj
= SWIG_Py_Void();
15593 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15594 PyObject
*resultobj
= 0;
15595 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15596 wxString
*arg2
= 0 ;
15599 bool temp2
= false ;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 char * kwnames
[] = {
15603 (char *) "self",(char *) "text", NULL
15606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15608 if (!SWIG_IsOK(res1
)) {
15609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15611 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15613 arg2
= wxString_in_helper(obj1
);
15614 if (arg2
== NULL
) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 (arg1
)->SetValue((wxString
const &)*arg2
);
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= SWIG_Py_Void();
15638 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15639 PyObject
*resultobj
= 0;
15640 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15649 PyObject
* obj0
= 0 ;
15650 PyObject
* obj1
= 0 ;
15651 PyObject
* obj2
= 0 ;
15652 char * kwnames
[] = {
15653 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15658 if (!SWIG_IsOK(res1
)) {
15659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15661 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15663 if (!SWIG_IsOK(ecode2
)) {
15664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15666 arg2
= static_cast< int >(val2
);
15667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15668 if (!SWIG_IsOK(ecode3
)) {
15669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15671 arg3
= static_cast< int >(val3
);
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 (arg1
)->SetRange(arg2
,arg3
);
15675 wxPyEndAllowThreads(__tstate
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= SWIG_Py_Void();
15685 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15686 PyObject
*resultobj
= 0;
15687 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15691 PyObject
*swig_obj
[1] ;
15693 if (!args
) SWIG_fail
;
15694 swig_obj
[0] = args
;
15695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15696 if (!SWIG_IsOK(res1
)) {
15697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15699 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= SWIG_From_int(static_cast< int >(result
));
15713 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15714 PyObject
*resultobj
= 0;
15715 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15719 PyObject
*swig_obj
[1] ;
15721 if (!args
) SWIG_fail
;
15722 swig_obj
[0] = args
;
15723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15724 if (!SWIG_IsOK(res1
)) {
15725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15727 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= SWIG_From_int(static_cast< int >(result
));
15741 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
= 0;
15743 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15752 PyObject
* obj0
= 0 ;
15753 PyObject
* obj1
= 0 ;
15754 PyObject
* obj2
= 0 ;
15755 char * kwnames
[] = {
15756 (char *) "self",(char *) "from",(char *) "to", NULL
15759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15761 if (!SWIG_IsOK(res1
)) {
15762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15764 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15765 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15766 if (!SWIG_IsOK(ecode2
)) {
15767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15769 arg2
= static_cast< long >(val2
);
15770 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15771 if (!SWIG_IsOK(ecode3
)) {
15772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15774 arg3
= static_cast< long >(val3
);
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 (arg1
)->SetSelection(arg2
,arg3
);
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= SWIG_Py_Void();
15788 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
= 0;
15790 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15791 SwigValueWrapper
<wxVisualAttributes
> result
;
15794 PyObject
* obj0
= 0 ;
15795 char * kwnames
[] = {
15796 (char *) "variant", NULL
15799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15801 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15802 if (!SWIG_IsOK(ecode1
)) {
15803 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15805 arg1
= static_cast< wxWindowVariant
>(val1
);
15808 if (!wxPyCheckForApp()) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15821 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15823 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15824 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15825 return SWIG_Py_Void();
15828 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15829 return SWIG_Python_InitShadowInstance(args
);
15832 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
= 0;
15834 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15835 int arg2
= (int) 0 ;
15836 wxSpinEvent
*result
= 0 ;
15841 PyObject
* obj0
= 0 ;
15842 PyObject
* obj1
= 0 ;
15843 char * kwnames
[] = {
15844 (char *) "commandType",(char *) "winid", NULL
15847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15849 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15850 if (!SWIG_IsOK(ecode1
)) {
15851 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15853 arg1
= static_cast< wxEventType
>(val1
);
15856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15857 if (!SWIG_IsOK(ecode2
)) {
15858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15860 arg2
= static_cast< int >(val2
);
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15875 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15876 PyObject
*resultobj
= 0;
15877 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15881 PyObject
*swig_obj
[1] ;
15883 if (!args
) SWIG_fail
;
15884 swig_obj
[0] = args
;
15885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15886 if (!SWIG_IsOK(res1
)) {
15887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15889 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= SWIG_From_int(static_cast< int >(result
));
15903 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
= 0;
15905 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15911 PyObject
* obj0
= 0 ;
15912 PyObject
* obj1
= 0 ;
15913 char * kwnames
[] = {
15914 (char *) "self",(char *) "pos", NULL
15917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15919 if (!SWIG_IsOK(res1
)) {
15920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15922 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15924 if (!SWIG_IsOK(ecode2
)) {
15925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15927 arg2
= static_cast< int >(val2
);
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 (arg1
)->SetPosition(arg2
);
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= SWIG_Py_Void();
15941 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15944 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15945 return SWIG_Py_Void();
15948 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15949 return SWIG_Python_InitShadowInstance(args
);
15952 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15953 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15958 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15959 PyObject
*pyobj
= 0;
15963 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15965 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15972 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15973 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15978 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15979 PyObject
*pyobj
= 0;
15983 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15985 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15992 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15993 PyObject
*resultobj
= 0;
15994 wxWindow
*arg1
= (wxWindow
*) 0 ;
15995 int arg2
= (int) -1 ;
15996 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15997 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15998 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15999 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16000 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16001 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16002 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16003 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16004 int arg7
= (int) 0 ;
16005 long arg8
= (long) wxRA_HORIZONTAL
;
16006 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16007 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16008 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16009 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16010 wxRadioBox
*result
= 0 ;
16015 bool temp3
= false ;
16018 bool temp6
= false ;
16025 bool temp10
= false ;
16026 PyObject
* obj0
= 0 ;
16027 PyObject
* obj1
= 0 ;
16028 PyObject
* obj2
= 0 ;
16029 PyObject
* obj3
= 0 ;
16030 PyObject
* obj4
= 0 ;
16031 PyObject
* obj5
= 0 ;
16032 PyObject
* obj6
= 0 ;
16033 PyObject
* obj7
= 0 ;
16034 PyObject
* obj8
= 0 ;
16035 PyObject
* obj9
= 0 ;
16036 char * kwnames
[] = {
16037 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16042 if (!SWIG_IsOK(res1
)) {
16043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16045 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16048 if (!SWIG_IsOK(ecode2
)) {
16049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16051 arg2
= static_cast< int >(val2
);
16055 arg3
= wxString_in_helper(obj2
);
16056 if (arg3
== NULL
) SWIG_fail
;
16063 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16069 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16074 if (! PySequence_Check(obj5
)) {
16075 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16078 arg6
= new wxArrayString
;
16080 int i
, len
=PySequence_Length(obj5
);
16081 for (i
=0; i
<len
; i
++) {
16082 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16083 wxString
* s
= wxString_in_helper(item
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16092 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16093 if (!SWIG_IsOK(ecode7
)) {
16094 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16096 arg7
= static_cast< int >(val7
);
16099 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16100 if (!SWIG_IsOK(ecode8
)) {
16101 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16103 arg8
= static_cast< long >(val8
);
16106 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16107 if (!SWIG_IsOK(res9
)) {
16108 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16113 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16117 arg10
= wxString_in_helper(obj9
);
16118 if (arg10
== NULL
) SWIG_fail
;
16123 if (!wxPyCheckForApp()) SWIG_fail
;
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 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
);
16126 wxPyEndAllowThreads(__tstate
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16135 if (temp6
) delete arg6
;
16148 if (temp6
) delete arg6
;
16158 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16159 PyObject
*resultobj
= 0;
16160 wxRadioBox
*result
= 0 ;
16162 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16164 if (!wxPyCheckForApp()) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 result
= (wxRadioBox
*)new wxRadioBox();
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16177 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
= 0;
16179 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16180 wxWindow
*arg2
= (wxWindow
*) 0 ;
16181 int arg3
= (int) -1 ;
16182 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16183 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16184 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16185 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16186 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16187 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16188 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16189 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16190 int arg8
= (int) 0 ;
16191 long arg9
= (long) wxRA_HORIZONTAL
;
16192 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16193 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16194 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16195 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16203 bool temp4
= false ;
16206 bool temp7
= false ;
16213 bool temp11
= false ;
16214 PyObject
* obj0
= 0 ;
16215 PyObject
* obj1
= 0 ;
16216 PyObject
* obj2
= 0 ;
16217 PyObject
* obj3
= 0 ;
16218 PyObject
* obj4
= 0 ;
16219 PyObject
* obj5
= 0 ;
16220 PyObject
* obj6
= 0 ;
16221 PyObject
* obj7
= 0 ;
16222 PyObject
* obj8
= 0 ;
16223 PyObject
* obj9
= 0 ;
16224 PyObject
* obj10
= 0 ;
16225 char * kwnames
[] = {
16226 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16231 if (!SWIG_IsOK(res1
)) {
16232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16234 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16235 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16236 if (!SWIG_IsOK(res2
)) {
16237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16239 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16242 if (!SWIG_IsOK(ecode3
)) {
16243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16245 arg3
= static_cast< int >(val3
);
16249 arg4
= wxString_in_helper(obj3
);
16250 if (arg4
== NULL
) SWIG_fail
;
16257 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16263 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16268 if (! PySequence_Check(obj6
)) {
16269 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16272 arg7
= new wxArrayString
;
16274 int i
, len
=PySequence_Length(obj6
);
16275 for (i
=0; i
<len
; i
++) {
16276 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16277 wxString
* s
= wxString_in_helper(item
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16286 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16287 if (!SWIG_IsOK(ecode8
)) {
16288 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16290 arg8
= static_cast< int >(val8
);
16293 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16294 if (!SWIG_IsOK(ecode9
)) {
16295 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16297 arg9
= static_cast< long >(val9
);
16300 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16301 if (!SWIG_IsOK(res10
)) {
16302 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16307 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16311 arg11
= wxString_in_helper(obj10
);
16312 if (arg11
== NULL
) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 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
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16330 if (temp7
) delete arg7
;
16343 if (temp7
) delete arg7
;
16353 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
= 0;
16355 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 PyObject
* obj1
= 0 ;
16363 char * kwnames
[] = {
16364 (char *) "self",(char *) "n", NULL
16367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16369 if (!SWIG_IsOK(res1
)) {
16370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16372 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16374 if (!SWIG_IsOK(ecode2
)) {
16375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16377 arg2
= static_cast< int >(val2
);
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 (arg1
)->SetSelection(arg2
);
16381 wxPyEndAllowThreads(__tstate
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16384 resultobj
= SWIG_Py_Void();
16391 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16392 PyObject
*resultobj
= 0;
16393 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16397 PyObject
*swig_obj
[1] ;
16399 if (!args
) SWIG_fail
;
16400 swig_obj
[0] = args
;
16401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16402 if (!SWIG_IsOK(res1
)) {
16403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16405 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16412 resultobj
= SWIG_From_int(static_cast< int >(result
));
16419 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16420 PyObject
*resultobj
= 0;
16421 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16425 PyObject
*swig_obj
[1] ;
16427 if (!args
) SWIG_fail
;
16428 swig_obj
[0] = args
;
16429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16430 if (!SWIG_IsOK(res1
)) {
16431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16433 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16436 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16453 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
= 0;
16455 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16456 wxString
*arg2
= 0 ;
16460 bool temp2
= false ;
16461 PyObject
* obj0
= 0 ;
16462 PyObject
* obj1
= 0 ;
16463 char * kwnames
[] = {
16464 (char *) "self",(char *) "s", NULL
16467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16469 if (!SWIG_IsOK(res1
)) {
16470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16472 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16474 arg2
= wxString_in_helper(obj1
);
16475 if (arg2
== NULL
) SWIG_fail
;
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16501 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16502 PyObject
*resultobj
= 0;
16503 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16507 PyObject
*swig_obj
[1] ;
16509 if (!args
) SWIG_fail
;
16510 swig_obj
[0] = args
;
16511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16512 if (!SWIG_IsOK(res1
)) {
16513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16515 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16522 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16529 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(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_FindString",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_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16548 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16550 arg2
= wxString_in_helper(obj1
);
16551 if (arg2
== NULL
) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= SWIG_From_int(static_cast< int >(result
));
16575 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
= 0;
16577 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16584 PyObject
* obj0
= 0 ;
16585 PyObject
* obj1
= 0 ;
16586 char * kwnames
[] = {
16587 (char *) "self",(char *) "n", NULL
16590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16592 if (!SWIG_IsOK(res1
)) {
16593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16595 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16597 if (!SWIG_IsOK(ecode2
)) {
16598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16600 arg2
= static_cast< int >(val2
);
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16620 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
= 0;
16622 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16624 wxString
*arg3
= 0 ;
16629 bool temp3
= false ;
16630 PyObject
* obj0
= 0 ;
16631 PyObject
* obj1
= 0 ;
16632 PyObject
* obj2
= 0 ;
16633 char * kwnames
[] = {
16634 (char *) "self",(char *) "n",(char *) "label", NULL
16637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16639 if (!SWIG_IsOK(res1
)) {
16640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16642 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16644 if (!SWIG_IsOK(ecode2
)) {
16645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16647 arg2
= static_cast< int >(val2
);
16649 arg3
= wxString_in_helper(obj2
);
16650 if (arg3
== NULL
) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16659 resultobj
= SWIG_Py_Void();
16674 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16675 PyObject
*resultobj
= 0;
16676 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16677 unsigned int arg2
;
16678 bool arg3
= (bool) true ;
16681 unsigned int val2
;
16685 PyObject
* obj0
= 0 ;
16686 PyObject
* obj1
= 0 ;
16687 PyObject
* obj2
= 0 ;
16688 char * kwnames
[] = {
16689 (char *) "self",(char *) "n",(char *) "enable", NULL
16692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16694 if (!SWIG_IsOK(res1
)) {
16695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16697 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16698 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16699 if (!SWIG_IsOK(ecode2
)) {
16700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16702 arg2
= static_cast< unsigned int >(val2
);
16704 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16705 if (!SWIG_IsOK(ecode3
)) {
16706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16708 arg3
= static_cast< bool >(val3
);
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 (arg1
)->Enable(arg2
,arg3
);
16713 wxPyEndAllowThreads(__tstate
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16716 resultobj
= SWIG_Py_Void();
16723 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
= 0;
16725 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16726 unsigned int arg2
;
16727 bool arg3
= (bool) true ;
16730 unsigned int val2
;
16734 PyObject
* obj0
= 0 ;
16735 PyObject
* obj1
= 0 ;
16736 PyObject
* obj2
= 0 ;
16737 char * kwnames
[] = {
16738 (char *) "self",(char *) "n",(char *) "show", NULL
16741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16743 if (!SWIG_IsOK(res1
)) {
16744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16746 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16747 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16748 if (!SWIG_IsOK(ecode2
)) {
16749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16751 arg2
= static_cast< unsigned int >(val2
);
16753 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16754 if (!SWIG_IsOK(ecode3
)) {
16755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16757 arg3
= static_cast< bool >(val3
);
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 (arg1
)->Show(arg2
,arg3
);
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= SWIG_Py_Void();
16772 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
= 0;
16774 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16775 unsigned int arg2
;
16779 unsigned int val2
;
16781 PyObject
* obj0
= 0 ;
16782 PyObject
* obj1
= 0 ;
16783 char * kwnames
[] = {
16784 (char *) "self",(char *) "n", NULL
16787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16789 if (!SWIG_IsOK(res1
)) {
16790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16792 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16793 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16794 if (!SWIG_IsOK(ecode2
)) {
16795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16797 arg2
= static_cast< unsigned int >(val2
);
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16813 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16814 PyObject
*resultobj
= 0;
16815 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16816 unsigned int arg2
;
16820 unsigned int val2
;
16822 PyObject
* obj0
= 0 ;
16823 PyObject
* obj1
= 0 ;
16824 char * kwnames
[] = {
16825 (char *) "self",(char *) "n", NULL
16828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16830 if (!SWIG_IsOK(res1
)) {
16831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16833 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16834 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16835 if (!SWIG_IsOK(ecode2
)) {
16836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16838 arg2
= static_cast< unsigned int >(val2
);
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16854 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16855 PyObject
*resultobj
= 0;
16856 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16857 unsigned int result
;
16860 PyObject
*swig_obj
[1] ;
16862 if (!args
) SWIG_fail
;
16863 swig_obj
[0] = args
;
16864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16865 if (!SWIG_IsOK(res1
)) {
16866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16868 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16882 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16883 PyObject
*resultobj
= 0;
16884 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16885 unsigned int result
;
16888 PyObject
*swig_obj
[1] ;
16890 if (!args
) SWIG_fail
;
16891 swig_obj
[0] = args
;
16892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16893 if (!SWIG_IsOK(res1
)) {
16894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16896 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16910 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
= 0;
16912 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16925 PyObject
* obj0
= 0 ;
16926 PyObject
* obj1
= 0 ;
16927 PyObject
* obj2
= 0 ;
16928 PyObject
* obj3
= 0 ;
16929 char * kwnames
[] = {
16930 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16935 if (!SWIG_IsOK(res1
)) {
16936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16938 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16940 if (!SWIG_IsOK(ecode2
)) {
16941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16943 arg2
= static_cast< int >(val2
);
16944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16945 if (!SWIG_IsOK(ecode3
)) {
16946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16948 arg3
= static_cast< wxDirection
>(val3
);
16949 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16950 if (!SWIG_IsOK(ecode4
)) {
16951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16953 arg4
= static_cast< long >(val4
);
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 resultobj
= SWIG_From_int(static_cast< int >(result
));
16967 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
= 0;
16969 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16970 unsigned int arg2
;
16971 wxString
*arg3
= 0 ;
16974 unsigned int val2
;
16976 bool temp3
= false ;
16977 PyObject
* obj0
= 0 ;
16978 PyObject
* obj1
= 0 ;
16979 PyObject
* obj2
= 0 ;
16980 char * kwnames
[] = {
16981 (char *) "self",(char *) "item",(char *) "text", NULL
16984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16986 if (!SWIG_IsOK(res1
)) {
16987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16989 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16990 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16991 if (!SWIG_IsOK(ecode2
)) {
16992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16994 arg2
= static_cast< unsigned int >(val2
);
16996 arg3
= wxString_in_helper(obj2
);
16997 if (arg3
== NULL
) SWIG_fail
;
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= SWIG_Py_Void();
17021 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
= 0;
17023 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17024 unsigned int arg2
;
17025 wxToolTip
*result
= 0 ;
17028 unsigned int val2
;
17030 PyObject
* obj0
= 0 ;
17031 PyObject
* obj1
= 0 ;
17032 char * kwnames
[] = {
17033 (char *) "self",(char *) "item", NULL
17036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17038 if (!SWIG_IsOK(res1
)) {
17039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17041 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17042 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17043 if (!SWIG_IsOK(ecode2
)) {
17044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17046 arg2
= static_cast< unsigned int >(val2
);
17048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17049 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17054 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17062 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
= 0;
17064 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17065 unsigned int arg2
;
17066 wxString
*arg3
= 0 ;
17069 unsigned int val2
;
17071 bool temp3
= false ;
17072 PyObject
* obj0
= 0 ;
17073 PyObject
* obj1
= 0 ;
17074 PyObject
* obj2
= 0 ;
17075 char * kwnames
[] = {
17076 (char *) "self",(char *) "n",(char *) "helpText", NULL
17079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17081 if (!SWIG_IsOK(res1
)) {
17082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17084 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17085 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17086 if (!SWIG_IsOK(ecode2
)) {
17087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17089 arg2
= static_cast< unsigned int >(val2
);
17091 arg3
= wxString_in_helper(obj2
);
17092 if (arg3
== NULL
) SWIG_fail
;
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17101 resultobj
= SWIG_Py_Void();
17116 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
= 0;
17118 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17119 unsigned int arg2
;
17123 unsigned int val2
;
17125 PyObject
* obj0
= 0 ;
17126 PyObject
* obj1
= 0 ;
17127 char * kwnames
[] = {
17128 (char *) "self",(char *) "n", NULL
17131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17133 if (!SWIG_IsOK(res1
)) {
17134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17136 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17137 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17138 if (!SWIG_IsOK(ecode2
)) {
17139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17141 arg2
= static_cast< unsigned int >(val2
);
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17161 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
= 0;
17163 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17164 SwigValueWrapper
<wxVisualAttributes
> result
;
17167 PyObject
* obj0
= 0 ;
17168 char * kwnames
[] = {
17169 (char *) "variant", NULL
17172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17174 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17175 if (!SWIG_IsOK(ecode1
)) {
17176 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17178 arg1
= static_cast< wxWindowVariant
>(val1
);
17181 if (!wxPyCheckForApp()) SWIG_fail
;
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17187 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17194 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17197 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17198 return SWIG_Py_Void();
17201 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17202 return SWIG_Python_InitShadowInstance(args
);
17205 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
= 0;
17207 wxWindow
*arg1
= (wxWindow
*) 0 ;
17208 int arg2
= (int) -1 ;
17209 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17210 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17211 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17212 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17213 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17214 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17215 long arg6
= (long) 0 ;
17216 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17217 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17218 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17219 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17220 wxRadioButton
*result
= 0 ;
17225 bool temp3
= false ;
17232 bool temp8
= false ;
17233 PyObject
* obj0
= 0 ;
17234 PyObject
* obj1
= 0 ;
17235 PyObject
* obj2
= 0 ;
17236 PyObject
* obj3
= 0 ;
17237 PyObject
* obj4
= 0 ;
17238 PyObject
* obj5
= 0 ;
17239 PyObject
* obj6
= 0 ;
17240 PyObject
* obj7
= 0 ;
17241 char * kwnames
[] = {
17242 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17247 if (!SWIG_IsOK(res1
)) {
17248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17250 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17253 if (!SWIG_IsOK(ecode2
)) {
17254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17256 arg2
= static_cast< int >(val2
);
17260 arg3
= wxString_in_helper(obj2
);
17261 if (arg3
== NULL
) SWIG_fail
;
17268 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17274 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17278 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17279 if (!SWIG_IsOK(ecode6
)) {
17280 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17282 arg6
= static_cast< long >(val6
);
17285 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17286 if (!SWIG_IsOK(res7
)) {
17287 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17292 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17296 arg8
= wxString_in_helper(obj7
);
17297 if (arg8
== NULL
) SWIG_fail
;
17302 if (!wxPyCheckForApp()) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17331 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17332 PyObject
*resultobj
= 0;
17333 wxRadioButton
*result
= 0 ;
17335 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17337 if (!wxPyCheckForApp()) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= (wxRadioButton
*)new wxRadioButton();
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17350 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
= 0;
17352 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17353 wxWindow
*arg2
= (wxWindow
*) 0 ;
17354 int arg3
= (int) -1 ;
17355 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17356 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17357 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17358 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17359 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17360 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17361 long arg7
= (long) 0 ;
17362 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17363 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17364 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17365 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17373 bool temp4
= false ;
17380 bool temp9
= false ;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 PyObject
* obj2
= 0 ;
17384 PyObject
* obj3
= 0 ;
17385 PyObject
* obj4
= 0 ;
17386 PyObject
* obj5
= 0 ;
17387 PyObject
* obj6
= 0 ;
17388 PyObject
* obj7
= 0 ;
17389 PyObject
* obj8
= 0 ;
17390 char * kwnames
[] = {
17391 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17396 if (!SWIG_IsOK(res1
)) {
17397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17399 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17400 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17401 if (!SWIG_IsOK(res2
)) {
17402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17404 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17407 if (!SWIG_IsOK(ecode3
)) {
17408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17410 arg3
= static_cast< int >(val3
);
17414 arg4
= wxString_in_helper(obj3
);
17415 if (arg4
== NULL
) SWIG_fail
;
17422 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17428 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17432 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17433 if (!SWIG_IsOK(ecode7
)) {
17434 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17436 arg7
= static_cast< long >(val7
);
17439 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17440 if (!SWIG_IsOK(res8
)) {
17441 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17446 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17450 arg9
= wxString_in_helper(obj8
);
17451 if (arg9
== NULL
) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17486 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17487 PyObject
*resultobj
= 0;
17488 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17492 PyObject
*swig_obj
[1] ;
17494 if (!args
) SWIG_fail
;
17495 swig_obj
[0] = args
;
17496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17497 if (!SWIG_IsOK(res1
)) {
17498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17500 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 result
= (bool)(arg1
)->GetValue();
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17516 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
= 0;
17518 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17524 PyObject
* obj0
= 0 ;
17525 PyObject
* obj1
= 0 ;
17526 char * kwnames
[] = {
17527 (char *) "self",(char *) "value", NULL
17530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17532 if (!SWIG_IsOK(res1
)) {
17533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17535 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17536 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17537 if (!SWIG_IsOK(ecode2
)) {
17538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17540 arg2
= static_cast< bool >(val2
);
17542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 (arg1
)->SetValue(arg2
);
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= SWIG_Py_Void();
17554 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
= 0;
17556 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17557 SwigValueWrapper
<wxVisualAttributes
> result
;
17560 PyObject
* obj0
= 0 ;
17561 char * kwnames
[] = {
17562 (char *) "variant", NULL
17565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17567 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17568 if (!SWIG_IsOK(ecode1
)) {
17569 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17571 arg1
= static_cast< wxWindowVariant
>(val1
);
17574 if (!wxPyCheckForApp()) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17580 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17587 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17590 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17591 return SWIG_Py_Void();
17594 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17595 return SWIG_Python_InitShadowInstance(args
);
17598 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17599 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17604 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17605 PyObject
*pyobj
= 0;
17609 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17611 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17618 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
= 0;
17620 wxWindow
*arg1
= (wxWindow
*) 0 ;
17621 int arg2
= (int) -1 ;
17622 int arg3
= (int) 0 ;
17623 int arg4
= (int) 0 ;
17624 int arg5
= (int) 100 ;
17625 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17626 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17627 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17628 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17629 long arg8
= (long) wxSL_HORIZONTAL
;
17630 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17631 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17632 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17633 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17634 wxSlider
*result
= 0 ;
17651 bool temp10
= false ;
17652 PyObject
* obj0
= 0 ;
17653 PyObject
* obj1
= 0 ;
17654 PyObject
* obj2
= 0 ;
17655 PyObject
* obj3
= 0 ;
17656 PyObject
* obj4
= 0 ;
17657 PyObject
* obj5
= 0 ;
17658 PyObject
* obj6
= 0 ;
17659 PyObject
* obj7
= 0 ;
17660 PyObject
* obj8
= 0 ;
17661 PyObject
* obj9
= 0 ;
17662 char * kwnames
[] = {
17663 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17668 if (!SWIG_IsOK(res1
)) {
17669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17671 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17674 if (!SWIG_IsOK(ecode2
)) {
17675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17677 arg2
= static_cast< int >(val2
);
17680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17681 if (!SWIG_IsOK(ecode3
)) {
17682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17684 arg3
= static_cast< int >(val3
);
17687 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17688 if (!SWIG_IsOK(ecode4
)) {
17689 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17691 arg4
= static_cast< int >(val4
);
17694 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17695 if (!SWIG_IsOK(ecode5
)) {
17696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17698 arg5
= static_cast< int >(val5
);
17703 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17709 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17713 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17714 if (!SWIG_IsOK(ecode8
)) {
17715 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17717 arg8
= static_cast< long >(val8
);
17720 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17721 if (!SWIG_IsOK(res9
)) {
17722 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17727 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17731 arg10
= wxString_in_helper(obj9
);
17732 if (arg10
== NULL
) SWIG_fail
;
17737 if (!wxPyCheckForApp()) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17758 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17759 PyObject
*resultobj
= 0;
17760 wxSlider
*result
= 0 ;
17762 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17764 if (!wxPyCheckForApp()) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= (wxSlider
*)new wxSlider();
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17777 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17778 PyObject
*resultobj
= 0;
17779 wxSlider
*arg1
= (wxSlider
*) 0 ;
17780 wxWindow
*arg2
= (wxWindow
*) 0 ;
17781 int arg3
= (int) -1 ;
17782 int arg4
= (int) 0 ;
17783 int arg5
= (int) 0 ;
17784 int arg6
= (int) 100 ;
17785 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17786 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17787 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17788 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17789 long arg9
= (long) wxSL_HORIZONTAL
;
17790 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17791 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17792 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17793 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17813 bool temp11
= false ;
17814 PyObject
* obj0
= 0 ;
17815 PyObject
* obj1
= 0 ;
17816 PyObject
* obj2
= 0 ;
17817 PyObject
* obj3
= 0 ;
17818 PyObject
* obj4
= 0 ;
17819 PyObject
* obj5
= 0 ;
17820 PyObject
* obj6
= 0 ;
17821 PyObject
* obj7
= 0 ;
17822 PyObject
* obj8
= 0 ;
17823 PyObject
* obj9
= 0 ;
17824 PyObject
* obj10
= 0 ;
17825 char * kwnames
[] = {
17826 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17831 if (!SWIG_IsOK(res1
)) {
17832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17834 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17836 if (!SWIG_IsOK(res2
)) {
17837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17839 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17842 if (!SWIG_IsOK(ecode3
)) {
17843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17845 arg3
= static_cast< int >(val3
);
17848 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17849 if (!SWIG_IsOK(ecode4
)) {
17850 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17852 arg4
= static_cast< int >(val4
);
17855 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17856 if (!SWIG_IsOK(ecode5
)) {
17857 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17859 arg5
= static_cast< int >(val5
);
17862 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17863 if (!SWIG_IsOK(ecode6
)) {
17864 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17866 arg6
= static_cast< int >(val6
);
17871 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17877 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17881 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17882 if (!SWIG_IsOK(ecode9
)) {
17883 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17885 arg9
= static_cast< long >(val9
);
17888 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17889 if (!SWIG_IsOK(res10
)) {
17890 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17895 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17899 arg11
= wxString_in_helper(obj10
);
17900 if (arg11
== NULL
) SWIG_fail
;
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17906 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17927 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17928 PyObject
*resultobj
= 0;
17929 wxSlider
*arg1
= (wxSlider
*) 0 ;
17933 PyObject
*swig_obj
[1] ;
17935 if (!args
) SWIG_fail
;
17936 swig_obj
[0] = args
;
17937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17938 if (!SWIG_IsOK(res1
)) {
17939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17941 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 resultobj
= SWIG_From_int(static_cast< int >(result
));
17955 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
= 0;
17957 wxSlider
*arg1
= (wxSlider
*) 0 ;
17963 PyObject
* obj0
= 0 ;
17964 PyObject
* obj1
= 0 ;
17965 char * kwnames
[] = {
17966 (char *) "self",(char *) "value", NULL
17969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17971 if (!SWIG_IsOK(res1
)) {
17972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17974 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17976 if (!SWIG_IsOK(ecode2
)) {
17977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17979 arg2
= static_cast< int >(val2
);
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 (arg1
)->SetValue(arg2
);
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17986 resultobj
= SWIG_Py_Void();
17993 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
= 0;
17995 wxSlider
*arg1
= (wxSlider
*) 0 ;
18004 PyObject
* obj0
= 0 ;
18005 PyObject
* obj1
= 0 ;
18006 PyObject
* obj2
= 0 ;
18007 char * kwnames
[] = {
18008 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18013 if (!SWIG_IsOK(res1
)) {
18014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18016 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18018 if (!SWIG_IsOK(ecode2
)) {
18019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18021 arg2
= static_cast< int >(val2
);
18022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18023 if (!SWIG_IsOK(ecode3
)) {
18024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18026 arg3
= static_cast< int >(val3
);
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 (arg1
)->SetRange(arg2
,arg3
);
18030 wxPyEndAllowThreads(__tstate
);
18031 if (PyErr_Occurred()) SWIG_fail
;
18033 resultobj
= SWIG_Py_Void();
18040 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18041 PyObject
*resultobj
= 0;
18042 wxSlider
*arg1
= (wxSlider
*) 0 ;
18046 PyObject
*swig_obj
[1] ;
18048 if (!args
) SWIG_fail
;
18049 swig_obj
[0] = args
;
18050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18051 if (!SWIG_IsOK(res1
)) {
18052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18054 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18057 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 resultobj
= SWIG_From_int(static_cast< int >(result
));
18068 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18069 PyObject
*resultobj
= 0;
18070 wxSlider
*arg1
= (wxSlider
*) 0 ;
18074 PyObject
*swig_obj
[1] ;
18076 if (!args
) SWIG_fail
;
18077 swig_obj
[0] = args
;
18078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18079 if (!SWIG_IsOK(res1
)) {
18080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18082 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18085 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18086 wxPyEndAllowThreads(__tstate
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18089 resultobj
= SWIG_From_int(static_cast< int >(result
));
18096 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18097 PyObject
*resultobj
= 0;
18098 wxSlider
*arg1
= (wxSlider
*) 0 ;
18104 PyObject
* obj0
= 0 ;
18105 PyObject
* obj1
= 0 ;
18106 char * kwnames
[] = {
18107 (char *) "self",(char *) "minValue", NULL
18110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18112 if (!SWIG_IsOK(res1
)) {
18113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18115 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18117 if (!SWIG_IsOK(ecode2
)) {
18118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18120 arg2
= static_cast< int >(val2
);
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 (arg1
)->SetMin(arg2
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= SWIG_Py_Void();
18134 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18135 PyObject
*resultobj
= 0;
18136 wxSlider
*arg1
= (wxSlider
*) 0 ;
18142 PyObject
* obj0
= 0 ;
18143 PyObject
* obj1
= 0 ;
18144 char * kwnames
[] = {
18145 (char *) "self",(char *) "maxValue", NULL
18148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18150 if (!SWIG_IsOK(res1
)) {
18151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18153 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18155 if (!SWIG_IsOK(ecode2
)) {
18156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18158 arg2
= static_cast< int >(val2
);
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 (arg1
)->SetMax(arg2
);
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= SWIG_Py_Void();
18172 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(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 *) "lineSize", NULL
18186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",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_SetLineSize" "', 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_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18196 arg2
= static_cast< int >(val2
);
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 (arg1
)->SetLineSize(arg2
);
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 resultobj
= SWIG_Py_Void();
18210 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(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 *) "pageSize", NULL
18224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",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_SetPageSize" "', 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_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18234 arg2
= static_cast< int >(val2
);
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 (arg1
)->SetPageSize(arg2
);
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 resultobj
= SWIG_Py_Void();
18248 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18249 PyObject
*resultobj
= 0;
18250 wxSlider
*arg1
= (wxSlider
*) 0 ;
18254 PyObject
*swig_obj
[1] ;
18256 if (!args
) SWIG_fail
;
18257 swig_obj
[0] = args
;
18258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18259 if (!SWIG_IsOK(res1
)) {
18260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18262 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= SWIG_From_int(static_cast< int >(result
));
18276 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18277 PyObject
*resultobj
= 0;
18278 wxSlider
*arg1
= (wxSlider
*) 0 ;
18282 PyObject
*swig_obj
[1] ;
18284 if (!args
) SWIG_fail
;
18285 swig_obj
[0] = args
;
18286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18287 if (!SWIG_IsOK(res1
)) {
18288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18290 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18294 wxPyEndAllowThreads(__tstate
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 resultobj
= SWIG_From_int(static_cast< int >(result
));
18304 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
= 0;
18306 wxSlider
*arg1
= (wxSlider
*) 0 ;
18312 PyObject
* obj0
= 0 ;
18313 PyObject
* obj1
= 0 ;
18314 char * kwnames
[] = {
18315 (char *) "self",(char *) "lenPixels", NULL
18318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18320 if (!SWIG_IsOK(res1
)) {
18321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18323 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18325 if (!SWIG_IsOK(ecode2
)) {
18326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18328 arg2
= static_cast< int >(val2
);
18330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18331 (arg1
)->SetThumbLength(arg2
);
18332 wxPyEndAllowThreads(__tstate
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= SWIG_Py_Void();
18342 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18343 PyObject
*resultobj
= 0;
18344 wxSlider
*arg1
= (wxSlider
*) 0 ;
18348 PyObject
*swig_obj
[1] ;
18350 if (!args
) SWIG_fail
;
18351 swig_obj
[0] = args
;
18352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18353 if (!SWIG_IsOK(res1
)) {
18354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18356 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 resultobj
= SWIG_From_int(static_cast< int >(result
));
18370 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
= 0;
18372 wxSlider
*arg1
= (wxSlider
*) 0 ;
18374 int arg3
= (int) 1 ;
18381 PyObject
* obj0
= 0 ;
18382 PyObject
* obj1
= 0 ;
18383 PyObject
* obj2
= 0 ;
18384 char * kwnames
[] = {
18385 (char *) "self",(char *) "n",(char *) "pos", NULL
18388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18390 if (!SWIG_IsOK(res1
)) {
18391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18393 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18395 if (!SWIG_IsOK(ecode2
)) {
18396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18398 arg2
= static_cast< int >(val2
);
18400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18401 if (!SWIG_IsOK(ecode3
)) {
18402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18404 arg3
= static_cast< int >(val3
);
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 (arg1
)->SetTickFreq(arg2
,arg3
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 resultobj
= SWIG_Py_Void();
18419 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18420 PyObject
*resultobj
= 0;
18421 wxSlider
*arg1
= (wxSlider
*) 0 ;
18425 PyObject
*swig_obj
[1] ;
18427 if (!args
) SWIG_fail
;
18428 swig_obj
[0] = args
;
18429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18430 if (!SWIG_IsOK(res1
)) {
18431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18433 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18437 wxPyEndAllowThreads(__tstate
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18440 resultobj
= SWIG_From_int(static_cast< int >(result
));
18447 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18448 PyObject
*resultobj
= 0;
18449 wxSlider
*arg1
= (wxSlider
*) 0 ;
18452 PyObject
*swig_obj
[1] ;
18454 if (!args
) SWIG_fail
;
18455 swig_obj
[0] = args
;
18456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18457 if (!SWIG_IsOK(res1
)) {
18458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18460 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 (arg1
)->ClearTicks();
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 resultobj
= SWIG_Py_Void();
18474 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
= 0;
18476 wxSlider
*arg1
= (wxSlider
*) 0 ;
18482 PyObject
* obj0
= 0 ;
18483 PyObject
* obj1
= 0 ;
18484 char * kwnames
[] = {
18485 (char *) "self",(char *) "tickPos", NULL
18488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18490 if (!SWIG_IsOK(res1
)) {
18491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18493 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18495 if (!SWIG_IsOK(ecode2
)) {
18496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18498 arg2
= static_cast< int >(val2
);
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 (arg1
)->SetTick(arg2
);
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= SWIG_Py_Void();
18512 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18513 PyObject
*resultobj
= 0;
18514 wxSlider
*arg1
= (wxSlider
*) 0 ;
18517 PyObject
*swig_obj
[1] ;
18519 if (!args
) SWIG_fail
;
18520 swig_obj
[0] = args
;
18521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18522 if (!SWIG_IsOK(res1
)) {
18523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18525 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 (arg1
)->ClearSel();
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= SWIG_Py_Void();
18539 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18540 PyObject
*resultobj
= 0;
18541 wxSlider
*arg1
= (wxSlider
*) 0 ;
18545 PyObject
*swig_obj
[1] ;
18547 if (!args
) SWIG_fail
;
18548 swig_obj
[0] = args
;
18549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18550 if (!SWIG_IsOK(res1
)) {
18551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18553 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= SWIG_From_int(static_cast< int >(result
));
18567 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18568 PyObject
*resultobj
= 0;
18569 wxSlider
*arg1
= (wxSlider
*) 0 ;
18573 PyObject
*swig_obj
[1] ;
18575 if (!args
) SWIG_fail
;
18576 swig_obj
[0] = args
;
18577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18578 if (!SWIG_IsOK(res1
)) {
18579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18581 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_From_int(static_cast< int >(result
));
18595 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
= 0;
18597 wxSlider
*arg1
= (wxSlider
*) 0 ;
18606 PyObject
* obj0
= 0 ;
18607 PyObject
* obj1
= 0 ;
18608 PyObject
* obj2
= 0 ;
18609 char * kwnames
[] = {
18610 (char *) "self",(char *) "min",(char *) "max", NULL
18613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18615 if (!SWIG_IsOK(res1
)) {
18616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18618 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18620 if (!SWIG_IsOK(ecode2
)) {
18621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18623 arg2
= static_cast< int >(val2
);
18624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18625 if (!SWIG_IsOK(ecode3
)) {
18626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18628 arg3
= static_cast< int >(val3
);
18630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18631 (arg1
)->SetSelection(arg2
,arg3
);
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18635 resultobj
= SWIG_Py_Void();
18642 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
= 0;
18644 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18645 SwigValueWrapper
<wxVisualAttributes
> result
;
18648 PyObject
* obj0
= 0 ;
18649 char * kwnames
[] = {
18650 (char *) "variant", NULL
18653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18655 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18656 if (!SWIG_IsOK(ecode1
)) {
18657 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18659 arg1
= static_cast< wxWindowVariant
>(val1
);
18662 if (!wxPyCheckForApp()) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18675 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18677 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18678 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18679 return SWIG_Py_Void();
18682 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18683 return SWIG_Python_InitShadowInstance(args
);
18686 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18687 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18692 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18693 PyObject
*pyobj
= 0;
18697 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18699 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18706 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
= 0;
18708 wxWindow
*arg1
= (wxWindow
*) 0 ;
18709 int arg2
= (int) -1 ;
18710 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18711 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18712 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18713 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18714 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18715 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18716 long arg6
= (long) 0 ;
18717 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18718 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18719 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18720 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18721 wxToggleButton
*result
= 0 ;
18726 bool temp3
= false ;
18733 bool temp8
= false ;
18734 PyObject
* obj0
= 0 ;
18735 PyObject
* obj1
= 0 ;
18736 PyObject
* obj2
= 0 ;
18737 PyObject
* obj3
= 0 ;
18738 PyObject
* obj4
= 0 ;
18739 PyObject
* obj5
= 0 ;
18740 PyObject
* obj6
= 0 ;
18741 PyObject
* obj7
= 0 ;
18742 char * kwnames
[] = {
18743 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18748 if (!SWIG_IsOK(res1
)) {
18749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18751 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18754 if (!SWIG_IsOK(ecode2
)) {
18755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18757 arg2
= static_cast< int >(val2
);
18761 arg3
= wxString_in_helper(obj2
);
18762 if (arg3
== NULL
) SWIG_fail
;
18769 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18775 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18779 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18780 if (!SWIG_IsOK(ecode6
)) {
18781 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18783 arg6
= static_cast< long >(val6
);
18786 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18787 if (!SWIG_IsOK(res7
)) {
18788 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18793 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18797 arg8
= wxString_in_helper(obj7
);
18798 if (arg8
== NULL
) SWIG_fail
;
18803 if (!wxPyCheckForApp()) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18832 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18833 PyObject
*resultobj
= 0;
18834 wxToggleButton
*result
= 0 ;
18836 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18838 if (!wxPyCheckForApp()) SWIG_fail
;
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 result
= (wxToggleButton
*)new wxToggleButton();
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18851 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
= 0;
18853 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18854 wxWindow
*arg2
= (wxWindow
*) 0 ;
18855 int arg3
= (int) -1 ;
18856 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18857 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18858 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18859 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18860 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18861 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18862 long arg7
= (long) 0 ;
18863 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18864 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18865 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18866 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18874 bool temp4
= false ;
18881 bool temp9
= false ;
18882 PyObject
* obj0
= 0 ;
18883 PyObject
* obj1
= 0 ;
18884 PyObject
* obj2
= 0 ;
18885 PyObject
* obj3
= 0 ;
18886 PyObject
* obj4
= 0 ;
18887 PyObject
* obj5
= 0 ;
18888 PyObject
* obj6
= 0 ;
18889 PyObject
* obj7
= 0 ;
18890 PyObject
* obj8
= 0 ;
18891 char * kwnames
[] = {
18892 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18897 if (!SWIG_IsOK(res1
)) {
18898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18900 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18901 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18902 if (!SWIG_IsOK(res2
)) {
18903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18905 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18908 if (!SWIG_IsOK(ecode3
)) {
18909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18911 arg3
= static_cast< int >(val3
);
18915 arg4
= wxString_in_helper(obj3
);
18916 if (arg4
== NULL
) SWIG_fail
;
18923 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18929 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18933 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18934 if (!SWIG_IsOK(ecode7
)) {
18935 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18937 arg7
= static_cast< long >(val7
);
18940 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18941 if (!SWIG_IsOK(res8
)) {
18942 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18947 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18951 arg9
= wxString_in_helper(obj8
);
18952 if (arg9
== NULL
) SWIG_fail
;
18957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18958 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18987 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
= 0;
18989 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18995 PyObject
* obj0
= 0 ;
18996 PyObject
* obj1
= 0 ;
18997 char * kwnames
[] = {
18998 (char *) "self",(char *) "value", NULL
19001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19003 if (!SWIG_IsOK(res1
)) {
19004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19006 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19007 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19008 if (!SWIG_IsOK(ecode2
)) {
19009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19011 arg2
= static_cast< bool >(val2
);
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 (arg1
)->SetValue(arg2
);
19015 wxPyEndAllowThreads(__tstate
);
19016 if (PyErr_Occurred()) SWIG_fail
;
19018 resultobj
= SWIG_Py_Void();
19025 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19026 PyObject
*resultobj
= 0;
19027 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19031 PyObject
*swig_obj
[1] ;
19033 if (!args
) SWIG_fail
;
19034 swig_obj
[0] = args
;
19035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19036 if (!SWIG_IsOK(res1
)) {
19037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19039 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19042 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19055 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
= 0;
19057 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19058 SwigValueWrapper
<wxVisualAttributes
> result
;
19061 PyObject
* obj0
= 0 ;
19062 char * kwnames
[] = {
19063 (char *) "variant", NULL
19066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19068 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19069 if (!SWIG_IsOK(ecode1
)) {
19070 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19072 arg1
= static_cast< wxWindowVariant
>(val1
);
19075 if (!wxPyCheckForApp()) SWIG_fail
;
19076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19077 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19081 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19088 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19091 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19092 return SWIG_Py_Void();
19095 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19096 return SWIG_Python_InitShadowInstance(args
);
19099 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19100 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19105 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19106 PyObject
*pyobj
= 0;
19110 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19112 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19119 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19120 PyObject
*resultobj
= 0;
19121 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19125 PyObject
*swig_obj
[1] ;
19127 if (!args
) SWIG_fail
;
19128 swig_obj
[0] = args
;
19129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19130 if (!SWIG_IsOK(res1
)) {
19131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19133 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19137 wxPyEndAllowThreads(__tstate
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19140 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19147 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
= 0;
19149 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19151 wxWindow
*result
= 0 ;
19156 PyObject
* obj0
= 0 ;
19157 PyObject
* obj1
= 0 ;
19158 char * kwnames
[] = {
19159 (char *) "self",(char *) "n", NULL
19162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19164 if (!SWIG_IsOK(res1
)) {
19165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19167 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19168 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19169 if (!SWIG_IsOK(ecode2
)) {
19170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19172 arg2
= static_cast< size_t >(val2
);
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19175 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19180 resultobj
= wxPyMake_wxObject(result
, 0);
19188 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19189 PyObject
*resultobj
= 0;
19190 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19191 wxWindow
*result
= 0 ;
19194 PyObject
*swig_obj
[1] ;
19196 if (!args
) SWIG_fail
;
19197 swig_obj
[0] = args
;
19198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19199 if (!SWIG_IsOK(res1
)) {
19200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19202 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19210 resultobj
= wxPyMake_wxObject(result
, 0);
19218 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19219 PyObject
*resultobj
= 0;
19220 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19224 PyObject
*swig_obj
[1] ;
19226 if (!args
) SWIG_fail
;
19227 swig_obj
[0] = args
;
19228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19229 if (!SWIG_IsOK(res1
)) {
19230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19232 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19235 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 resultobj
= SWIG_From_int(static_cast< int >(result
));
19246 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
= 0;
19248 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19250 wxString
*arg3
= 0 ;
19256 bool temp3
= false ;
19257 PyObject
* obj0
= 0 ;
19258 PyObject
* obj1
= 0 ;
19259 PyObject
* obj2
= 0 ;
19260 char * kwnames
[] = {
19261 (char *) "self",(char *) "n",(char *) "strText", NULL
19264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19266 if (!SWIG_IsOK(res1
)) {
19267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19269 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19270 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19271 if (!SWIG_IsOK(ecode2
)) {
19272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19274 arg2
= static_cast< size_t >(val2
);
19276 arg3
= wxString_in_helper(obj2
);
19277 if (arg3
== NULL
) SWIG_fail
;
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19283 wxPyEndAllowThreads(__tstate
);
19284 if (PyErr_Occurred()) SWIG_fail
;
19287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19303 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19304 PyObject
*resultobj
= 0;
19305 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19312 PyObject
* obj0
= 0 ;
19313 PyObject
* obj1
= 0 ;
19314 char * kwnames
[] = {
19315 (char *) "self",(char *) "n", NULL
19318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19320 if (!SWIG_IsOK(res1
)) {
19321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19323 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19324 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19325 if (!SWIG_IsOK(ecode2
)) {
19326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19328 arg2
= static_cast< size_t >(val2
);
19330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19331 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19332 wxPyEndAllowThreads(__tstate
);
19333 if (PyErr_Occurred()) SWIG_fail
;
19337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19348 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
= 0;
19350 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19351 wxImageList
*arg2
= (wxImageList
*) 0 ;
19356 PyObject
* obj0
= 0 ;
19357 PyObject
* obj1
= 0 ;
19358 char * kwnames
[] = {
19359 (char *) "self",(char *) "imageList", NULL
19362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19364 if (!SWIG_IsOK(res1
)) {
19365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19367 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19368 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19369 if (!SWIG_IsOK(res2
)) {
19370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19372 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 (arg1
)->SetImageList(arg2
);
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 resultobj
= SWIG_Py_Void();
19386 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
= 0;
19388 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19389 wxImageList
*arg2
= (wxImageList
*) 0 ;
19393 PyObject
* obj0
= 0 ;
19394 PyObject
* obj1
= 0 ;
19395 char * kwnames
[] = {
19396 (char *) "self",(char *) "imageList", NULL
19399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19401 if (!SWIG_IsOK(res1
)) {
19402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19404 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19405 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19406 if (!SWIG_IsOK(res2
)) {
19407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 (arg1
)->AssignImageList(arg2
);
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19415 resultobj
= SWIG_Py_Void();
19422 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19423 PyObject
*resultobj
= 0;
19424 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19425 wxImageList
*result
= 0 ;
19428 PyObject
*swig_obj
[1] ;
19430 if (!args
) SWIG_fail
;
19431 swig_obj
[0] = args
;
19432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19433 if (!SWIG_IsOK(res1
)) {
19434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19436 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19440 wxPyEndAllowThreads(__tstate
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19452 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
= 0;
19454 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19461 PyObject
* obj0
= 0 ;
19462 PyObject
* obj1
= 0 ;
19463 char * kwnames
[] = {
19464 (char *) "self",(char *) "n", NULL
19467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19469 if (!SWIG_IsOK(res1
)) {
19470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19472 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19473 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19474 if (!SWIG_IsOK(ecode2
)) {
19475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19477 arg2
= static_cast< size_t >(val2
);
19479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19484 resultobj
= SWIG_From_int(static_cast< int >(result
));
19491 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
= 0;
19493 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19503 PyObject
* obj0
= 0 ;
19504 PyObject
* obj1
= 0 ;
19505 PyObject
* obj2
= 0 ;
19506 char * kwnames
[] = {
19507 (char *) "self",(char *) "n",(char *) "imageId", NULL
19510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19512 if (!SWIG_IsOK(res1
)) {
19513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19515 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19516 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19517 if (!SWIG_IsOK(ecode2
)) {
19518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19520 arg2
= static_cast< size_t >(val2
);
19521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19522 if (!SWIG_IsOK(ecode3
)) {
19523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19525 arg3
= static_cast< int >(val3
);
19527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19528 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19541 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
= 0;
19543 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 char * kwnames
[] = {
19551 (char *) "self",(char *) "size", NULL
19554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19556 if (!SWIG_IsOK(res1
)) {
19557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19559 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19562 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19566 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19570 resultobj
= SWIG_Py_Void();
19577 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19578 PyObject
*resultobj
= 0;
19579 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19585 PyObject
* obj0
= 0 ;
19586 PyObject
* obj1
= 0 ;
19587 char * kwnames
[] = {
19588 (char *) "self",(char *) "sizePage", NULL
19591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19593 if (!SWIG_IsOK(res1
)) {
19594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19596 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19599 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19614 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19615 PyObject
*resultobj
= 0;
19616 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19617 unsigned int result
;
19620 PyObject
*swig_obj
[1] ;
19622 if (!args
) SWIG_fail
;
19623 swig_obj
[0] = args
;
19624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19625 if (!SWIG_IsOK(res1
)) {
19626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19628 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19631 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19642 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
= 0;
19644 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19645 unsigned int arg2
;
19648 unsigned int val2
;
19650 PyObject
* obj0
= 0 ;
19651 PyObject
* obj1
= 0 ;
19652 char * kwnames
[] = {
19653 (char *) "self",(char *) "internalBorder", NULL
19656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19658 if (!SWIG_IsOK(res1
)) {
19659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19661 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19662 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19663 if (!SWIG_IsOK(ecode2
)) {
19664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19666 arg2
= static_cast< unsigned int >(val2
);
19668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19669 (arg1
)->SetInternalBorder(arg2
);
19670 wxPyEndAllowThreads(__tstate
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19673 resultobj
= SWIG_Py_Void();
19680 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19681 PyObject
*resultobj
= 0;
19682 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19686 PyObject
*swig_obj
[1] ;
19688 if (!args
) SWIG_fail
;
19689 swig_obj
[0] = args
;
19690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19691 if (!SWIG_IsOK(res1
)) {
19692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19694 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19698 wxPyEndAllowThreads(__tstate
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19710 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
= 0;
19712 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj1
= 0 ;
19720 char * kwnames
[] = {
19721 (char *) "self",(char *) "margin", NULL
19724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19726 if (!SWIG_IsOK(res1
)) {
19727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19729 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19731 if (!SWIG_IsOK(ecode2
)) {
19732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19734 arg2
= static_cast< int >(val2
);
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 (arg1
)->SetControlMargin(arg2
);
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= SWIG_Py_Void();
19748 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19749 PyObject
*resultobj
= 0;
19750 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19754 PyObject
*swig_obj
[1] ;
19756 if (!args
) SWIG_fail
;
19757 swig_obj
[0] = args
;
19758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19759 if (!SWIG_IsOK(res1
)) {
19760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19762 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19769 resultobj
= SWIG_From_int(static_cast< int >(result
));
19776 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
= 0;
19778 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19784 PyObject
* obj0
= 0 ;
19785 PyObject
* obj1
= 0 ;
19786 char * kwnames
[] = {
19787 (char *) "self",(char *) "fit", NULL
19790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19792 if (!SWIG_IsOK(res1
)) {
19793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19795 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19796 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19797 if (!SWIG_IsOK(ecode2
)) {
19798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19800 arg2
= static_cast< bool >(val2
);
19802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19803 (arg1
)->SetFitToCurrentPage(arg2
);
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= SWIG_Py_Void();
19814 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19815 PyObject
*resultobj
= 0;
19816 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19820 PyObject
*swig_obj
[1] ;
19822 if (!args
) SWIG_fail
;
19823 swig_obj
[0] = args
;
19824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19825 if (!SWIG_IsOK(res1
)) {
19826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19828 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19844 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19845 PyObject
*resultobj
= 0;
19846 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19847 wxSizer
*result
= 0 ;
19850 PyObject
*swig_obj
[1] ;
19852 if (!args
) SWIG_fail
;
19853 swig_obj
[0] = args
;
19854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19855 if (!SWIG_IsOK(res1
)) {
19856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19858 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19874 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
= 0;
19876 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19883 PyObject
* obj0
= 0 ;
19884 PyObject
* obj1
= 0 ;
19885 char * kwnames
[] = {
19886 (char *) "self",(char *) "n", NULL
19889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19891 if (!SWIG_IsOK(res1
)) {
19892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19894 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19895 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19896 if (!SWIG_IsOK(ecode2
)) {
19897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19899 arg2
= static_cast< size_t >(val2
);
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 result
= (bool)(arg1
)->DeletePage(arg2
);
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19915 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
= 0;
19917 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19924 PyObject
* obj0
= 0 ;
19925 PyObject
* obj1
= 0 ;
19926 char * kwnames
[] = {
19927 (char *) "self",(char *) "n", NULL
19930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19932 if (!SWIG_IsOK(res1
)) {
19933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19935 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19936 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19937 if (!SWIG_IsOK(ecode2
)) {
19938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19940 arg2
= static_cast< size_t >(val2
);
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 result
= (bool)(arg1
)->RemovePage(arg2
);
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19956 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19957 PyObject
*resultobj
= 0;
19958 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19962 PyObject
*swig_obj
[1] ;
19964 if (!args
) SWIG_fail
;
19965 swig_obj
[0] = args
;
19966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19967 if (!SWIG_IsOK(res1
)) {
19968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19970 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 result
= (bool)(arg1
)->DeleteAllPages();
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19986 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
= 0;
19988 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19989 wxWindow
*arg2
= (wxWindow
*) 0 ;
19990 wxString
*arg3
= 0 ;
19991 bool arg4
= (bool) false ;
19992 int arg5
= (int) -1 ;
19998 bool temp3
= false ;
20003 PyObject
* obj0
= 0 ;
20004 PyObject
* obj1
= 0 ;
20005 PyObject
* obj2
= 0 ;
20006 PyObject
* obj3
= 0 ;
20007 PyObject
* obj4
= 0 ;
20008 char * kwnames
[] = {
20009 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20014 if (!SWIG_IsOK(res1
)) {
20015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20017 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20019 if (!SWIG_IsOK(res2
)) {
20020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20022 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20024 arg3
= wxString_in_helper(obj2
);
20025 if (arg3
== NULL
) SWIG_fail
;
20029 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20030 if (!SWIG_IsOK(ecode4
)) {
20031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20033 arg4
= static_cast< bool >(val4
);
20036 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20037 if (!SWIG_IsOK(ecode5
)) {
20038 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20040 arg5
= static_cast< int >(val5
);
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20045 wxPyEndAllowThreads(__tstate
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20065 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
= 0;
20067 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20069 wxWindow
*arg3
= (wxWindow
*) 0 ;
20070 wxString
*arg4
= 0 ;
20071 bool arg5
= (bool) false ;
20072 int arg6
= (int) -1 ;
20080 bool temp4
= false ;
20085 PyObject
* obj0
= 0 ;
20086 PyObject
* obj1
= 0 ;
20087 PyObject
* obj2
= 0 ;
20088 PyObject
* obj3
= 0 ;
20089 PyObject
* obj4
= 0 ;
20090 PyObject
* obj5
= 0 ;
20091 char * kwnames
[] = {
20092 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20097 if (!SWIG_IsOK(res1
)) {
20098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20100 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20101 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20102 if (!SWIG_IsOK(ecode2
)) {
20103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20105 arg2
= static_cast< size_t >(val2
);
20106 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20107 if (!SWIG_IsOK(res3
)) {
20108 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20110 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20112 arg4
= wxString_in_helper(obj3
);
20113 if (arg4
== NULL
) SWIG_fail
;
20117 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20118 if (!SWIG_IsOK(ecode5
)) {
20119 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20121 arg5
= static_cast< bool >(val5
);
20124 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20125 if (!SWIG_IsOK(ecode6
)) {
20126 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20128 arg6
= static_cast< int >(val6
);
20131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20132 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20133 wxPyEndAllowThreads(__tstate
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20153 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
= 0;
20155 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20162 PyObject
* obj0
= 0 ;
20163 PyObject
* obj1
= 0 ;
20164 char * kwnames
[] = {
20165 (char *) "self",(char *) "n", NULL
20168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20170 if (!SWIG_IsOK(res1
)) {
20171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20173 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20174 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20175 if (!SWIG_IsOK(ecode2
)) {
20176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20178 arg2
= static_cast< size_t >(val2
);
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 result
= (int)(arg1
)->SetSelection(arg2
);
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= SWIG_From_int(static_cast< int >(result
));
20192 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
= 0;
20194 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20201 PyObject
* obj0
= 0 ;
20202 PyObject
* obj1
= 0 ;
20203 char * kwnames
[] = {
20204 (char *) "self",(char *) "n", NULL
20207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20209 if (!SWIG_IsOK(res1
)) {
20210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20212 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20213 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20214 if (!SWIG_IsOK(ecode2
)) {
20215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20217 arg2
= static_cast< size_t >(val2
);
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 result
= (int)(arg1
)->ChangeSelection(arg2
);
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= SWIG_From_int(static_cast< int >(result
));
20231 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
= 0;
20233 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20234 bool arg2
= (bool) true ;
20239 PyObject
* obj0
= 0 ;
20240 PyObject
* obj1
= 0 ;
20241 char * kwnames
[] = {
20242 (char *) "self",(char *) "forward", NULL
20245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20247 if (!SWIG_IsOK(res1
)) {
20248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20250 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20252 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20253 if (!SWIG_IsOK(ecode2
)) {
20254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20256 arg2
= static_cast< bool >(val2
);
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 (arg1
)->AdvanceSelection(arg2
);
20261 wxPyEndAllowThreads(__tstate
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20264 resultobj
= SWIG_Py_Void();
20271 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20272 PyObject
*resultobj
= 0;
20273 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20274 wxPoint
*arg2
= 0 ;
20275 long *arg3
= (long *) 0 ;
20281 int res3
= SWIG_TMPOBJ
;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 char * kwnames
[] = {
20285 (char *) "self",(char *) "pt", NULL
20289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20291 if (!SWIG_IsOK(res1
)) {
20292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20294 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20297 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 resultobj
= SWIG_From_int(static_cast< int >(result
));
20306 if (SWIG_IsTmpObj(res3
)) {
20307 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20309 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20310 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20318 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
= 0;
20320 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20321 SwigValueWrapper
<wxVisualAttributes
> result
;
20324 PyObject
* obj0
= 0 ;
20325 char * kwnames
[] = {
20326 (char *) "variant", NULL
20329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20331 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20332 if (!SWIG_IsOK(ecode1
)) {
20333 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20335 arg1
= static_cast< wxWindowVariant
>(val1
);
20338 if (!wxPyCheckForApp()) SWIG_fail
;
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20344 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20351 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20354 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20355 return SWIG_Py_Void();
20358 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
= 0;
20360 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20361 int arg2
= (int) 0 ;
20362 int arg3
= (int) -1 ;
20363 int arg4
= (int) -1 ;
20364 wxBookCtrlBaseEvent
*result
= 0 ;
20373 PyObject
* obj0
= 0 ;
20374 PyObject
* obj1
= 0 ;
20375 PyObject
* obj2
= 0 ;
20376 PyObject
* obj3
= 0 ;
20377 char * kwnames
[] = {
20378 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20383 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20384 if (!SWIG_IsOK(ecode1
)) {
20385 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20387 arg1
= static_cast< wxEventType
>(val1
);
20390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20391 if (!SWIG_IsOK(ecode2
)) {
20392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20394 arg2
= static_cast< int >(val2
);
20397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20398 if (!SWIG_IsOK(ecode3
)) {
20399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20401 arg3
= static_cast< int >(val3
);
20404 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20405 if (!SWIG_IsOK(ecode4
)) {
20406 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20408 arg4
= static_cast< int >(val4
);
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20423 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20424 PyObject
*resultobj
= 0;
20425 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20429 PyObject
*swig_obj
[1] ;
20431 if (!args
) SWIG_fail
;
20432 swig_obj
[0] = args
;
20433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20434 if (!SWIG_IsOK(res1
)) {
20435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20437 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20440 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20441 wxPyEndAllowThreads(__tstate
);
20442 if (PyErr_Occurred()) SWIG_fail
;
20444 resultobj
= SWIG_From_int(static_cast< int >(result
));
20451 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20452 PyObject
*resultobj
= 0;
20453 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20459 PyObject
* obj0
= 0 ;
20460 PyObject
* obj1
= 0 ;
20461 char * kwnames
[] = {
20462 (char *) "self",(char *) "nSel", NULL
20465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20467 if (!SWIG_IsOK(res1
)) {
20468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20470 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20472 if (!SWIG_IsOK(ecode2
)) {
20473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20475 arg2
= static_cast< int >(val2
);
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 (arg1
)->SetSelection(arg2
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_Py_Void();
20489 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20490 PyObject
*resultobj
= 0;
20491 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20495 PyObject
*swig_obj
[1] ;
20497 if (!args
) SWIG_fail
;
20498 swig_obj
[0] = args
;
20499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20500 if (!SWIG_IsOK(res1
)) {
20501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20503 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= SWIG_From_int(static_cast< int >(result
));
20517 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
= 0;
20519 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20525 PyObject
* obj0
= 0 ;
20526 PyObject
* obj1
= 0 ;
20527 char * kwnames
[] = {
20528 (char *) "self",(char *) "nOldSel", NULL
20531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20533 if (!SWIG_IsOK(res1
)) {
20534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20536 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20538 if (!SWIG_IsOK(ecode2
)) {
20539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20541 arg2
= static_cast< int >(val2
);
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 (arg1
)->SetOldSelection(arg2
);
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 resultobj
= SWIG_Py_Void();
20555 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20558 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20559 return SWIG_Py_Void();
20562 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20563 return SWIG_Python_InitShadowInstance(args
);
20566 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
= 0;
20568 wxWindow
*arg1
= (wxWindow
*) 0 ;
20569 int arg2
= (int) -1 ;
20570 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20571 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20572 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20573 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20574 long arg5
= (long) 0 ;
20575 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20576 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20577 wxNotebook
*result
= 0 ;
20586 bool temp6
= false ;
20587 PyObject
* obj0
= 0 ;
20588 PyObject
* obj1
= 0 ;
20589 PyObject
* obj2
= 0 ;
20590 PyObject
* obj3
= 0 ;
20591 PyObject
* obj4
= 0 ;
20592 PyObject
* obj5
= 0 ;
20593 char * kwnames
[] = {
20594 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20599 if (!SWIG_IsOK(res1
)) {
20600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20602 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20605 if (!SWIG_IsOK(ecode2
)) {
20606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20608 arg2
= static_cast< int >(val2
);
20613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20619 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20623 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20624 if (!SWIG_IsOK(ecode5
)) {
20625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20627 arg5
= static_cast< long >(val5
);
20631 arg6
= wxString_in_helper(obj5
);
20632 if (arg6
== NULL
) SWIG_fail
;
20637 if (!wxPyCheckForApp()) SWIG_fail
;
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20658 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20659 PyObject
*resultobj
= 0;
20660 wxNotebook
*result
= 0 ;
20662 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20664 if (!wxPyCheckForApp()) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (wxNotebook
*)new wxNotebook();
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20677 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
= 0;
20679 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20680 wxWindow
*arg2
= (wxWindow
*) 0 ;
20681 int arg3
= (int) -1 ;
20682 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20683 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20684 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20685 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20686 long arg6
= (long) 0 ;
20687 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20688 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20700 bool temp7
= false ;
20701 PyObject
* obj0
= 0 ;
20702 PyObject
* obj1
= 0 ;
20703 PyObject
* obj2
= 0 ;
20704 PyObject
* obj3
= 0 ;
20705 PyObject
* obj4
= 0 ;
20706 PyObject
* obj5
= 0 ;
20707 PyObject
* obj6
= 0 ;
20708 char * kwnames
[] = {
20709 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20714 if (!SWIG_IsOK(res1
)) {
20715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20717 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20719 if (!SWIG_IsOK(res2
)) {
20720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20722 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20725 if (!SWIG_IsOK(ecode3
)) {
20726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20728 arg3
= static_cast< int >(val3
);
20733 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20739 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20743 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20744 if (!SWIG_IsOK(ecode6
)) {
20745 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20747 arg6
= static_cast< long >(val6
);
20751 arg7
= wxString_in_helper(obj6
);
20752 if (arg7
== NULL
) SWIG_fail
;
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20779 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20780 PyObject
*resultobj
= 0;
20781 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20785 PyObject
*swig_obj
[1] ;
20787 if (!args
) SWIG_fail
;
20788 swig_obj
[0] = args
;
20789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20790 if (!SWIG_IsOK(res1
)) {
20791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20793 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20797 wxPyEndAllowThreads(__tstate
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= SWIG_From_int(static_cast< int >(result
));
20807 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20808 PyObject
*resultobj
= 0;
20809 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20814 PyObject
* obj0
= 0 ;
20815 PyObject
* obj1
= 0 ;
20816 char * kwnames
[] = {
20817 (char *) "self",(char *) "padding", NULL
20820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20822 if (!SWIG_IsOK(res1
)) {
20823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20825 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20828 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20833 wxPyEndAllowThreads(__tstate
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20836 resultobj
= SWIG_Py_Void();
20843 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20844 PyObject
*resultobj
= 0;
20845 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20852 char * kwnames
[] = {
20853 (char *) "self",(char *) "sz", NULL
20856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20858 if (!SWIG_IsOK(res1
)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20861 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20864 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 resultobj
= SWIG_Py_Void();
20879 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20880 PyObject
*resultobj
= 0;
20881 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20885 PyObject
*swig_obj
[1] ;
20887 if (!args
) SWIG_fail
;
20888 swig_obj
[0] = args
;
20889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20890 if (!SWIG_IsOK(res1
)) {
20891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20893 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20907 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
= 0;
20909 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20910 SwigValueWrapper
<wxVisualAttributes
> result
;
20913 PyObject
* obj0
= 0 ;
20914 char * kwnames
[] = {
20915 (char *) "variant", NULL
20918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20920 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20921 if (!SWIG_IsOK(ecode1
)) {
20922 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20924 arg1
= static_cast< wxWindowVariant
>(val1
);
20927 if (!wxPyCheckForApp()) SWIG_fail
;
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20933 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20940 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
= 0;
20942 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20949 PyObject
* obj0
= 0 ;
20950 PyObject
* obj1
= 0 ;
20951 char * kwnames
[] = {
20952 (char *) "self",(char *) "nPage", NULL
20955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20957 if (!SWIG_IsOK(res1
)) {
20958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
20960 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20962 if (!SWIG_IsOK(ecode2
)) {
20963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
20965 arg2
= static_cast< int >(val2
);
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20981 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
= 0;
20983 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20985 int arg3
= (int) -1 ;
20992 PyObject
* obj0
= 0 ;
20993 PyObject
* obj1
= 0 ;
20994 PyObject
* obj2
= 0 ;
20995 char * kwnames
[] = {
20996 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
20999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21001 if (!SWIG_IsOK(res1
)) {
21002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21004 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21006 if (!SWIG_IsOK(ecode2
)) {
21007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21009 arg2
= static_cast< int >(val2
);
21011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21012 if (!SWIG_IsOK(ecode3
)) {
21013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21015 arg3
= static_cast< int >(val3
);
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21023 resultobj
= SWIG_Py_Void();
21030 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21033 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21034 return SWIG_Py_Void();
21037 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21038 return SWIG_Python_InitShadowInstance(args
);
21041 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21042 PyObject
*resultobj
= 0;
21043 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21044 int arg2
= (int) 0 ;
21045 int arg3
= (int) -1 ;
21046 int arg4
= (int) -1 ;
21047 wxNotebookEvent
*result
= 0 ;
21056 PyObject
* obj0
= 0 ;
21057 PyObject
* obj1
= 0 ;
21058 PyObject
* obj2
= 0 ;
21059 PyObject
* obj3
= 0 ;
21060 char * kwnames
[] = {
21061 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21066 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21067 if (!SWIG_IsOK(ecode1
)) {
21068 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21070 arg1
= static_cast< wxEventType
>(val1
);
21073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21074 if (!SWIG_IsOK(ecode2
)) {
21075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21077 arg2
= static_cast< int >(val2
);
21080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21081 if (!SWIG_IsOK(ecode3
)) {
21082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21084 arg3
= static_cast< int >(val3
);
21087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21088 if (!SWIG_IsOK(ecode4
)) {
21089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21091 arg4
= static_cast< int >(val4
);
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21106 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21109 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21110 return SWIG_Py_Void();
21113 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21114 return SWIG_Python_InitShadowInstance(args
);
21117 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21118 PyObject
*resultobj
= 0;
21119 wxWindow
*arg1
= (wxWindow
*) 0 ;
21120 int arg2
= (int) -1 ;
21121 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21122 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21123 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21124 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21125 long arg5
= (long) 0 ;
21126 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21127 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21128 wxListbook
*result
= 0 ;
21137 bool temp6
= false ;
21138 PyObject
* obj0
= 0 ;
21139 PyObject
* obj1
= 0 ;
21140 PyObject
* obj2
= 0 ;
21141 PyObject
* obj3
= 0 ;
21142 PyObject
* obj4
= 0 ;
21143 PyObject
* obj5
= 0 ;
21144 char * kwnames
[] = {
21145 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21150 if (!SWIG_IsOK(res1
)) {
21151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21153 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21156 if (!SWIG_IsOK(ecode2
)) {
21157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21159 arg2
= static_cast< int >(val2
);
21164 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21170 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21174 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21175 if (!SWIG_IsOK(ecode5
)) {
21176 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21178 arg5
= static_cast< long >(val5
);
21182 arg6
= wxString_in_helper(obj5
);
21183 if (arg6
== NULL
) SWIG_fail
;
21188 if (!wxPyCheckForApp()) SWIG_fail
;
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21209 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21210 PyObject
*resultobj
= 0;
21211 wxListbook
*result
= 0 ;
21213 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21215 if (!wxPyCheckForApp()) SWIG_fail
;
21216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21217 result
= (wxListbook
*)new wxListbook();
21218 wxPyEndAllowThreads(__tstate
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21228 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21229 PyObject
*resultobj
= 0;
21230 wxListbook
*arg1
= (wxListbook
*) 0 ;
21231 wxWindow
*arg2
= (wxWindow
*) 0 ;
21232 int arg3
= (int) -1 ;
21233 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21234 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21235 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21236 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21237 long arg6
= (long) 0 ;
21238 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21239 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21251 bool temp7
= false ;
21252 PyObject
* obj0
= 0 ;
21253 PyObject
* obj1
= 0 ;
21254 PyObject
* obj2
= 0 ;
21255 PyObject
* obj3
= 0 ;
21256 PyObject
* obj4
= 0 ;
21257 PyObject
* obj5
= 0 ;
21258 PyObject
* obj6
= 0 ;
21259 char * kwnames
[] = {
21260 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21265 if (!SWIG_IsOK(res1
)) {
21266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21268 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21270 if (!SWIG_IsOK(res2
)) {
21271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21273 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21275 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21276 if (!SWIG_IsOK(ecode3
)) {
21277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21279 arg3
= static_cast< int >(val3
);
21284 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21290 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21294 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21295 if (!SWIG_IsOK(ecode6
)) {
21296 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21298 arg6
= static_cast< long >(val6
);
21302 arg7
= wxString_in_helper(obj6
);
21303 if (arg7
== NULL
) SWIG_fail
;
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21330 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21331 PyObject
*resultobj
= 0;
21332 wxListbook
*arg1
= (wxListbook
*) 0 ;
21333 wxListView
*result
= 0 ;
21336 PyObject
*swig_obj
[1] ;
21338 if (!args
) SWIG_fail
;
21339 swig_obj
[0] = args
;
21340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21341 if (!SWIG_IsOK(res1
)) {
21342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21344 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= (wxListView
*)(arg1
)->GetListView();
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21358 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21361 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21362 return SWIG_Py_Void();
21365 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21366 return SWIG_Python_InitShadowInstance(args
);
21369 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
= 0;
21371 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21372 int arg2
= (int) 0 ;
21373 int arg3
= (int) -1 ;
21374 int arg4
= (int) -1 ;
21375 wxListbookEvent
*result
= 0 ;
21384 PyObject
* obj0
= 0 ;
21385 PyObject
* obj1
= 0 ;
21386 PyObject
* obj2
= 0 ;
21387 PyObject
* obj3
= 0 ;
21388 char * kwnames
[] = {
21389 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21394 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21395 if (!SWIG_IsOK(ecode1
)) {
21396 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21398 arg1
= static_cast< wxEventType
>(val1
);
21401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21402 if (!SWIG_IsOK(ecode2
)) {
21403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21405 arg2
= static_cast< int >(val2
);
21408 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21409 if (!SWIG_IsOK(ecode3
)) {
21410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21412 arg3
= static_cast< int >(val3
);
21415 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21416 if (!SWIG_IsOK(ecode4
)) {
21417 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21419 arg4
= static_cast< int >(val4
);
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21434 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21437 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21438 return SWIG_Py_Void();
21441 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21442 return SWIG_Python_InitShadowInstance(args
);
21445 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
= 0;
21447 wxWindow
*arg1
= (wxWindow
*) 0 ;
21449 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21450 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21451 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21452 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21453 long arg5
= (long) 0 ;
21454 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21455 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21456 wxChoicebook
*result
= 0 ;
21465 bool temp6
= false ;
21466 PyObject
* obj0
= 0 ;
21467 PyObject
* obj1
= 0 ;
21468 PyObject
* obj2
= 0 ;
21469 PyObject
* obj3
= 0 ;
21470 PyObject
* obj4
= 0 ;
21471 PyObject
* obj5
= 0 ;
21472 char * kwnames
[] = {
21473 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21478 if (!SWIG_IsOK(res1
)) {
21479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21481 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21483 if (!SWIG_IsOK(ecode2
)) {
21484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21486 arg2
= static_cast< int >(val2
);
21490 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21496 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21500 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21501 if (!SWIG_IsOK(ecode5
)) {
21502 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21504 arg5
= static_cast< long >(val5
);
21508 arg6
= wxString_in_helper(obj5
);
21509 if (arg6
== NULL
) SWIG_fail
;
21514 if (!wxPyCheckForApp()) SWIG_fail
;
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21535 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21536 PyObject
*resultobj
= 0;
21537 wxChoicebook
*result
= 0 ;
21539 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21541 if (!wxPyCheckForApp()) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= (wxChoicebook
*)new wxChoicebook();
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21554 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
= 0;
21556 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21557 wxWindow
*arg2
= (wxWindow
*) 0 ;
21559 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21560 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21561 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21562 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21563 long arg6
= (long) 0 ;
21564 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21565 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21577 bool temp7
= false ;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 PyObject
* obj2
= 0 ;
21581 PyObject
* obj3
= 0 ;
21582 PyObject
* obj4
= 0 ;
21583 PyObject
* obj5
= 0 ;
21584 PyObject
* obj6
= 0 ;
21585 char * kwnames
[] = {
21586 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21591 if (!SWIG_IsOK(res1
)) {
21592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21594 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21595 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21596 if (!SWIG_IsOK(res2
)) {
21597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21599 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21601 if (!SWIG_IsOK(ecode3
)) {
21602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21604 arg3
= static_cast< int >(val3
);
21608 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21614 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21618 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21619 if (!SWIG_IsOK(ecode6
)) {
21620 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21622 arg6
= static_cast< long >(val6
);
21626 arg7
= wxString_in_helper(obj6
);
21627 if (arg7
== NULL
) SWIG_fail
;
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21654 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21655 PyObject
*resultobj
= 0;
21656 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21657 wxChoice
*result
= 0 ;
21660 PyObject
*swig_obj
[1] ;
21662 if (!args
) SWIG_fail
;
21663 swig_obj
[0] = args
;
21664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21665 if (!SWIG_IsOK(res1
)) {
21666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21668 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21682 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21684 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21685 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21686 return SWIG_Py_Void();
21689 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21690 return SWIG_Python_InitShadowInstance(args
);
21693 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21694 PyObject
*resultobj
= 0;
21695 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21696 int arg2
= (int) 0 ;
21697 int arg3
= (int) -1 ;
21698 int arg4
= (int) -1 ;
21699 wxChoicebookEvent
*result
= 0 ;
21708 PyObject
* obj0
= 0 ;
21709 PyObject
* obj1
= 0 ;
21710 PyObject
* obj2
= 0 ;
21711 PyObject
* obj3
= 0 ;
21712 char * kwnames
[] = {
21713 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21718 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21719 if (!SWIG_IsOK(ecode1
)) {
21720 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21722 arg1
= static_cast< wxEventType
>(val1
);
21725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21726 if (!SWIG_IsOK(ecode2
)) {
21727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21729 arg2
= static_cast< int >(val2
);
21732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21733 if (!SWIG_IsOK(ecode3
)) {
21734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21736 arg3
= static_cast< int >(val3
);
21739 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21740 if (!SWIG_IsOK(ecode4
)) {
21741 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21743 arg4
= static_cast< int >(val4
);
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21758 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21761 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21762 return SWIG_Py_Void();
21765 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21766 return SWIG_Python_InitShadowInstance(args
);
21769 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
= 0;
21771 wxWindow
*arg1
= (wxWindow
*) 0 ;
21773 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21774 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21775 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21776 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21777 long arg5
= (long) wxBK_DEFAULT
;
21778 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21779 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21780 wxTreebook
*result
= 0 ;
21789 bool temp6
= false ;
21790 PyObject
* obj0
= 0 ;
21791 PyObject
* obj1
= 0 ;
21792 PyObject
* obj2
= 0 ;
21793 PyObject
* obj3
= 0 ;
21794 PyObject
* obj4
= 0 ;
21795 PyObject
* obj5
= 0 ;
21796 char * kwnames
[] = {
21797 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21802 if (!SWIG_IsOK(res1
)) {
21803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21805 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21807 if (!SWIG_IsOK(ecode2
)) {
21808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21810 arg2
= static_cast< int >(val2
);
21814 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21820 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21824 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21825 if (!SWIG_IsOK(ecode5
)) {
21826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21828 arg5
= static_cast< long >(val5
);
21832 arg6
= wxString_in_helper(obj5
);
21833 if (arg6
== NULL
) SWIG_fail
;
21838 if (!wxPyCheckForApp()) SWIG_fail
;
21839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21840 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21841 wxPyEndAllowThreads(__tstate
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21859 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21860 PyObject
*resultobj
= 0;
21861 wxTreebook
*result
= 0 ;
21863 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21865 if (!wxPyCheckForApp()) SWIG_fail
;
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 result
= (wxTreebook
*)new wxTreebook();
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21878 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
= 0;
21880 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21881 wxWindow
*arg2
= (wxWindow
*) 0 ;
21883 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21884 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21885 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21886 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21887 long arg6
= (long) wxBK_DEFAULT
;
21888 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21889 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21901 bool temp7
= false ;
21902 PyObject
* obj0
= 0 ;
21903 PyObject
* obj1
= 0 ;
21904 PyObject
* obj2
= 0 ;
21905 PyObject
* obj3
= 0 ;
21906 PyObject
* obj4
= 0 ;
21907 PyObject
* obj5
= 0 ;
21908 PyObject
* obj6
= 0 ;
21909 char * kwnames
[] = {
21910 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21915 if (!SWIG_IsOK(res1
)) {
21916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21918 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21920 if (!SWIG_IsOK(res2
)) {
21921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21923 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21925 if (!SWIG_IsOK(ecode3
)) {
21926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21928 arg3
= static_cast< int >(val3
);
21932 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21938 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21942 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21943 if (!SWIG_IsOK(ecode6
)) {
21944 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21946 arg6
= static_cast< long >(val6
);
21950 arg7
= wxString_in_helper(obj6
);
21951 if (arg7
== NULL
) SWIG_fail
;
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21958 wxPyEndAllowThreads(__tstate
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21978 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
= 0;
21980 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21982 wxWindow
*arg3
= (wxWindow
*) 0 ;
21983 wxString
*arg4
= 0 ;
21984 bool arg5
= (bool) false ;
21985 int arg6
= (int) wxNOT_FOUND
;
21993 bool temp4
= false ;
21998 PyObject
* obj0
= 0 ;
21999 PyObject
* obj1
= 0 ;
22000 PyObject
* obj2
= 0 ;
22001 PyObject
* obj3
= 0 ;
22002 PyObject
* obj4
= 0 ;
22003 PyObject
* obj5
= 0 ;
22004 char * kwnames
[] = {
22005 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22010 if (!SWIG_IsOK(res1
)) {
22011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22013 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22014 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22015 if (!SWIG_IsOK(ecode2
)) {
22016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22018 arg2
= static_cast< size_t >(val2
);
22019 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22020 if (!SWIG_IsOK(res3
)) {
22021 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22023 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22025 arg4
= wxString_in_helper(obj3
);
22026 if (arg4
== NULL
) SWIG_fail
;
22030 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22031 if (!SWIG_IsOK(ecode5
)) {
22032 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22034 arg5
= static_cast< bool >(val5
);
22037 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22038 if (!SWIG_IsOK(ecode6
)) {
22039 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22041 arg6
= static_cast< int >(val6
);
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22066 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
= 0;
22068 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22069 wxWindow
*arg2
= (wxWindow
*) 0 ;
22070 wxString
*arg3
= 0 ;
22071 bool arg4
= (bool) false ;
22072 int arg5
= (int) wxNOT_FOUND
;
22078 bool temp3
= false ;
22083 PyObject
* obj0
= 0 ;
22084 PyObject
* obj1
= 0 ;
22085 PyObject
* obj2
= 0 ;
22086 PyObject
* obj3
= 0 ;
22087 PyObject
* obj4
= 0 ;
22088 char * kwnames
[] = {
22089 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22094 if (!SWIG_IsOK(res1
)) {
22095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22097 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22098 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22099 if (!SWIG_IsOK(res2
)) {
22100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22102 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22104 arg3
= wxString_in_helper(obj2
);
22105 if (arg3
== NULL
) SWIG_fail
;
22109 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22110 if (!SWIG_IsOK(ecode4
)) {
22111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22113 arg4
= static_cast< bool >(val4
);
22116 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22117 if (!SWIG_IsOK(ecode5
)) {
22118 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22120 arg5
= static_cast< int >(val5
);
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22145 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
= 0;
22147 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 char * kwnames
[] = {
22157 (char *) "self",(char *) "pos", NULL
22160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22162 if (!SWIG_IsOK(res1
)) {
22163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22165 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22166 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22167 if (!SWIG_IsOK(ecode2
)) {
22168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22170 arg2
= static_cast< size_t >(val2
);
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22186 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22187 PyObject
*resultobj
= 0;
22188 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22190 bool arg3
= (bool) true ;
22198 PyObject
* obj0
= 0 ;
22199 PyObject
* obj1
= 0 ;
22200 PyObject
* obj2
= 0 ;
22201 char * kwnames
[] = {
22202 (char *) "self",(char *) "pos",(char *) "expand", NULL
22205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22207 if (!SWIG_IsOK(res1
)) {
22208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22210 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22211 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22212 if (!SWIG_IsOK(ecode2
)) {
22213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22215 arg2
= static_cast< size_t >(val2
);
22217 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22218 if (!SWIG_IsOK(ecode3
)) {
22219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22221 arg3
= static_cast< bool >(val3
);
22224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22225 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22226 wxPyEndAllowThreads(__tstate
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22238 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22239 PyObject
*resultobj
= 0;
22240 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22247 PyObject
* obj0
= 0 ;
22248 PyObject
* obj1
= 0 ;
22249 char * kwnames
[] = {
22250 (char *) "self",(char *) "pos", NULL
22253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22255 if (!SWIG_IsOK(res1
)) {
22256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22258 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22259 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22260 if (!SWIG_IsOK(ecode2
)) {
22261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22263 arg2
= static_cast< size_t >(val2
);
22265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22266 result
= (bool)(arg1
)->CollapseNode(arg2
);
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22279 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
= 0;
22281 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22288 PyObject
* obj0
= 0 ;
22289 PyObject
* obj1
= 0 ;
22290 char * kwnames
[] = {
22291 (char *) "self",(char *) "pos", NULL
22294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22296 if (!SWIG_IsOK(res1
)) {
22297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22299 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22300 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22301 if (!SWIG_IsOK(ecode2
)) {
22302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22304 arg2
= static_cast< size_t >(val2
);
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22308 wxPyEndAllowThreads(__tstate
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22311 resultobj
= SWIG_From_int(static_cast< int >(result
));
22318 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22319 PyObject
*resultobj
= 0;
22320 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22321 wxPyTreeCtrl
*result
= 0 ;
22324 PyObject
*swig_obj
[1] ;
22326 if (!args
) SWIG_fail
;
22327 swig_obj
[0] = args
;
22328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22329 if (!SWIG_IsOK(res1
)) {
22330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22332 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22340 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22348 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22351 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22352 return SWIG_Py_Void();
22355 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22356 return SWIG_Python_InitShadowInstance(args
);
22359 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
= 0;
22361 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22362 int arg2
= (int) 0 ;
22363 int arg3
= (int) wxNOT_FOUND
;
22364 int arg4
= (int) wxNOT_FOUND
;
22365 wxTreebookEvent
*result
= 0 ;
22374 PyObject
* obj0
= 0 ;
22375 PyObject
* obj1
= 0 ;
22376 PyObject
* obj2
= 0 ;
22377 PyObject
* obj3
= 0 ;
22378 char * kwnames
[] = {
22379 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22384 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22385 if (!SWIG_IsOK(ecode1
)) {
22386 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22388 arg1
= static_cast< wxEventType
>(val1
);
22391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22392 if (!SWIG_IsOK(ecode2
)) {
22393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22395 arg2
= static_cast< int >(val2
);
22398 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22399 if (!SWIG_IsOK(ecode3
)) {
22400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22402 arg3
= static_cast< int >(val3
);
22405 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22406 if (!SWIG_IsOK(ecode4
)) {
22407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22409 arg4
= static_cast< int >(val4
);
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22424 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22427 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22428 return SWIG_Py_Void();
22431 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22432 return SWIG_Python_InitShadowInstance(args
);
22435 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
= 0;
22437 wxWindow
*arg1
= (wxWindow
*) 0 ;
22439 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22440 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22441 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22442 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22443 long arg5
= (long) wxBK_DEFAULT
;
22444 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22445 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22446 wxToolbook
*result
= 0 ;
22455 bool temp6
= false ;
22456 PyObject
* obj0
= 0 ;
22457 PyObject
* obj1
= 0 ;
22458 PyObject
* obj2
= 0 ;
22459 PyObject
* obj3
= 0 ;
22460 PyObject
* obj4
= 0 ;
22461 PyObject
* obj5
= 0 ;
22462 char * kwnames
[] = {
22463 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22468 if (!SWIG_IsOK(res1
)) {
22469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22471 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22473 if (!SWIG_IsOK(ecode2
)) {
22474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22476 arg2
= static_cast< int >(val2
);
22480 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22486 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22490 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22491 if (!SWIG_IsOK(ecode5
)) {
22492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22494 arg5
= static_cast< long >(val5
);
22498 arg6
= wxString_in_helper(obj5
);
22499 if (arg6
== NULL
) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22524 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22525 PyObject
*resultobj
= 0;
22526 wxToolbook
*result
= 0 ;
22528 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 result
= (wxToolbook
*)new wxToolbook();
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22542 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22543 PyObject
*resultobj
= 0;
22544 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22545 wxWindow
*arg2
= (wxWindow
*) 0 ;
22547 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22548 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22549 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22550 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22551 long arg6
= (long) 0 ;
22552 wxString
const &arg7_defvalue
= wxEmptyString
;
22553 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22565 bool temp7
= false ;
22566 PyObject
* obj0
= 0 ;
22567 PyObject
* obj1
= 0 ;
22568 PyObject
* obj2
= 0 ;
22569 PyObject
* obj3
= 0 ;
22570 PyObject
* obj4
= 0 ;
22571 PyObject
* obj5
= 0 ;
22572 PyObject
* obj6
= 0 ;
22573 char * kwnames
[] = {
22574 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22579 if (!SWIG_IsOK(res1
)) {
22580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22582 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22584 if (!SWIG_IsOK(res2
)) {
22585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22587 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22589 if (!SWIG_IsOK(ecode3
)) {
22590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22592 arg3
= static_cast< int >(val3
);
22596 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22602 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22606 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22607 if (!SWIG_IsOK(ecode6
)) {
22608 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22610 arg6
= static_cast< long >(val6
);
22614 arg7
= wxString_in_helper(obj6
);
22615 if (arg7
== NULL
) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22642 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22643 PyObject
*resultobj
= 0;
22644 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22645 wxToolBarBase
*result
= 0 ;
22648 PyObject
*swig_obj
[1] ;
22650 if (!args
) SWIG_fail
;
22651 swig_obj
[0] = args
;
22652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22653 if (!SWIG_IsOK(res1
)) {
22654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22656 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22664 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22672 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22673 PyObject
*resultobj
= 0;
22674 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22677 PyObject
*swig_obj
[1] ;
22679 if (!args
) SWIG_fail
;
22680 swig_obj
[0] = args
;
22681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22682 if (!SWIG_IsOK(res1
)) {
22683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22685 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 resultobj
= SWIG_Py_Void();
22699 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22702 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22703 return SWIG_Py_Void();
22706 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22707 return SWIG_Python_InitShadowInstance(args
);
22710 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22711 PyObject
*resultobj
= 0;
22712 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22713 int arg2
= (int) 0 ;
22714 int arg3
= (int) wxNOT_FOUND
;
22715 int arg4
= (int) wxNOT_FOUND
;
22716 wxToolbookEvent
*result
= 0 ;
22725 PyObject
* obj0
= 0 ;
22726 PyObject
* obj1
= 0 ;
22727 PyObject
* obj2
= 0 ;
22728 PyObject
* obj3
= 0 ;
22729 char * kwnames
[] = {
22730 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22736 if (!SWIG_IsOK(ecode1
)) {
22737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22739 arg1
= static_cast< wxEventType
>(val1
);
22742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22743 if (!SWIG_IsOK(ecode2
)) {
22744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22746 arg2
= static_cast< int >(val2
);
22749 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22750 if (!SWIG_IsOK(ecode3
)) {
22751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22753 arg3
= static_cast< int >(val3
);
22756 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22757 if (!SWIG_IsOK(ecode4
)) {
22758 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22760 arg4
= static_cast< int >(val4
);
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22775 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22778 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22779 return SWIG_Py_Void();
22782 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22783 return SWIG_Python_InitShadowInstance(args
);
22786 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22787 PyObject
*resultobj
= 0;
22788 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22792 PyObject
*swig_obj
[1] ;
22794 if (!args
) SWIG_fail
;
22795 swig_obj
[0] = args
;
22796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22797 if (!SWIG_IsOK(res1
)) {
22798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22800 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22803 result
= (int)(arg1
)->GetId();
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 resultobj
= SWIG_From_int(static_cast< int >(result
));
22814 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22815 PyObject
*resultobj
= 0;
22816 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22817 wxControl
*result
= 0 ;
22820 PyObject
*swig_obj
[1] ;
22822 if (!args
) SWIG_fail
;
22823 swig_obj
[0] = args
;
22824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22825 if (!SWIG_IsOK(res1
)) {
22826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22828 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= (wxControl
*)(arg1
)->GetControl();
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= wxPyMake_wxObject(result
, 0);
22844 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22845 PyObject
*resultobj
= 0;
22846 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22847 wxToolBarBase
*result
= 0 ;
22850 PyObject
*swig_obj
[1] ;
22852 if (!args
) SWIG_fail
;
22853 swig_obj
[0] = args
;
22854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22855 if (!SWIG_IsOK(res1
)) {
22856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22858 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22862 wxPyEndAllowThreads(__tstate
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22866 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22874 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22875 PyObject
*resultobj
= 0;
22876 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22880 PyObject
*swig_obj
[1] ;
22882 if (!args
) SWIG_fail
;
22883 swig_obj
[0] = args
;
22884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22885 if (!SWIG_IsOK(res1
)) {
22886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22888 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 result
= (int)(arg1
)->IsButton();
22892 wxPyEndAllowThreads(__tstate
);
22893 if (PyErr_Occurred()) SWIG_fail
;
22895 resultobj
= SWIG_From_int(static_cast< int >(result
));
22902 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22903 PyObject
*resultobj
= 0;
22904 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22908 PyObject
*swig_obj
[1] ;
22910 if (!args
) SWIG_fail
;
22911 swig_obj
[0] = args
;
22912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22913 if (!SWIG_IsOK(res1
)) {
22914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22916 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 result
= (int)(arg1
)->IsControl();
22920 wxPyEndAllowThreads(__tstate
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22923 resultobj
= SWIG_From_int(static_cast< int >(result
));
22930 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22931 PyObject
*resultobj
= 0;
22932 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22936 PyObject
*swig_obj
[1] ;
22938 if (!args
) SWIG_fail
;
22939 swig_obj
[0] = args
;
22940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22941 if (!SWIG_IsOK(res1
)) {
22942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22944 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 result
= (int)(arg1
)->IsSeparator();
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= SWIG_From_int(static_cast< int >(result
));
22958 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22959 PyObject
*resultobj
= 0;
22960 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22964 PyObject
*swig_obj
[1] ;
22966 if (!args
) SWIG_fail
;
22967 swig_obj
[0] = args
;
22968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22969 if (!SWIG_IsOK(res1
)) {
22970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22972 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 result
= (int)(arg1
)->GetStyle();
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22979 resultobj
= SWIG_From_int(static_cast< int >(result
));
22986 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22987 PyObject
*resultobj
= 0;
22988 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22992 PyObject
*swig_obj
[1] ;
22994 if (!args
) SWIG_fail
;
22995 swig_obj
[0] = args
;
22996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22997 if (!SWIG_IsOK(res1
)) {
22998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23000 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 result
= (wxItemKind
)(arg1
)->GetKind();
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23007 resultobj
= SWIG_From_int(static_cast< int >(result
));
23014 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23015 PyObject
*resultobj
= 0;
23016 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23020 PyObject
*swig_obj
[1] ;
23022 if (!args
) SWIG_fail
;
23023 swig_obj
[0] = args
;
23024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23025 if (!SWIG_IsOK(res1
)) {
23026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23028 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 result
= (bool)(arg1
)->IsEnabled();
23032 wxPyEndAllowThreads(__tstate
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23044 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23045 PyObject
*resultobj
= 0;
23046 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23050 PyObject
*swig_obj
[1] ;
23052 if (!args
) SWIG_fail
;
23053 swig_obj
[0] = args
;
23054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23055 if (!SWIG_IsOK(res1
)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23058 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 result
= (bool)(arg1
)->IsToggled();
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23074 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23075 PyObject
*resultobj
= 0;
23076 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23080 PyObject
*swig_obj
[1] ;
23082 if (!args
) SWIG_fail
;
23083 swig_obj
[0] = args
;
23084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23085 if (!SWIG_IsOK(res1
)) {
23086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23088 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23091 result
= (bool)(arg1
)->CanBeToggled();
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23104 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23105 PyObject
*resultobj
= 0;
23106 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23107 wxBitmap
*result
= 0 ;
23110 PyObject
*swig_obj
[1] ;
23112 if (!args
) SWIG_fail
;
23113 swig_obj
[0] = args
;
23114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23115 if (!SWIG_IsOK(res1
)) {
23116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23118 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23123 result
= (wxBitmap
*) &_result_ref
;
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23129 wxBitmap
* resultptr
= new wxBitmap(*result
);
23130 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23138 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23139 PyObject
*resultobj
= 0;
23140 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23141 wxBitmap
*result
= 0 ;
23144 PyObject
*swig_obj
[1] ;
23146 if (!args
) SWIG_fail
;
23147 swig_obj
[0] = args
;
23148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23149 if (!SWIG_IsOK(res1
)) {
23150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23152 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23157 result
= (wxBitmap
*) &_result_ref
;
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23163 wxBitmap
* resultptr
= new wxBitmap(*result
);
23164 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23172 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23173 PyObject
*resultobj
= 0;
23174 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23178 PyObject
*swig_obj
[1] ;
23180 if (!args
) SWIG_fail
;
23181 swig_obj
[0] = args
;
23182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23183 if (!SWIG_IsOK(res1
)) {
23184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23186 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 result
= (arg1
)->GetBitmap();
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23193 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23200 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23201 PyObject
*resultobj
= 0;
23202 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23206 PyObject
*swig_obj
[1] ;
23208 if (!args
) SWIG_fail
;
23209 swig_obj
[0] = args
;
23210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23211 if (!SWIG_IsOK(res1
)) {
23212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23214 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 result
= (arg1
)->GetLabel();
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23234 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23235 PyObject
*resultobj
= 0;
23236 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23240 PyObject
*swig_obj
[1] ;
23242 if (!args
) SWIG_fail
;
23243 swig_obj
[0] = args
;
23244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23245 if (!SWIG_IsOK(res1
)) {
23246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23248 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 result
= (arg1
)->GetShortHelp();
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23268 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23269 PyObject
*resultobj
= 0;
23270 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23274 PyObject
*swig_obj
[1] ;
23276 if (!args
) SWIG_fail
;
23277 swig_obj
[0] = args
;
23278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23279 if (!SWIG_IsOK(res1
)) {
23280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23282 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 result
= (arg1
)->GetLongHelp();
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23302 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23303 PyObject
*resultobj
= 0;
23304 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23311 PyObject
* obj0
= 0 ;
23312 PyObject
* obj1
= 0 ;
23313 char * kwnames
[] = {
23314 (char *) "self",(char *) "enable", NULL
23317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23319 if (!SWIG_IsOK(res1
)) {
23320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23322 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23323 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23324 if (!SWIG_IsOK(ecode2
)) {
23325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23327 arg2
= static_cast< bool >(val2
);
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 result
= (bool)(arg1
)->Enable(arg2
);
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23343 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23344 PyObject
*resultobj
= 0;
23345 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23348 PyObject
*swig_obj
[1] ;
23350 if (!args
) SWIG_fail
;
23351 swig_obj
[0] = args
;
23352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23353 if (!SWIG_IsOK(res1
)) {
23354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23356 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 resultobj
= SWIG_Py_Void();
23370 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23371 PyObject
*resultobj
= 0;
23372 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23379 PyObject
* obj0
= 0 ;
23380 PyObject
* obj1
= 0 ;
23381 char * kwnames
[] = {
23382 (char *) "self",(char *) "toggle", NULL
23385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23387 if (!SWIG_IsOK(res1
)) {
23388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23390 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23391 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23392 if (!SWIG_IsOK(ecode2
)) {
23393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23395 arg2
= static_cast< bool >(val2
);
23397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 result
= (bool)(arg1
)->SetToggle(arg2
);
23399 wxPyEndAllowThreads(__tstate
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23411 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23412 PyObject
*resultobj
= 0;
23413 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23414 wxString
*arg2
= 0 ;
23418 bool temp2
= false ;
23419 PyObject
* obj0
= 0 ;
23420 PyObject
* obj1
= 0 ;
23421 char * kwnames
[] = {
23422 (char *) "self",(char *) "help", NULL
23425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23427 if (!SWIG_IsOK(res1
)) {
23428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23430 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23432 arg2
= wxString_in_helper(obj1
);
23433 if (arg2
== NULL
) SWIG_fail
;
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23459 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23460 PyObject
*resultobj
= 0;
23461 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23462 wxString
*arg2
= 0 ;
23466 bool temp2
= false ;
23467 PyObject
* obj0
= 0 ;
23468 PyObject
* obj1
= 0 ;
23469 char * kwnames
[] = {
23470 (char *) "self",(char *) "help", NULL
23473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23475 if (!SWIG_IsOK(res1
)) {
23476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23478 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23480 arg2
= wxString_in_helper(obj1
);
23481 if (arg2
== NULL
) SWIG_fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23507 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
= 0;
23509 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23510 wxBitmap
*arg2
= 0 ;
23515 PyObject
* obj0
= 0 ;
23516 PyObject
* obj1
= 0 ;
23517 char * kwnames
[] = {
23518 (char *) "self",(char *) "bmp", NULL
23521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23523 if (!SWIG_IsOK(res1
)) {
23524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23526 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23527 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23528 if (!SWIG_IsOK(res2
)) {
23529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23534 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23541 resultobj
= SWIG_Py_Void();
23548 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23549 PyObject
*resultobj
= 0;
23550 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23551 wxBitmap
*arg2
= 0 ;
23556 PyObject
* obj0
= 0 ;
23557 PyObject
* obj1
= 0 ;
23558 char * kwnames
[] = {
23559 (char *) "self",(char *) "bmp", NULL
23562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23564 if (!SWIG_IsOK(res1
)) {
23565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23567 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23568 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23569 if (!SWIG_IsOK(res2
)) {
23570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23575 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_Py_Void();
23589 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23590 PyObject
*resultobj
= 0;
23591 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23592 wxString
*arg2
= 0 ;
23595 bool temp2
= false ;
23596 PyObject
* obj0
= 0 ;
23597 PyObject
* obj1
= 0 ;
23598 char * kwnames
[] = {
23599 (char *) "self",(char *) "label", NULL
23602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23604 if (!SWIG_IsOK(res1
)) {
23605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23607 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23609 arg2
= wxString_in_helper(obj1
);
23610 if (arg2
== NULL
) SWIG_fail
;
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 (arg1
)->SetLabel((wxString
const &)*arg2
);
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= SWIG_Py_Void();
23634 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23635 PyObject
*resultobj
= 0;
23636 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23639 PyObject
*swig_obj
[1] ;
23641 if (!args
) SWIG_fail
;
23642 swig_obj
[0] = args
;
23643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23644 if (!SWIG_IsOK(res1
)) {
23645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23647 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= SWIG_Py_Void();
23661 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
= 0;
23663 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23664 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23669 PyObject
* obj0
= 0 ;
23670 PyObject
* obj1
= 0 ;
23671 char * kwnames
[] = {
23672 (char *) "self",(char *) "tbar", NULL
23675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23677 if (!SWIG_IsOK(res1
)) {
23678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23680 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23681 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23682 if (!SWIG_IsOK(res2
)) {
23683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23685 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 (arg1
)->Attach(arg2
);
23689 wxPyEndAllowThreads(__tstate
);
23690 if (PyErr_Occurred()) SWIG_fail
;
23692 resultobj
= SWIG_Py_Void();
23699 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23700 PyObject
*resultobj
= 0;
23701 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23702 PyObject
*result
= 0 ;
23705 PyObject
*swig_obj
[1] ;
23707 if (!args
) SWIG_fail
;
23708 swig_obj
[0] = args
;
23709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23710 if (!SWIG_IsOK(res1
)) {
23711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23713 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= result
;
23727 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
= 0;
23729 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23730 PyObject
*arg2
= (PyObject
*) 0 ;
23733 PyObject
* obj0
= 0 ;
23734 PyObject
* obj1
= 0 ;
23735 char * kwnames
[] = {
23736 (char *) "self",(char *) "clientData", NULL
23739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23741 if (!SWIG_IsOK(res1
)) {
23742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23744 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23749 wxPyEndAllowThreads(__tstate
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23752 resultobj
= SWIG_Py_Void();
23759 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23762 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23763 return SWIG_Py_Void();
23766 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23767 PyObject
*resultobj
= 0;
23768 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23770 wxString
*arg3
= 0 ;
23771 wxBitmap
*arg4
= 0 ;
23772 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23773 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23774 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23775 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23776 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23777 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23778 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23779 PyObject
*arg9
= (PyObject
*) NULL
;
23780 wxToolBarToolBase
*result
= 0 ;
23785 bool temp3
= false ;
23792 bool temp7
= false ;
23793 bool temp8
= false ;
23794 PyObject
* obj0
= 0 ;
23795 PyObject
* obj1
= 0 ;
23796 PyObject
* obj2
= 0 ;
23797 PyObject
* obj3
= 0 ;
23798 PyObject
* obj4
= 0 ;
23799 PyObject
* obj5
= 0 ;
23800 PyObject
* obj6
= 0 ;
23801 PyObject
* obj7
= 0 ;
23802 PyObject
* obj8
= 0 ;
23803 char * kwnames
[] = {
23804 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23809 if (!SWIG_IsOK(res1
)) {
23810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23812 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23814 if (!SWIG_IsOK(ecode2
)) {
23815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23817 arg2
= static_cast< int >(val2
);
23819 arg3
= wxString_in_helper(obj2
);
23820 if (arg3
== NULL
) SWIG_fail
;
23823 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23824 if (!SWIG_IsOK(res4
)) {
23825 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23830 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23832 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23833 if (!SWIG_IsOK(res5
)) {
23834 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23839 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23842 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23843 if (!SWIG_IsOK(ecode6
)) {
23844 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23846 arg6
= static_cast< wxItemKind
>(val6
);
23850 arg7
= wxString_in_helper(obj6
);
23851 if (arg7
== NULL
) SWIG_fail
;
23857 arg8
= wxString_in_helper(obj7
);
23858 if (arg8
== NULL
) SWIG_fail
;
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23872 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23904 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23905 PyObject
*resultobj
= 0;
23906 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23909 wxString
*arg4
= 0 ;
23910 wxBitmap
*arg5
= 0 ;
23911 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23912 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23913 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23914 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23915 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23916 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23917 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23918 PyObject
*arg10
= (PyObject
*) NULL
;
23919 wxToolBarToolBase
*result
= 0 ;
23926 bool temp4
= false ;
23933 bool temp8
= false ;
23934 bool temp9
= false ;
23935 PyObject
* obj0
= 0 ;
23936 PyObject
* obj1
= 0 ;
23937 PyObject
* obj2
= 0 ;
23938 PyObject
* obj3
= 0 ;
23939 PyObject
* obj4
= 0 ;
23940 PyObject
* obj5
= 0 ;
23941 PyObject
* obj6
= 0 ;
23942 PyObject
* obj7
= 0 ;
23943 PyObject
* obj8
= 0 ;
23944 PyObject
* obj9
= 0 ;
23945 char * kwnames
[] = {
23946 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23951 if (!SWIG_IsOK(res1
)) {
23952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23954 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23955 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23956 if (!SWIG_IsOK(ecode2
)) {
23957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23959 arg2
= static_cast< size_t >(val2
);
23960 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23961 if (!SWIG_IsOK(ecode3
)) {
23962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23964 arg3
= static_cast< int >(val3
);
23966 arg4
= wxString_in_helper(obj3
);
23967 if (arg4
== NULL
) SWIG_fail
;
23970 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23971 if (!SWIG_IsOK(res5
)) {
23972 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23977 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23979 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23980 if (!SWIG_IsOK(res6
)) {
23981 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23986 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23989 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23990 if (!SWIG_IsOK(ecode7
)) {
23991 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23993 arg7
= static_cast< wxItemKind
>(val7
);
23997 arg8
= wxString_in_helper(obj7
);
23998 if (arg8
== NULL
) SWIG_fail
;
24004 arg9
= wxString_in_helper(obj8
);
24005 if (arg9
== NULL
) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24015 wxPyEndAllowThreads(__tstate
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24019 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24051 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24052 PyObject
*resultobj
= 0;
24053 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24054 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24055 wxToolBarToolBase
*result
= 0 ;
24060 PyObject
* obj0
= 0 ;
24061 PyObject
* obj1
= 0 ;
24062 char * kwnames
[] = {
24063 (char *) "self",(char *) "tool", NULL
24066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24068 if (!SWIG_IsOK(res1
)) {
24069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24071 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24073 if (!SWIG_IsOK(res2
)) {
24074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24076 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24084 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24092 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
= 0;
24094 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24096 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24097 wxToolBarToolBase
*result
= 0 ;
24104 PyObject
* obj0
= 0 ;
24105 PyObject
* obj1
= 0 ;
24106 PyObject
* obj2
= 0 ;
24107 char * kwnames
[] = {
24108 (char *) "self",(char *) "pos",(char *) "tool", NULL
24111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24113 if (!SWIG_IsOK(res1
)) {
24114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24116 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24117 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24118 if (!SWIG_IsOK(ecode2
)) {
24119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24121 arg2
= static_cast< size_t >(val2
);
24122 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24123 if (!SWIG_IsOK(res3
)) {
24124 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24126 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24134 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24142 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
= 0;
24144 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24145 wxControl
*arg2
= (wxControl
*) 0 ;
24146 wxToolBarToolBase
*result
= 0 ;
24151 PyObject
* obj0
= 0 ;
24152 PyObject
* obj1
= 0 ;
24153 char * kwnames
[] = {
24154 (char *) "self",(char *) "control", NULL
24157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24159 if (!SWIG_IsOK(res1
)) {
24160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24162 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24164 if (!SWIG_IsOK(res2
)) {
24165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24167 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24171 wxPyEndAllowThreads(__tstate
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24183 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
= 0;
24185 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24187 wxControl
*arg3
= (wxControl
*) 0 ;
24188 wxToolBarToolBase
*result
= 0 ;
24195 PyObject
* obj0
= 0 ;
24196 PyObject
* obj1
= 0 ;
24197 PyObject
* obj2
= 0 ;
24198 char * kwnames
[] = {
24199 (char *) "self",(char *) "pos",(char *) "control", NULL
24202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24204 if (!SWIG_IsOK(res1
)) {
24205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24207 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24208 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24209 if (!SWIG_IsOK(ecode2
)) {
24210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24212 arg2
= static_cast< size_t >(val2
);
24213 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24214 if (!SWIG_IsOK(res3
)) {
24215 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24217 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24225 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24233 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24234 PyObject
*resultobj
= 0;
24235 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24237 wxControl
*result
= 0 ;
24242 PyObject
* obj0
= 0 ;
24243 PyObject
* obj1
= 0 ;
24244 char * kwnames
[] = {
24245 (char *) "self",(char *) "id", NULL
24248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24250 if (!SWIG_IsOK(res1
)) {
24251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24253 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24255 if (!SWIG_IsOK(ecode2
)) {
24256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24258 arg2
= static_cast< int >(val2
);
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24266 resultobj
= wxPyMake_wxObject(result
, 0);
24274 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24275 PyObject
*resultobj
= 0;
24276 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24277 wxToolBarToolBase
*result
= 0 ;
24280 PyObject
*swig_obj
[1] ;
24282 if (!args
) SWIG_fail
;
24283 swig_obj
[0] = args
;
24284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24285 if (!SWIG_IsOK(res1
)) {
24286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24288 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24304 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
= 0;
24306 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24308 wxToolBarToolBase
*result
= 0 ;
24313 PyObject
* obj0
= 0 ;
24314 PyObject
* obj1
= 0 ;
24315 char * kwnames
[] = {
24316 (char *) "self",(char *) "pos", NULL
24319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24321 if (!SWIG_IsOK(res1
)) {
24322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24324 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24325 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24326 if (!SWIG_IsOK(ecode2
)) {
24327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24329 arg2
= static_cast< size_t >(val2
);
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24337 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24345 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24346 PyObject
*resultobj
= 0;
24347 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24349 wxToolBarToolBase
*result
= 0 ;
24354 PyObject
* obj0
= 0 ;
24355 PyObject
* obj1
= 0 ;
24356 char * kwnames
[] = {
24357 (char *) "self",(char *) "id", NULL
24360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24362 if (!SWIG_IsOK(res1
)) {
24363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24365 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24367 if (!SWIG_IsOK(ecode2
)) {
24368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24370 arg2
= static_cast< int >(val2
);
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24374 wxPyEndAllowThreads(__tstate
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24378 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24386 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
= 0;
24388 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24395 PyObject
* obj0
= 0 ;
24396 PyObject
* obj1
= 0 ;
24397 char * kwnames
[] = {
24398 (char *) "self",(char *) "pos", NULL
24401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24403 if (!SWIG_IsOK(res1
)) {
24404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24406 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24407 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24408 if (!SWIG_IsOK(ecode2
)) {
24409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24411 arg2
= static_cast< size_t >(val2
);
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24427 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
= 0;
24429 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24436 PyObject
* obj0
= 0 ;
24437 PyObject
* obj1
= 0 ;
24438 char * kwnames
[] = {
24439 (char *) "self",(char *) "id", NULL
24442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24444 if (!SWIG_IsOK(res1
)) {
24445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24447 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24449 if (!SWIG_IsOK(ecode2
)) {
24450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24452 arg2
= static_cast< int >(val2
);
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 result
= (bool)(arg1
)->DeleteTool(arg2
);
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24468 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24469 PyObject
*resultobj
= 0;
24470 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24473 PyObject
*swig_obj
[1] ;
24475 if (!args
) SWIG_fail
;
24476 swig_obj
[0] = args
;
24477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24478 if (!SWIG_IsOK(res1
)) {
24479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24481 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24484 (arg1
)->ClearTools();
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24488 resultobj
= SWIG_Py_Void();
24495 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24496 PyObject
*resultobj
= 0;
24497 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24501 PyObject
*swig_obj
[1] ;
24503 if (!args
) SWIG_fail
;
24504 swig_obj
[0] = args
;
24505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24506 if (!SWIG_IsOK(res1
)) {
24507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24509 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 result
= (bool)(arg1
)->Realize();
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24525 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24526 PyObject
*resultobj
= 0;
24527 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24536 PyObject
* obj0
= 0 ;
24537 PyObject
* obj1
= 0 ;
24538 PyObject
* obj2
= 0 ;
24539 char * kwnames
[] = {
24540 (char *) "self",(char *) "id",(char *) "enable", NULL
24543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24545 if (!SWIG_IsOK(res1
)) {
24546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24548 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24550 if (!SWIG_IsOK(ecode2
)) {
24551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24553 arg2
= static_cast< int >(val2
);
24554 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24555 if (!SWIG_IsOK(ecode3
)) {
24556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24558 arg3
= static_cast< bool >(val3
);
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 (arg1
)->EnableTool(arg2
,arg3
);
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24565 resultobj
= SWIG_Py_Void();
24572 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24573 PyObject
*resultobj
= 0;
24574 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24583 PyObject
* obj0
= 0 ;
24584 PyObject
* obj1
= 0 ;
24585 PyObject
* obj2
= 0 ;
24586 char * kwnames
[] = {
24587 (char *) "self",(char *) "id",(char *) "toggle", NULL
24590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24592 if (!SWIG_IsOK(res1
)) {
24593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24595 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24597 if (!SWIG_IsOK(ecode2
)) {
24598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24600 arg2
= static_cast< int >(val2
);
24601 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24602 if (!SWIG_IsOK(ecode3
)) {
24603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24605 arg3
= static_cast< bool >(val3
);
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 (arg1
)->ToggleTool(arg2
,arg3
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24612 resultobj
= SWIG_Py_Void();
24619 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
= 0;
24621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24630 PyObject
* obj0
= 0 ;
24631 PyObject
* obj1
= 0 ;
24632 PyObject
* obj2
= 0 ;
24633 char * kwnames
[] = {
24634 (char *) "self",(char *) "id",(char *) "toggle", NULL
24637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24639 if (!SWIG_IsOK(res1
)) {
24640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24642 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24644 if (!SWIG_IsOK(ecode2
)) {
24645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24647 arg2
= static_cast< int >(val2
);
24648 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24649 if (!SWIG_IsOK(ecode3
)) {
24650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24652 arg3
= static_cast< bool >(val3
);
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 (arg1
)->SetToggle(arg2
,arg3
);
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= SWIG_Py_Void();
24666 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24667 PyObject
*resultobj
= 0;
24668 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24670 PyObject
*result
= 0 ;
24675 PyObject
* obj0
= 0 ;
24676 PyObject
* obj1
= 0 ;
24677 char * kwnames
[] = {
24678 (char *) "self",(char *) "id", NULL
24681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24683 if (!SWIG_IsOK(res1
)) {
24684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24686 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24688 if (!SWIG_IsOK(ecode2
)) {
24689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24691 arg2
= static_cast< int >(val2
);
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24695 wxPyEndAllowThreads(__tstate
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24698 resultobj
= result
;
24705 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24706 PyObject
*resultobj
= 0;
24707 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24709 PyObject
*arg3
= (PyObject
*) 0 ;
24714 PyObject
* obj0
= 0 ;
24715 PyObject
* obj1
= 0 ;
24716 PyObject
* obj2
= 0 ;
24717 char * kwnames
[] = {
24718 (char *) "self",(char *) "id",(char *) "clientData", NULL
24721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24723 if (!SWIG_IsOK(res1
)) {
24724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24726 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24728 if (!SWIG_IsOK(ecode2
)) {
24729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24731 arg2
= static_cast< int >(val2
);
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 resultobj
= SWIG_Py_Void();
24746 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
= 0;
24748 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24755 PyObject
* obj0
= 0 ;
24756 PyObject
* obj1
= 0 ;
24757 char * kwnames
[] = {
24758 (char *) "self",(char *) "id", NULL
24761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24763 if (!SWIG_IsOK(res1
)) {
24764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24766 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24768 if (!SWIG_IsOK(ecode2
)) {
24769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24771 arg2
= static_cast< int >(val2
);
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= SWIG_From_int(static_cast< int >(result
));
24785 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24786 PyObject
*resultobj
= 0;
24787 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 char * kwnames
[] = {
24797 (char *) "self",(char *) "id", NULL
24800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24802 if (!SWIG_IsOK(res1
)) {
24803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24805 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24807 if (!SWIG_IsOK(ecode2
)) {
24808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24810 arg2
= static_cast< int >(val2
);
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (bool)(arg1
)->GetToolState(arg2
);
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24826 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
= 0;
24828 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24835 PyObject
* obj0
= 0 ;
24836 PyObject
* obj1
= 0 ;
24837 char * kwnames
[] = {
24838 (char *) "self",(char *) "id", NULL
24841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24843 if (!SWIG_IsOK(res1
)) {
24844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24846 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24848 if (!SWIG_IsOK(ecode2
)) {
24849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24851 arg2
= static_cast< int >(val2
);
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24867 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
= 0;
24869 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24871 wxString
*arg3
= 0 ;
24876 bool temp3
= false ;
24877 PyObject
* obj0
= 0 ;
24878 PyObject
* obj1
= 0 ;
24879 PyObject
* obj2
= 0 ;
24880 char * kwnames
[] = {
24881 (char *) "self",(char *) "id",(char *) "helpString", NULL
24884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24886 if (!SWIG_IsOK(res1
)) {
24887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24889 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24891 if (!SWIG_IsOK(ecode2
)) {
24892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24894 arg2
= static_cast< int >(val2
);
24896 arg3
= wxString_in_helper(obj2
);
24897 if (arg3
== NULL
) SWIG_fail
;
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= SWIG_Py_Void();
24921 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
= 0;
24923 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24930 PyObject
* obj0
= 0 ;
24931 PyObject
* obj1
= 0 ;
24932 char * kwnames
[] = {
24933 (char *) "self",(char *) "id", NULL
24936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24938 if (!SWIG_IsOK(res1
)) {
24939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24941 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24943 if (!SWIG_IsOK(ecode2
)) {
24944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24946 arg2
= static_cast< int >(val2
);
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= (arg1
)->GetToolShortHelp(arg2
);
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24966 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24967 PyObject
*resultobj
= 0;
24968 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24970 wxString
*arg3
= 0 ;
24975 bool temp3
= false ;
24976 PyObject
* obj0
= 0 ;
24977 PyObject
* obj1
= 0 ;
24978 PyObject
* obj2
= 0 ;
24979 char * kwnames
[] = {
24980 (char *) "self",(char *) "id",(char *) "helpString", NULL
24983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24985 if (!SWIG_IsOK(res1
)) {
24986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24988 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24990 if (!SWIG_IsOK(ecode2
)) {
24991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24993 arg2
= static_cast< int >(val2
);
24995 arg3
= wxString_in_helper(obj2
);
24996 if (arg3
== NULL
) SWIG_fail
;
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25002 wxPyEndAllowThreads(__tstate
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= SWIG_Py_Void();
25020 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25021 PyObject
*resultobj
= 0;
25022 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25029 PyObject
* obj0
= 0 ;
25030 PyObject
* obj1
= 0 ;
25031 char * kwnames
[] = {
25032 (char *) "self",(char *) "id", NULL
25035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25037 if (!SWIG_IsOK(res1
)) {
25038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25040 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25042 if (!SWIG_IsOK(ecode2
)) {
25043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25045 arg2
= static_cast< int >(val2
);
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 result
= (arg1
)->GetToolLongHelp(arg2
);
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25065 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
= 0;
25067 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25076 PyObject
* obj0
= 0 ;
25077 PyObject
* obj1
= 0 ;
25078 PyObject
* obj2
= 0 ;
25079 char * kwnames
[] = {
25080 (char *) "self",(char *) "x",(char *) "y", NULL
25083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25085 if (!SWIG_IsOK(res1
)) {
25086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25088 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25090 if (!SWIG_IsOK(ecode2
)) {
25091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25093 arg2
= static_cast< int >(val2
);
25094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25095 if (!SWIG_IsOK(ecode3
)) {
25096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25098 arg3
= static_cast< int >(val3
);
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 (arg1
)->SetMargins(arg2
,arg3
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 resultobj
= SWIG_Py_Void();
25112 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
= 0;
25114 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25119 PyObject
* obj0
= 0 ;
25120 PyObject
* obj1
= 0 ;
25121 char * kwnames
[] = {
25122 (char *) "self",(char *) "size", NULL
25125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25127 if (!SWIG_IsOK(res1
)) {
25128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25130 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25133 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25137 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25138 wxPyEndAllowThreads(__tstate
);
25139 if (PyErr_Occurred()) SWIG_fail
;
25141 resultobj
= SWIG_Py_Void();
25148 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25149 PyObject
*resultobj
= 0;
25150 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25156 PyObject
* obj0
= 0 ;
25157 PyObject
* obj1
= 0 ;
25158 char * kwnames
[] = {
25159 (char *) "self",(char *) "packing", NULL
25162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25164 if (!SWIG_IsOK(res1
)) {
25165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25167 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25169 if (!SWIG_IsOK(ecode2
)) {
25170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25172 arg2
= static_cast< int >(val2
);
25174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25175 (arg1
)->SetToolPacking(arg2
);
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25179 resultobj
= SWIG_Py_Void();
25186 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
= 0;
25188 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25194 PyObject
* obj0
= 0 ;
25195 PyObject
* obj1
= 0 ;
25196 char * kwnames
[] = {
25197 (char *) "self",(char *) "separation", NULL
25200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25202 if (!SWIG_IsOK(res1
)) {
25203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25205 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25207 if (!SWIG_IsOK(ecode2
)) {
25208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25210 arg2
= static_cast< int >(val2
);
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 (arg1
)->SetToolSeparation(arg2
);
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25217 resultobj
= SWIG_Py_Void();
25224 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25225 PyObject
*resultobj
= 0;
25226 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25230 PyObject
*swig_obj
[1] ;
25232 if (!args
) SWIG_fail
;
25233 swig_obj
[0] = args
;
25234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25235 if (!SWIG_IsOK(res1
)) {
25236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25238 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 result
= (arg1
)->GetToolMargins();
25242 wxPyEndAllowThreads(__tstate
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25245 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25252 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25253 PyObject
*resultobj
= 0;
25254 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25258 PyObject
*swig_obj
[1] ;
25260 if (!args
) SWIG_fail
;
25261 swig_obj
[0] = args
;
25262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25263 if (!SWIG_IsOK(res1
)) {
25264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25266 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25269 result
= (arg1
)->GetMargins();
25270 wxPyEndAllowThreads(__tstate
);
25271 if (PyErr_Occurred()) SWIG_fail
;
25273 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25280 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25281 PyObject
*resultobj
= 0;
25282 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25286 PyObject
*swig_obj
[1] ;
25288 if (!args
) SWIG_fail
;
25289 swig_obj
[0] = args
;
25290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25291 if (!SWIG_IsOK(res1
)) {
25292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25294 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= (int)(arg1
)->GetToolPacking();
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 resultobj
= SWIG_From_int(static_cast< int >(result
));
25308 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25309 PyObject
*resultobj
= 0;
25310 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25314 PyObject
*swig_obj
[1] ;
25316 if (!args
) SWIG_fail
;
25317 swig_obj
[0] = args
;
25318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25319 if (!SWIG_IsOK(res1
)) {
25320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25322 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 result
= (int)(arg1
)->GetToolSeparation();
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 resultobj
= SWIG_From_int(static_cast< int >(result
));
25336 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25337 PyObject
*resultobj
= 0;
25338 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25344 PyObject
* obj0
= 0 ;
25345 PyObject
* obj1
= 0 ;
25346 char * kwnames
[] = {
25347 (char *) "self",(char *) "nRows", NULL
25350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25352 if (!SWIG_IsOK(res1
)) {
25353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25355 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25357 if (!SWIG_IsOK(ecode2
)) {
25358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25360 arg2
= static_cast< int >(val2
);
25362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25363 (arg1
)->SetRows(arg2
);
25364 wxPyEndAllowThreads(__tstate
);
25365 if (PyErr_Occurred()) SWIG_fail
;
25367 resultobj
= SWIG_Py_Void();
25374 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25375 PyObject
*resultobj
= 0;
25376 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25385 PyObject
* obj0
= 0 ;
25386 PyObject
* obj1
= 0 ;
25387 PyObject
* obj2
= 0 ;
25388 char * kwnames
[] = {
25389 (char *) "self",(char *) "rows",(char *) "cols", NULL
25392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25394 if (!SWIG_IsOK(res1
)) {
25395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25397 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25399 if (!SWIG_IsOK(ecode2
)) {
25400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25402 arg2
= static_cast< int >(val2
);
25403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25404 if (!SWIG_IsOK(ecode3
)) {
25405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25407 arg3
= static_cast< int >(val3
);
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_Py_Void();
25421 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25422 PyObject
*resultobj
= 0;
25423 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25427 PyObject
*swig_obj
[1] ;
25429 if (!args
) SWIG_fail
;
25430 swig_obj
[0] = args
;
25431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25432 if (!SWIG_IsOK(res1
)) {
25433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25435 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 result
= (int)(arg1
)->GetMaxRows();
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25442 resultobj
= SWIG_From_int(static_cast< int >(result
));
25449 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25450 PyObject
*resultobj
= 0;
25451 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25455 PyObject
*swig_obj
[1] ;
25457 if (!args
) SWIG_fail
;
25458 swig_obj
[0] = args
;
25459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25460 if (!SWIG_IsOK(res1
)) {
25461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25463 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25466 result
= (int)(arg1
)->GetMaxCols();
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25470 resultobj
= SWIG_From_int(static_cast< int >(result
));
25477 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
= 0;
25479 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25484 PyObject
* obj0
= 0 ;
25485 PyObject
* obj1
= 0 ;
25486 char * kwnames
[] = {
25487 (char *) "self",(char *) "size", NULL
25490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25492 if (!SWIG_IsOK(res1
)) {
25493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25495 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25498 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25503 wxPyEndAllowThreads(__tstate
);
25504 if (PyErr_Occurred()) SWIG_fail
;
25506 resultobj
= SWIG_Py_Void();
25513 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25514 PyObject
*resultobj
= 0;
25515 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25519 PyObject
*swig_obj
[1] ;
25521 if (!args
) SWIG_fail
;
25522 swig_obj
[0] = args
;
25523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25524 if (!SWIG_IsOK(res1
)) {
25525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25527 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25530 result
= (arg1
)->GetToolBitmapSize();
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25541 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25542 PyObject
*resultobj
= 0;
25543 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25547 PyObject
*swig_obj
[1] ;
25549 if (!args
) SWIG_fail
;
25550 swig_obj
[0] = args
;
25551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25552 if (!SWIG_IsOK(res1
)) {
25553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25555 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25558 result
= (arg1
)->GetToolSize();
25559 wxPyEndAllowThreads(__tstate
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25562 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25569 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25570 PyObject
*resultobj
= 0;
25571 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25574 wxToolBarToolBase
*result
= 0 ;
25581 PyObject
* obj0
= 0 ;
25582 PyObject
* obj1
= 0 ;
25583 PyObject
* obj2
= 0 ;
25584 char * kwnames
[] = {
25585 (char *) "self",(char *) "x",(char *) "y", NULL
25588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25590 if (!SWIG_IsOK(res1
)) {
25591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25593 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25595 if (!SWIG_IsOK(ecode2
)) {
25596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25598 arg2
= static_cast< int >(val2
);
25599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25600 if (!SWIG_IsOK(ecode3
)) {
25601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25603 arg3
= static_cast< int >(val3
);
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25619 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25620 PyObject
*resultobj
= 0;
25621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25623 wxToolBarToolBase
*result
= 0 ;
25628 PyObject
* obj0
= 0 ;
25629 PyObject
* obj1
= 0 ;
25630 char * kwnames
[] = {
25631 (char *) "self",(char *) "toolid", NULL
25634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25636 if (!SWIG_IsOK(res1
)) {
25637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25639 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25641 if (!SWIG_IsOK(ecode2
)) {
25642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25644 arg2
= static_cast< int >(val2
);
25646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25652 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25660 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25661 PyObject
*resultobj
= 0;
25662 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25666 PyObject
*swig_obj
[1] ;
25668 if (!args
) SWIG_fail
;
25669 swig_obj
[0] = args
;
25670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25671 if (!SWIG_IsOK(res1
)) {
25672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25674 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 result
= (bool)(arg1
)->IsVertical();
25678 wxPyEndAllowThreads(__tstate
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25690 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25691 PyObject
*resultobj
= 0;
25692 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25696 PyObject
*swig_obj
[1] ;
25698 if (!args
) SWIG_fail
;
25699 swig_obj
[0] = args
;
25700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25701 if (!SWIG_IsOK(res1
)) {
25702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25704 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25707 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25708 wxPyEndAllowThreads(__tstate
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25711 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25718 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25721 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25722 return SWIG_Py_Void();
25725 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25726 PyObject
*resultobj
= 0;
25727 wxWindow
*arg1
= (wxWindow
*) 0 ;
25728 int arg2
= (int) -1 ;
25729 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25730 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25731 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25732 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25733 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25734 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25735 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25736 wxToolBar
*result
= 0 ;
25745 bool temp6
= false ;
25746 PyObject
* obj0
= 0 ;
25747 PyObject
* obj1
= 0 ;
25748 PyObject
* obj2
= 0 ;
25749 PyObject
* obj3
= 0 ;
25750 PyObject
* obj4
= 0 ;
25751 PyObject
* obj5
= 0 ;
25752 char * kwnames
[] = {
25753 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25758 if (!SWIG_IsOK(res1
)) {
25759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25761 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25764 if (!SWIG_IsOK(ecode2
)) {
25765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25767 arg2
= static_cast< int >(val2
);
25772 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25778 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25782 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25783 if (!SWIG_IsOK(ecode5
)) {
25784 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25786 arg5
= static_cast< long >(val5
);
25790 arg6
= wxString_in_helper(obj5
);
25791 if (arg6
== NULL
) SWIG_fail
;
25796 if (!wxPyCheckForApp()) SWIG_fail
;
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25799 wxPyEndAllowThreads(__tstate
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25817 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25818 PyObject
*resultobj
= 0;
25819 wxToolBar
*result
= 0 ;
25821 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25823 if (!wxPyCheckForApp()) SWIG_fail
;
25824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 result
= (wxToolBar
*)new wxToolBar();
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25836 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
= 0;
25838 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25839 wxWindow
*arg2
= (wxWindow
*) 0 ;
25840 int arg3
= (int) -1 ;
25841 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25842 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25843 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25844 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25845 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25846 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25847 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25859 bool temp7
= false ;
25860 PyObject
* obj0
= 0 ;
25861 PyObject
* obj1
= 0 ;
25862 PyObject
* obj2
= 0 ;
25863 PyObject
* obj3
= 0 ;
25864 PyObject
* obj4
= 0 ;
25865 PyObject
* obj5
= 0 ;
25866 PyObject
* obj6
= 0 ;
25867 char * kwnames
[] = {
25868 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25873 if (!SWIG_IsOK(res1
)) {
25874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25876 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25877 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25878 if (!SWIG_IsOK(res2
)) {
25879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25881 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25884 if (!SWIG_IsOK(ecode3
)) {
25885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25887 arg3
= static_cast< int >(val3
);
25892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25898 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25902 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25903 if (!SWIG_IsOK(ecode6
)) {
25904 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25906 arg6
= static_cast< long >(val6
);
25910 arg7
= wxString_in_helper(obj6
);
25911 if (arg7
== NULL
) SWIG_fail
;
25916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25917 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25938 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
= 0;
25940 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25941 SwigValueWrapper
<wxVisualAttributes
> result
;
25944 PyObject
* obj0
= 0 ;
25945 char * kwnames
[] = {
25946 (char *) "variant", NULL
25949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25951 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25952 if (!SWIG_IsOK(ecode1
)) {
25953 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25955 arg1
= static_cast< wxWindowVariant
>(val1
);
25958 if (!wxPyCheckForApp()) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25964 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25971 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25973 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25974 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25975 return SWIG_Py_Void();
25978 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25979 return SWIG_Python_InitShadowInstance(args
);
25982 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25983 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25988 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25989 PyObject
*pyobj
= 0;
25993 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25995 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26002 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26003 PyObject
*resultobj
= 0;
26004 wxColour
const &arg1_defvalue
= wxNullColour
;
26005 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26006 wxColour
const &arg2_defvalue
= wxNullColour
;
26007 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26008 wxFont
const &arg3_defvalue
= wxNullFont
;
26009 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26010 wxListItemAttr
*result
= 0 ;
26015 PyObject
* obj0
= 0 ;
26016 PyObject
* obj1
= 0 ;
26017 PyObject
* obj2
= 0 ;
26018 char * kwnames
[] = {
26019 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26026 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26032 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26036 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26037 if (!SWIG_IsOK(res3
)) {
26038 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26043 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26058 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26059 PyObject
*resultobj
= 0;
26060 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26063 PyObject
*swig_obj
[1] ;
26065 if (!args
) SWIG_fail
;
26066 swig_obj
[0] = args
;
26067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26068 if (!SWIG_IsOK(res1
)) {
26069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26071 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26079 resultobj
= SWIG_Py_Void();
26086 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26087 PyObject
*resultobj
= 0;
26088 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26089 wxColour
*arg2
= 0 ;
26093 PyObject
* obj0
= 0 ;
26094 PyObject
* obj1
= 0 ;
26095 char * kwnames
[] = {
26096 (char *) "self",(char *) "colText", NULL
26099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26101 if (!SWIG_IsOK(res1
)) {
26102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26104 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26107 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26111 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26112 wxPyEndAllowThreads(__tstate
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= SWIG_Py_Void();
26122 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26123 PyObject
*resultobj
= 0;
26124 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26125 wxColour
*arg2
= 0 ;
26129 PyObject
* obj0
= 0 ;
26130 PyObject
* obj1
= 0 ;
26131 char * kwnames
[] = {
26132 (char *) "self",(char *) "colBack", NULL
26135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26137 if (!SWIG_IsOK(res1
)) {
26138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26140 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26143 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26151 resultobj
= SWIG_Py_Void();
26158 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
= 0;
26160 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26166 PyObject
* obj0
= 0 ;
26167 PyObject
* obj1
= 0 ;
26168 char * kwnames
[] = {
26169 (char *) "self",(char *) "font", NULL
26172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26174 if (!SWIG_IsOK(res1
)) {
26175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26177 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26179 if (!SWIG_IsOK(res2
)) {
26180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26185 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 (arg1
)->SetFont((wxFont
const &)*arg2
);
26189 wxPyEndAllowThreads(__tstate
);
26190 if (PyErr_Occurred()) SWIG_fail
;
26192 resultobj
= SWIG_Py_Void();
26199 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26200 PyObject
*resultobj
= 0;
26201 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26205 PyObject
*swig_obj
[1] ;
26207 if (!args
) SWIG_fail
;
26208 swig_obj
[0] = args
;
26209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26210 if (!SWIG_IsOK(res1
)) {
26211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26213 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26216 result
= (bool)(arg1
)->HasTextColour();
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26229 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26230 PyObject
*resultobj
= 0;
26231 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26235 PyObject
*swig_obj
[1] ;
26237 if (!args
) SWIG_fail
;
26238 swig_obj
[0] = args
;
26239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26240 if (!SWIG_IsOK(res1
)) {
26241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26243 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 result
= (bool)(arg1
)->HasBackgroundColour();
26247 wxPyEndAllowThreads(__tstate
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26259 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26260 PyObject
*resultobj
= 0;
26261 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26265 PyObject
*swig_obj
[1] ;
26267 if (!args
) SWIG_fail
;
26268 swig_obj
[0] = args
;
26269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26270 if (!SWIG_IsOK(res1
)) {
26271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26273 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 result
= (bool)(arg1
)->HasFont();
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26289 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26290 PyObject
*resultobj
= 0;
26291 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26295 PyObject
*swig_obj
[1] ;
26297 if (!args
) SWIG_fail
;
26298 swig_obj
[0] = args
;
26299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26300 if (!SWIG_IsOK(res1
)) {
26301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26303 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26306 result
= (arg1
)->GetTextColour();
26307 wxPyEndAllowThreads(__tstate
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26310 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26317 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26318 PyObject
*resultobj
= 0;
26319 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26323 PyObject
*swig_obj
[1] ;
26325 if (!args
) SWIG_fail
;
26326 swig_obj
[0] = args
;
26327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26328 if (!SWIG_IsOK(res1
)) {
26329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26331 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26334 result
= (arg1
)->GetBackgroundColour();
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26345 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26346 PyObject
*resultobj
= 0;
26347 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26351 PyObject
*swig_obj
[1] ;
26353 if (!args
) SWIG_fail
;
26354 swig_obj
[0] = args
;
26355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26356 if (!SWIG_IsOK(res1
)) {
26357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26359 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 result
= (arg1
)->GetFont();
26363 wxPyEndAllowThreads(__tstate
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26366 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26373 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26374 PyObject
*resultobj
= 0;
26375 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26376 wxListItemAttr
*arg2
= 0 ;
26381 PyObject
* obj0
= 0 ;
26382 PyObject
* obj1
= 0 ;
26383 char * kwnames
[] = {
26384 (char *) "self",(char *) "source", NULL
26387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26389 if (!SWIG_IsOK(res1
)) {
26390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26392 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26393 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26394 if (!SWIG_IsOK(res2
)) {
26395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26400 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26404 wxPyEndAllowThreads(__tstate
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26407 resultobj
= SWIG_Py_Void();
26414 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26415 PyObject
*resultobj
= 0;
26416 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26419 PyObject
*swig_obj
[1] ;
26421 if (!args
) SWIG_fail
;
26422 swig_obj
[0] = args
;
26423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26424 if (!SWIG_IsOK(res1
)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26427 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26430 wxListItemAttr_Destroy(arg1
);
26431 wxPyEndAllowThreads(__tstate
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26434 resultobj
= SWIG_Py_Void();
26441 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26443 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26444 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26445 return SWIG_Py_Void();
26448 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26449 return SWIG_Python_InitShadowInstance(args
);
26452 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26453 PyObject
*resultobj
= 0;
26454 wxListItem
*result
= 0 ;
26456 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26459 result
= (wxListItem
*)new wxListItem();
26460 wxPyEndAllowThreads(__tstate
);
26461 if (PyErr_Occurred()) SWIG_fail
;
26463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26470 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26471 PyObject
*resultobj
= 0;
26472 wxListItem
*arg1
= (wxListItem
*) 0 ;
26475 PyObject
*swig_obj
[1] ;
26477 if (!args
) SWIG_fail
;
26478 swig_obj
[0] = args
;
26479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26480 if (!SWIG_IsOK(res1
)) {
26481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26483 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26491 resultobj
= SWIG_Py_Void();
26498 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26499 PyObject
*resultobj
= 0;
26500 wxListItem
*arg1
= (wxListItem
*) 0 ;
26503 PyObject
*swig_obj
[1] ;
26505 if (!args
) SWIG_fail
;
26506 swig_obj
[0] = args
;
26507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26508 if (!SWIG_IsOK(res1
)) {
26509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26511 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 wxPyEndAllowThreads(__tstate
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26518 resultobj
= SWIG_Py_Void();
26525 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26526 PyObject
*resultobj
= 0;
26527 wxListItem
*arg1
= (wxListItem
*) 0 ;
26530 PyObject
*swig_obj
[1] ;
26532 if (!args
) SWIG_fail
;
26533 swig_obj
[0] = args
;
26534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26535 if (!SWIG_IsOK(res1
)) {
26536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26538 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 (arg1
)->ClearAttributes();
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 resultobj
= SWIG_Py_Void();
26552 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
= 0;
26554 wxListItem
*arg1
= (wxListItem
*) 0 ;
26560 PyObject
* obj0
= 0 ;
26561 PyObject
* obj1
= 0 ;
26562 char * kwnames
[] = {
26563 (char *) "self",(char *) "mask", NULL
26566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26568 if (!SWIG_IsOK(res1
)) {
26569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26571 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26572 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26573 if (!SWIG_IsOK(ecode2
)) {
26574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26576 arg2
= static_cast< long >(val2
);
26578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26579 (arg1
)->SetMask(arg2
);
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26583 resultobj
= SWIG_Py_Void();
26590 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
= 0;
26592 wxListItem
*arg1
= (wxListItem
*) 0 ;
26598 PyObject
* obj0
= 0 ;
26599 PyObject
* obj1
= 0 ;
26600 char * kwnames
[] = {
26601 (char *) "self",(char *) "id", NULL
26604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26606 if (!SWIG_IsOK(res1
)) {
26607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26609 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26610 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26611 if (!SWIG_IsOK(ecode2
)) {
26612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26614 arg2
= static_cast< long >(val2
);
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 (arg1
)->SetId(arg2
);
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= SWIG_Py_Void();
26628 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(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 *) "col", NULL
26642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",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_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26647 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26649 if (!SWIG_IsOK(ecode2
)) {
26650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26652 arg2
= static_cast< int >(val2
);
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26655 (arg1
)->SetColumn(arg2
);
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26659 resultobj
= SWIG_Py_Void();
26666 SWIGINTERN PyObject
*_wrap_ListItem_SetState(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 *) "state", NULL
26680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",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_SetState" "', 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_SetState" "', expected argument " "2"" of type '" "long""'");
26690 arg2
= static_cast< long >(val2
);
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 (arg1
)->SetState(arg2
);
26694 wxPyEndAllowThreads(__tstate
);
26695 if (PyErr_Occurred()) SWIG_fail
;
26697 resultobj
= SWIG_Py_Void();
26704 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(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 *) "stateMask", NULL
26718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",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_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26723 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26724 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26725 if (!SWIG_IsOK(ecode2
)) {
26726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26728 arg2
= static_cast< long >(val2
);
26730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26731 (arg1
)->SetStateMask(arg2
);
26732 wxPyEndAllowThreads(__tstate
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26735 resultobj
= SWIG_Py_Void();
26742 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26743 PyObject
*resultobj
= 0;
26744 wxListItem
*arg1
= (wxListItem
*) 0 ;
26745 wxString
*arg2
= 0 ;
26748 bool temp2
= false ;
26749 PyObject
* obj0
= 0 ;
26750 PyObject
* obj1
= 0 ;
26751 char * kwnames
[] = {
26752 (char *) "self",(char *) "text", NULL
26755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26757 if (!SWIG_IsOK(res1
)) {
26758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26760 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26762 arg2
= wxString_in_helper(obj1
);
26763 if (arg2
== NULL
) SWIG_fail
;
26767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26768 (arg1
)->SetText((wxString
const &)*arg2
);
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26772 resultobj
= SWIG_Py_Void();
26787 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
= 0;
26789 wxListItem
*arg1
= (wxListItem
*) 0 ;
26795 PyObject
* obj0
= 0 ;
26796 PyObject
* obj1
= 0 ;
26797 char * kwnames
[] = {
26798 (char *) "self",(char *) "image", NULL
26801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26803 if (!SWIG_IsOK(res1
)) {
26804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26806 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26808 if (!SWIG_IsOK(ecode2
)) {
26809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26811 arg2
= static_cast< int >(val2
);
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 (arg1
)->SetImage(arg2
);
26815 wxPyEndAllowThreads(__tstate
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26818 resultobj
= SWIG_Py_Void();
26825 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26826 PyObject
*resultobj
= 0;
26827 wxListItem
*arg1
= (wxListItem
*) 0 ;
26833 PyObject
* obj0
= 0 ;
26834 PyObject
* obj1
= 0 ;
26835 char * kwnames
[] = {
26836 (char *) "self",(char *) "data", NULL
26839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26841 if (!SWIG_IsOK(res1
)) {
26842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26844 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26845 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26846 if (!SWIG_IsOK(ecode2
)) {
26847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26849 arg2
= static_cast< long >(val2
);
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26852 (arg1
)->SetData(arg2
);
26853 wxPyEndAllowThreads(__tstate
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26856 resultobj
= SWIG_Py_Void();
26863 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(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 *) "width", NULL
26877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",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_SetWidth" "', 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_SetWidth" "', expected argument " "2"" of type '" "int""'");
26887 arg2
= static_cast< int >(val2
);
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26890 (arg1
)->SetWidth(arg2
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26894 resultobj
= SWIG_Py_Void();
26901 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
= 0;
26903 wxListItem
*arg1
= (wxListItem
*) 0 ;
26904 wxListColumnFormat arg2
;
26909 PyObject
* obj0
= 0 ;
26910 PyObject
* obj1
= 0 ;
26911 char * kwnames
[] = {
26912 (char *) "self",(char *) "align", NULL
26915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",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_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26920 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26922 if (!SWIG_IsOK(ecode2
)) {
26923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26925 arg2
= static_cast< wxListColumnFormat
>(val2
);
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 (arg1
)->SetAlign(arg2
);
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26932 resultobj
= SWIG_Py_Void();
26939 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26940 PyObject
*resultobj
= 0;
26941 wxListItem
*arg1
= (wxListItem
*) 0 ;
26942 wxColour
*arg2
= 0 ;
26946 PyObject
* obj0
= 0 ;
26947 PyObject
* obj1
= 0 ;
26948 char * kwnames
[] = {
26949 (char *) "self",(char *) "colText", NULL
26952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26954 if (!SWIG_IsOK(res1
)) {
26955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26957 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26960 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26964 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= SWIG_Py_Void();
26975 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
= 0;
26977 wxListItem
*arg1
= (wxListItem
*) 0 ;
26978 wxColour
*arg2
= 0 ;
26982 PyObject
* obj0
= 0 ;
26983 PyObject
* obj1
= 0 ;
26984 char * kwnames
[] = {
26985 (char *) "self",(char *) "colBack", NULL
26988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26990 if (!SWIG_IsOK(res1
)) {
26991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26993 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26996 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 resultobj
= SWIG_Py_Void();
27011 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
= 0;
27013 wxListItem
*arg1
= (wxListItem
*) 0 ;
27019 PyObject
* obj0
= 0 ;
27020 PyObject
* obj1
= 0 ;
27021 char * kwnames
[] = {
27022 (char *) "self",(char *) "font", NULL
27025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27027 if (!SWIG_IsOK(res1
)) {
27028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27030 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27031 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27032 if (!SWIG_IsOK(res2
)) {
27033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27038 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27041 (arg1
)->SetFont((wxFont
const &)*arg2
);
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= SWIG_Py_Void();
27052 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27053 PyObject
*resultobj
= 0;
27054 wxListItem
*arg1
= (wxListItem
*) 0 ;
27058 PyObject
*swig_obj
[1] ;
27060 if (!args
) SWIG_fail
;
27061 swig_obj
[0] = args
;
27062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27063 if (!SWIG_IsOK(res1
)) {
27064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27066 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 result
= (long)(arg1
)->GetMask();
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27073 resultobj
= SWIG_From_long(static_cast< long >(result
));
27080 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27081 PyObject
*resultobj
= 0;
27082 wxListItem
*arg1
= (wxListItem
*) 0 ;
27086 PyObject
*swig_obj
[1] ;
27088 if (!args
) SWIG_fail
;
27089 swig_obj
[0] = args
;
27090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27091 if (!SWIG_IsOK(res1
)) {
27092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27094 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27097 result
= (long)(arg1
)->GetId();
27098 wxPyEndAllowThreads(__tstate
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27101 resultobj
= SWIG_From_long(static_cast< long >(result
));
27108 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27109 PyObject
*resultobj
= 0;
27110 wxListItem
*arg1
= (wxListItem
*) 0 ;
27114 PyObject
*swig_obj
[1] ;
27116 if (!args
) SWIG_fail
;
27117 swig_obj
[0] = args
;
27118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27119 if (!SWIG_IsOK(res1
)) {
27120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27122 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27125 result
= (int)(arg1
)->GetColumn();
27126 wxPyEndAllowThreads(__tstate
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27129 resultobj
= SWIG_From_int(static_cast< int >(result
));
27136 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27137 PyObject
*resultobj
= 0;
27138 wxListItem
*arg1
= (wxListItem
*) 0 ;
27142 PyObject
*swig_obj
[1] ;
27144 if (!args
) SWIG_fail
;
27145 swig_obj
[0] = args
;
27146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27147 if (!SWIG_IsOK(res1
)) {
27148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27150 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27153 result
= (long)(arg1
)->GetState();
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= SWIG_From_long(static_cast< long >(result
));
27164 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27165 PyObject
*resultobj
= 0;
27166 wxListItem
*arg1
= (wxListItem
*) 0 ;
27167 wxString
*result
= 0 ;
27170 PyObject
*swig_obj
[1] ;
27172 if (!args
) SWIG_fail
;
27173 swig_obj
[0] = args
;
27174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27175 if (!SWIG_IsOK(res1
)) {
27176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27178 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27182 wxString
const &_result_ref
= (arg1
)->GetText();
27183 result
= (wxString
*) &_result_ref
;
27185 wxPyEndAllowThreads(__tstate
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27190 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27192 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27201 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27202 PyObject
*resultobj
= 0;
27203 wxListItem
*arg1
= (wxListItem
*) 0 ;
27207 PyObject
*swig_obj
[1] ;
27209 if (!args
) SWIG_fail
;
27210 swig_obj
[0] = args
;
27211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27212 if (!SWIG_IsOK(res1
)) {
27213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27215 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27218 result
= (int)(arg1
)->GetImage();
27219 wxPyEndAllowThreads(__tstate
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27222 resultobj
= SWIG_From_int(static_cast< int >(result
));
27229 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27230 PyObject
*resultobj
= 0;
27231 wxListItem
*arg1
= (wxListItem
*) 0 ;
27235 PyObject
*swig_obj
[1] ;
27237 if (!args
) SWIG_fail
;
27238 swig_obj
[0] = args
;
27239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27240 if (!SWIG_IsOK(res1
)) {
27241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27243 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27246 result
= (long)(arg1
)->GetData();
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 resultobj
= SWIG_From_long(static_cast< long >(result
));
27257 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27258 PyObject
*resultobj
= 0;
27259 wxListItem
*arg1
= (wxListItem
*) 0 ;
27263 PyObject
*swig_obj
[1] ;
27265 if (!args
) SWIG_fail
;
27266 swig_obj
[0] = args
;
27267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27268 if (!SWIG_IsOK(res1
)) {
27269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27271 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27274 result
= (int)(arg1
)->GetWidth();
27275 wxPyEndAllowThreads(__tstate
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27278 resultobj
= SWIG_From_int(static_cast< int >(result
));
27285 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27286 PyObject
*resultobj
= 0;
27287 wxListItem
*arg1
= (wxListItem
*) 0 ;
27288 wxListColumnFormat result
;
27291 PyObject
*swig_obj
[1] ;
27293 if (!args
) SWIG_fail
;
27294 swig_obj
[0] = args
;
27295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27296 if (!SWIG_IsOK(res1
)) {
27297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27299 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 resultobj
= SWIG_From_int(static_cast< int >(result
));
27313 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27314 PyObject
*resultobj
= 0;
27315 wxListItem
*arg1
= (wxListItem
*) 0 ;
27316 wxListItemAttr
*result
= 0 ;
27319 PyObject
*swig_obj
[1] ;
27321 if (!args
) SWIG_fail
;
27322 swig_obj
[0] = args
;
27323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27324 if (!SWIG_IsOK(res1
)) {
27325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27327 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27341 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27342 PyObject
*resultobj
= 0;
27343 wxListItem
*arg1
= (wxListItem
*) 0 ;
27347 PyObject
*swig_obj
[1] ;
27349 if (!args
) SWIG_fail
;
27350 swig_obj
[0] = args
;
27351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27352 if (!SWIG_IsOK(res1
)) {
27353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27355 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 result
= (bool)(arg1
)->HasAttributes();
27359 wxPyEndAllowThreads(__tstate
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27371 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27372 PyObject
*resultobj
= 0;
27373 wxListItem
*arg1
= (wxListItem
*) 0 ;
27377 PyObject
*swig_obj
[1] ;
27379 if (!args
) SWIG_fail
;
27380 swig_obj
[0] = args
;
27381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27382 if (!SWIG_IsOK(res1
)) {
27383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27385 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27389 wxPyEndAllowThreads(__tstate
);
27390 if (PyErr_Occurred()) SWIG_fail
;
27392 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27399 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27400 PyObject
*resultobj
= 0;
27401 wxListItem
*arg1
= (wxListItem
*) 0 ;
27405 PyObject
*swig_obj
[1] ;
27407 if (!args
) SWIG_fail
;
27408 swig_obj
[0] = args
;
27409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27410 if (!SWIG_IsOK(res1
)) {
27411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27413 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27417 wxPyEndAllowThreads(__tstate
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27427 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27428 PyObject
*resultobj
= 0;
27429 wxListItem
*arg1
= (wxListItem
*) 0 ;
27433 PyObject
*swig_obj
[1] ;
27435 if (!args
) SWIG_fail
;
27436 swig_obj
[0] = args
;
27437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27438 if (!SWIG_IsOK(res1
)) {
27439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27441 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= ((wxListItem
const *)arg1
)->GetFont();
27445 wxPyEndAllowThreads(__tstate
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27448 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27455 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27456 PyObject
*resultobj
= 0;
27457 wxListItem
*arg1
= (wxListItem
*) 0 ;
27463 PyObject
*swig_obj
[2] ;
27465 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27467 if (!SWIG_IsOK(res1
)) {
27468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27470 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27471 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27472 if (!SWIG_IsOK(ecode2
)) {
27473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27475 arg2
= static_cast< long >(val2
);
27476 if (arg1
) (arg1
)->m_mask
= arg2
;
27478 resultobj
= SWIG_Py_Void();
27485 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27486 PyObject
*resultobj
= 0;
27487 wxListItem
*arg1
= (wxListItem
*) 0 ;
27491 PyObject
*swig_obj
[1] ;
27493 if (!args
) SWIG_fail
;
27494 swig_obj
[0] = args
;
27495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27496 if (!SWIG_IsOK(res1
)) {
27497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27499 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27500 result
= (long) ((arg1
)->m_mask
);
27501 resultobj
= SWIG_From_long(static_cast< long >(result
));
27508 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27509 PyObject
*resultobj
= 0;
27510 wxListItem
*arg1
= (wxListItem
*) 0 ;
27516 PyObject
*swig_obj
[2] ;
27518 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27520 if (!SWIG_IsOK(res1
)) {
27521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27523 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27524 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27525 if (!SWIG_IsOK(ecode2
)) {
27526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27528 arg2
= static_cast< long >(val2
);
27529 if (arg1
) (arg1
)->m_itemId
= arg2
;
27531 resultobj
= SWIG_Py_Void();
27538 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27539 PyObject
*resultobj
= 0;
27540 wxListItem
*arg1
= (wxListItem
*) 0 ;
27544 PyObject
*swig_obj
[1] ;
27546 if (!args
) SWIG_fail
;
27547 swig_obj
[0] = args
;
27548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27549 if (!SWIG_IsOK(res1
)) {
27550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27552 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27553 result
= (long) ((arg1
)->m_itemId
);
27554 resultobj
= SWIG_From_long(static_cast< long >(result
));
27561 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27562 PyObject
*resultobj
= 0;
27563 wxListItem
*arg1
= (wxListItem
*) 0 ;
27569 PyObject
*swig_obj
[2] ;
27571 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27573 if (!SWIG_IsOK(res1
)) {
27574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27576 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27577 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27578 if (!SWIG_IsOK(ecode2
)) {
27579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27581 arg2
= static_cast< int >(val2
);
27582 if (arg1
) (arg1
)->m_col
= arg2
;
27584 resultobj
= SWIG_Py_Void();
27591 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27592 PyObject
*resultobj
= 0;
27593 wxListItem
*arg1
= (wxListItem
*) 0 ;
27597 PyObject
*swig_obj
[1] ;
27599 if (!args
) SWIG_fail
;
27600 swig_obj
[0] = args
;
27601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27602 if (!SWIG_IsOK(res1
)) {
27603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27605 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27606 result
= (int) ((arg1
)->m_col
);
27607 resultobj
= SWIG_From_int(static_cast< int >(result
));
27614 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27615 PyObject
*resultobj
= 0;
27616 wxListItem
*arg1
= (wxListItem
*) 0 ;
27622 PyObject
*swig_obj
[2] ;
27624 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27626 if (!SWIG_IsOK(res1
)) {
27627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27629 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27630 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27631 if (!SWIG_IsOK(ecode2
)) {
27632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27634 arg2
= static_cast< long >(val2
);
27635 if (arg1
) (arg1
)->m_state
= arg2
;
27637 resultobj
= SWIG_Py_Void();
27644 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27645 PyObject
*resultobj
= 0;
27646 wxListItem
*arg1
= (wxListItem
*) 0 ;
27650 PyObject
*swig_obj
[1] ;
27652 if (!args
) SWIG_fail
;
27653 swig_obj
[0] = args
;
27654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27655 if (!SWIG_IsOK(res1
)) {
27656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27658 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27659 result
= (long) ((arg1
)->m_state
);
27660 resultobj
= SWIG_From_long(static_cast< long >(result
));
27667 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27668 PyObject
*resultobj
= 0;
27669 wxListItem
*arg1
= (wxListItem
*) 0 ;
27675 PyObject
*swig_obj
[2] ;
27677 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27679 if (!SWIG_IsOK(res1
)) {
27680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27682 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27683 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27684 if (!SWIG_IsOK(ecode2
)) {
27685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27687 arg2
= static_cast< long >(val2
);
27688 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27690 resultobj
= SWIG_Py_Void();
27697 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27698 PyObject
*resultobj
= 0;
27699 wxListItem
*arg1
= (wxListItem
*) 0 ;
27703 PyObject
*swig_obj
[1] ;
27705 if (!args
) SWIG_fail
;
27706 swig_obj
[0] = args
;
27707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27708 if (!SWIG_IsOK(res1
)) {
27709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27711 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27712 result
= (long) ((arg1
)->m_stateMask
);
27713 resultobj
= SWIG_From_long(static_cast< long >(result
));
27720 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27721 PyObject
*resultobj
= 0;
27722 wxListItem
*arg1
= (wxListItem
*) 0 ;
27723 wxString
*arg2
= (wxString
*) 0 ;
27726 bool temp2
= false ;
27727 PyObject
*swig_obj
[2] ;
27729 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
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_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27734 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27736 arg2
= wxString_in_helper(swig_obj
[1]);
27737 if (arg2
== NULL
) SWIG_fail
;
27740 if (arg1
) (arg1
)->m_text
= *arg2
;
27742 resultobj
= SWIG_Py_Void();
27757 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27758 PyObject
*resultobj
= 0;
27759 wxListItem
*arg1
= (wxListItem
*) 0 ;
27760 wxString
*result
= 0 ;
27763 PyObject
*swig_obj
[1] ;
27765 if (!args
) SWIG_fail
;
27766 swig_obj
[0] = args
;
27767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27768 if (!SWIG_IsOK(res1
)) {
27769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27771 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27772 result
= (wxString
*)& ((arg1
)->m_text
);
27775 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27777 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27786 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27787 PyObject
*resultobj
= 0;
27788 wxListItem
*arg1
= (wxListItem
*) 0 ;
27794 PyObject
*swig_obj
[2] ;
27796 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27798 if (!SWIG_IsOK(res1
)) {
27799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27801 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27802 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27803 if (!SWIG_IsOK(ecode2
)) {
27804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27806 arg2
= static_cast< int >(val2
);
27807 if (arg1
) (arg1
)->m_image
= arg2
;
27809 resultobj
= SWIG_Py_Void();
27816 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27817 PyObject
*resultobj
= 0;
27818 wxListItem
*arg1
= (wxListItem
*) 0 ;
27822 PyObject
*swig_obj
[1] ;
27824 if (!args
) SWIG_fail
;
27825 swig_obj
[0] = args
;
27826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27827 if (!SWIG_IsOK(res1
)) {
27828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27830 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27831 result
= (int) ((arg1
)->m_image
);
27832 resultobj
= SWIG_From_int(static_cast< int >(result
));
27839 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27840 PyObject
*resultobj
= 0;
27841 wxListItem
*arg1
= (wxListItem
*) 0 ;
27847 PyObject
*swig_obj
[2] ;
27849 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27851 if (!SWIG_IsOK(res1
)) {
27852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27854 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27855 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27856 if (!SWIG_IsOK(ecode2
)) {
27857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27859 arg2
= static_cast< long >(val2
);
27860 if (arg1
) (arg1
)->m_data
= arg2
;
27862 resultobj
= SWIG_Py_Void();
27869 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27870 PyObject
*resultobj
= 0;
27871 wxListItem
*arg1
= (wxListItem
*) 0 ;
27875 PyObject
*swig_obj
[1] ;
27877 if (!args
) SWIG_fail
;
27878 swig_obj
[0] = args
;
27879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27880 if (!SWIG_IsOK(res1
)) {
27881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27883 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27884 result
= (long) ((arg1
)->m_data
);
27885 resultobj
= SWIG_From_long(static_cast< long >(result
));
27892 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27893 PyObject
*resultobj
= 0;
27894 wxListItem
*arg1
= (wxListItem
*) 0 ;
27900 PyObject
*swig_obj
[2] ;
27902 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27904 if (!SWIG_IsOK(res1
)) {
27905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27907 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27908 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27909 if (!SWIG_IsOK(ecode2
)) {
27910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27912 arg2
= static_cast< int >(val2
);
27913 if (arg1
) (arg1
)->m_format
= arg2
;
27915 resultobj
= SWIG_Py_Void();
27922 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27923 PyObject
*resultobj
= 0;
27924 wxListItem
*arg1
= (wxListItem
*) 0 ;
27928 PyObject
*swig_obj
[1] ;
27930 if (!args
) SWIG_fail
;
27931 swig_obj
[0] = args
;
27932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27933 if (!SWIG_IsOK(res1
)) {
27934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27936 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27937 result
= (int) ((arg1
)->m_format
);
27938 resultobj
= SWIG_From_int(static_cast< int >(result
));
27945 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27946 PyObject
*resultobj
= 0;
27947 wxListItem
*arg1
= (wxListItem
*) 0 ;
27953 PyObject
*swig_obj
[2] ;
27955 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27957 if (!SWIG_IsOK(res1
)) {
27958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27960 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27961 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27962 if (!SWIG_IsOK(ecode2
)) {
27963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27965 arg2
= static_cast< int >(val2
);
27966 if (arg1
) (arg1
)->m_width
= arg2
;
27968 resultobj
= SWIG_Py_Void();
27975 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27976 PyObject
*resultobj
= 0;
27977 wxListItem
*arg1
= (wxListItem
*) 0 ;
27981 PyObject
*swig_obj
[1] ;
27983 if (!args
) SWIG_fail
;
27984 swig_obj
[0] = args
;
27985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27986 if (!SWIG_IsOK(res1
)) {
27987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27989 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27990 result
= (int) ((arg1
)->m_width
);
27991 resultobj
= SWIG_From_int(static_cast< int >(result
));
27998 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28000 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28001 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28002 return SWIG_Py_Void();
28005 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28006 return SWIG_Python_InitShadowInstance(args
);
28009 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28010 PyObject
*resultobj
= 0;
28011 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28012 int arg2
= (int) 0 ;
28013 wxListEvent
*result
= 0 ;
28018 PyObject
* obj0
= 0 ;
28019 PyObject
* obj1
= 0 ;
28020 char * kwnames
[] = {
28021 (char *) "commandType",(char *) "id", NULL
28024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28026 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28027 if (!SWIG_IsOK(ecode1
)) {
28028 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28030 arg1
= static_cast< wxEventType
>(val1
);
28033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28034 if (!SWIG_IsOK(ecode2
)) {
28035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28037 arg2
= static_cast< int >(val2
);
28040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28041 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28042 wxPyEndAllowThreads(__tstate
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28052 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28053 PyObject
*resultobj
= 0;
28054 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28060 PyObject
*swig_obj
[2] ;
28062 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28064 if (!SWIG_IsOK(res1
)) {
28065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28067 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28068 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28069 if (!SWIG_IsOK(ecode2
)) {
28070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28072 arg2
= static_cast< int >(val2
);
28073 if (arg1
) (arg1
)->m_code
= arg2
;
28075 resultobj
= SWIG_Py_Void();
28082 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28083 PyObject
*resultobj
= 0;
28084 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28088 PyObject
*swig_obj
[1] ;
28090 if (!args
) SWIG_fail
;
28091 swig_obj
[0] = args
;
28092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28093 if (!SWIG_IsOK(res1
)) {
28094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28096 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28097 result
= (int) ((arg1
)->m_code
);
28098 resultobj
= SWIG_From_int(static_cast< int >(result
));
28105 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28106 PyObject
*resultobj
= 0;
28107 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28113 PyObject
*swig_obj
[2] ;
28115 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28117 if (!SWIG_IsOK(res1
)) {
28118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28120 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28121 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28122 if (!SWIG_IsOK(ecode2
)) {
28123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28125 arg2
= static_cast< long >(val2
);
28126 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28128 resultobj
= SWIG_Py_Void();
28135 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28136 PyObject
*resultobj
= 0;
28137 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28141 PyObject
*swig_obj
[1] ;
28143 if (!args
) SWIG_fail
;
28144 swig_obj
[0] = args
;
28145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28146 if (!SWIG_IsOK(res1
)) {
28147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28149 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28150 result
= (long) ((arg1
)->m_oldItemIndex
);
28151 resultobj
= SWIG_From_long(static_cast< long >(result
));
28158 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28159 PyObject
*resultobj
= 0;
28160 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28166 PyObject
*swig_obj
[2] ;
28168 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28170 if (!SWIG_IsOK(res1
)) {
28171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28173 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28174 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28175 if (!SWIG_IsOK(ecode2
)) {
28176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28178 arg2
= static_cast< long >(val2
);
28179 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28181 resultobj
= SWIG_Py_Void();
28188 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28189 PyObject
*resultobj
= 0;
28190 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28194 PyObject
*swig_obj
[1] ;
28196 if (!args
) SWIG_fail
;
28197 swig_obj
[0] = args
;
28198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28199 if (!SWIG_IsOK(res1
)) {
28200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28202 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28203 result
= (long) ((arg1
)->m_itemIndex
);
28204 resultobj
= SWIG_From_long(static_cast< long >(result
));
28211 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28212 PyObject
*resultobj
= 0;
28213 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28219 PyObject
*swig_obj
[2] ;
28221 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28223 if (!SWIG_IsOK(res1
)) {
28224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28226 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28227 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28228 if (!SWIG_IsOK(ecode2
)) {
28229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28231 arg2
= static_cast< int >(val2
);
28232 if (arg1
) (arg1
)->m_col
= arg2
;
28234 resultobj
= SWIG_Py_Void();
28241 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28242 PyObject
*resultobj
= 0;
28243 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28247 PyObject
*swig_obj
[1] ;
28249 if (!args
) SWIG_fail
;
28250 swig_obj
[0] = args
;
28251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28252 if (!SWIG_IsOK(res1
)) {
28253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28255 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28256 result
= (int) ((arg1
)->m_col
);
28257 resultobj
= SWIG_From_int(static_cast< int >(result
));
28264 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28265 PyObject
*resultobj
= 0;
28266 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28267 wxPoint
*arg2
= (wxPoint
*) 0 ;
28272 PyObject
*swig_obj
[2] ;
28274 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28276 if (!SWIG_IsOK(res1
)) {
28277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28279 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28280 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28281 if (!SWIG_IsOK(res2
)) {
28282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28284 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28285 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28287 resultobj
= SWIG_Py_Void();
28294 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28295 PyObject
*resultobj
= 0;
28296 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28297 wxPoint
*result
= 0 ;
28300 PyObject
*swig_obj
[1] ;
28302 if (!args
) SWIG_fail
;
28303 swig_obj
[0] = args
;
28304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28305 if (!SWIG_IsOK(res1
)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28308 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28309 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28317 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28318 PyObject
*resultobj
= 0;
28319 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28320 wxListItem
*result
= 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_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28331 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28332 result
= (wxListItem
*)& ((arg1
)->m_item
);
28334 resultobj
= wxPyMake_wxObject(result
, 0);
28342 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28343 PyObject
*resultobj
= 0;
28344 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28348 PyObject
*swig_obj
[1] ;
28350 if (!args
) SWIG_fail
;
28351 swig_obj
[0] = args
;
28352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28353 if (!SWIG_IsOK(res1
)) {
28354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28356 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28359 result
= (int)(arg1
)->GetKeyCode();
28360 wxPyEndAllowThreads(__tstate
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28363 resultobj
= SWIG_From_int(static_cast< int >(result
));
28370 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28371 PyObject
*resultobj
= 0;
28372 wxListEvent
*arg1
= (wxListEvent
*) 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_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28384 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 result
= (long)(arg1
)->GetIndex();
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28391 resultobj
= SWIG_From_long(static_cast< long >(result
));
28398 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28399 PyObject
*resultobj
= 0;
28400 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28404 PyObject
*swig_obj
[1] ;
28406 if (!args
) SWIG_fail
;
28407 swig_obj
[0] = args
;
28408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28409 if (!SWIG_IsOK(res1
)) {
28410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28412 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 result
= (int)(arg1
)->GetColumn();
28416 wxPyEndAllowThreads(__tstate
);
28417 if (PyErr_Occurred()) SWIG_fail
;
28419 resultobj
= SWIG_From_int(static_cast< int >(result
));
28426 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28427 PyObject
*resultobj
= 0;
28428 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28432 PyObject
*swig_obj
[1] ;
28434 if (!args
) SWIG_fail
;
28435 swig_obj
[0] = args
;
28436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28437 if (!SWIG_IsOK(res1
)) {
28438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28440 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28443 result
= (arg1
)->GetPoint();
28444 wxPyEndAllowThreads(__tstate
);
28445 if (PyErr_Occurred()) SWIG_fail
;
28447 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28454 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28455 PyObject
*resultobj
= 0;
28456 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28457 wxString
*result
= 0 ;
28460 PyObject
*swig_obj
[1] ;
28462 if (!args
) SWIG_fail
;
28463 swig_obj
[0] = args
;
28464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28465 if (!SWIG_IsOK(res1
)) {
28466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28468 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28472 wxString
const &_result_ref
= (arg1
)->GetLabel();
28473 result
= (wxString
*) &_result_ref
;
28475 wxPyEndAllowThreads(__tstate
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28480 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28482 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28491 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28492 PyObject
*resultobj
= 0;
28493 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28494 wxString
*result
= 0 ;
28497 PyObject
*swig_obj
[1] ;
28499 if (!args
) SWIG_fail
;
28500 swig_obj
[0] = args
;
28501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28502 if (!SWIG_IsOK(res1
)) {
28503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28505 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 wxString
const &_result_ref
= (arg1
)->GetText();
28510 result
= (wxString
*) &_result_ref
;
28512 wxPyEndAllowThreads(__tstate
);
28513 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28519 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28528 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28529 PyObject
*resultobj
= 0;
28530 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28534 PyObject
*swig_obj
[1] ;
28536 if (!args
) SWIG_fail
;
28537 swig_obj
[0] = args
;
28538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28539 if (!SWIG_IsOK(res1
)) {
28540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28542 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 result
= (int)(arg1
)->GetImage();
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= SWIG_From_int(static_cast< int >(result
));
28556 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28557 PyObject
*resultobj
= 0;
28558 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28562 PyObject
*swig_obj
[1] ;
28564 if (!args
) SWIG_fail
;
28565 swig_obj
[0] = args
;
28566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28567 if (!SWIG_IsOK(res1
)) {
28568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28570 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28573 result
= (long)(arg1
)->GetData();
28574 wxPyEndAllowThreads(__tstate
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28577 resultobj
= SWIG_From_long(static_cast< long >(result
));
28584 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28585 PyObject
*resultobj
= 0;
28586 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28590 PyObject
*swig_obj
[1] ;
28592 if (!args
) SWIG_fail
;
28593 swig_obj
[0] = args
;
28594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28595 if (!SWIG_IsOK(res1
)) {
28596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28598 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 result
= (long)(arg1
)->GetMask();
28602 wxPyEndAllowThreads(__tstate
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28605 resultobj
= SWIG_From_long(static_cast< long >(result
));
28612 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28613 PyObject
*resultobj
= 0;
28614 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28615 wxListItem
*result
= 0 ;
28618 PyObject
*swig_obj
[1] ;
28620 if (!args
) SWIG_fail
;
28621 swig_obj
[0] = args
;
28622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28623 if (!SWIG_IsOK(res1
)) {
28624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28626 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28630 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28631 result
= (wxListItem
*) &_result_ref
;
28633 wxPyEndAllowThreads(__tstate
);
28634 if (PyErr_Occurred()) SWIG_fail
;
28636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28643 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28644 PyObject
*resultobj
= 0;
28645 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28649 PyObject
*swig_obj
[1] ;
28651 if (!args
) SWIG_fail
;
28652 swig_obj
[0] = args
;
28653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28654 if (!SWIG_IsOK(res1
)) {
28655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28657 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28660 result
= (long)(arg1
)->GetCacheFrom();
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 resultobj
= SWIG_From_long(static_cast< long >(result
));
28671 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28672 PyObject
*resultobj
= 0;
28673 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28677 PyObject
*swig_obj
[1] ;
28679 if (!args
) SWIG_fail
;
28680 swig_obj
[0] = args
;
28681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28682 if (!SWIG_IsOK(res1
)) {
28683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28685 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28688 result
= (long)(arg1
)->GetCacheTo();
28689 wxPyEndAllowThreads(__tstate
);
28690 if (PyErr_Occurred()) SWIG_fail
;
28692 resultobj
= SWIG_From_long(static_cast< long >(result
));
28699 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28700 PyObject
*resultobj
= 0;
28701 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28705 PyObject
*swig_obj
[1] ;
28707 if (!args
) SWIG_fail
;
28708 swig_obj
[0] = args
;
28709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28710 if (!SWIG_IsOK(res1
)) {
28711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28713 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28717 wxPyEndAllowThreads(__tstate
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28729 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28730 PyObject
*resultobj
= 0;
28731 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28737 PyObject
* obj0
= 0 ;
28738 PyObject
* obj1
= 0 ;
28739 char * kwnames
[] = {
28740 (char *) "self",(char *) "editCancelled", NULL
28743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28745 if (!SWIG_IsOK(res1
)) {
28746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28748 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28749 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28750 if (!SWIG_IsOK(ecode2
)) {
28751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28753 arg2
= static_cast< bool >(val2
);
28755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28756 (arg1
)->SetEditCanceled(arg2
);
28757 wxPyEndAllowThreads(__tstate
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28760 resultobj
= SWIG_Py_Void();
28767 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28770 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28771 return SWIG_Py_Void();
28774 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28775 return SWIG_Python_InitShadowInstance(args
);
28778 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28779 PyObject
*resultobj
= 0;
28780 wxWindow
*arg1
= (wxWindow
*) 0 ;
28781 int arg2
= (int) -1 ;
28782 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28783 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28784 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28785 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28786 long arg5
= (long) wxLC_ICON
;
28787 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28788 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28789 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28790 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28791 wxPyListCtrl
*result
= 0 ;
28802 bool temp7
= false ;
28803 PyObject
* obj0
= 0 ;
28804 PyObject
* obj1
= 0 ;
28805 PyObject
* obj2
= 0 ;
28806 PyObject
* obj3
= 0 ;
28807 PyObject
* obj4
= 0 ;
28808 PyObject
* obj5
= 0 ;
28809 PyObject
* obj6
= 0 ;
28810 char * kwnames
[] = {
28811 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28816 if (!SWIG_IsOK(res1
)) {
28817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28819 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28822 if (!SWIG_IsOK(ecode2
)) {
28823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28825 arg2
= static_cast< int >(val2
);
28830 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28836 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28840 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28841 if (!SWIG_IsOK(ecode5
)) {
28842 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28844 arg5
= static_cast< long >(val5
);
28847 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28848 if (!SWIG_IsOK(res6
)) {
28849 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28852 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28854 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28858 arg7
= wxString_in_helper(obj6
);
28859 if (arg7
== NULL
) SWIG_fail
;
28864 if (!wxPyCheckForApp()) SWIG_fail
;
28865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28866 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28867 wxPyEndAllowThreads(__tstate
);
28868 if (PyErr_Occurred()) SWIG_fail
;
28870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28885 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28886 PyObject
*resultobj
= 0;
28887 wxPyListCtrl
*result
= 0 ;
28889 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28891 if (!wxPyCheckForApp()) SWIG_fail
;
28892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28893 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28894 wxPyEndAllowThreads(__tstate
);
28895 if (PyErr_Occurred()) SWIG_fail
;
28897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28904 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28905 PyObject
*resultobj
= 0;
28906 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28907 wxWindow
*arg2
= (wxWindow
*) 0 ;
28908 int arg3
= (int) -1 ;
28909 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28910 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28911 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28912 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28913 long arg6
= (long) wxLC_ICON
;
28914 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28915 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28916 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28917 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28931 bool temp8
= false ;
28932 PyObject
* obj0
= 0 ;
28933 PyObject
* obj1
= 0 ;
28934 PyObject
* obj2
= 0 ;
28935 PyObject
* obj3
= 0 ;
28936 PyObject
* obj4
= 0 ;
28937 PyObject
* obj5
= 0 ;
28938 PyObject
* obj6
= 0 ;
28939 PyObject
* obj7
= 0 ;
28940 char * kwnames
[] = {
28941 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28946 if (!SWIG_IsOK(res1
)) {
28947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28949 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28951 if (!SWIG_IsOK(res2
)) {
28952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28954 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28957 if (!SWIG_IsOK(ecode3
)) {
28958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28960 arg3
= static_cast< int >(val3
);
28965 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28971 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28975 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28976 if (!SWIG_IsOK(ecode6
)) {
28977 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28979 arg6
= static_cast< long >(val6
);
28982 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28983 if (!SWIG_IsOK(res7
)) {
28984 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28989 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28993 arg8
= wxString_in_helper(obj7
);
28994 if (arg8
== NULL
) SWIG_fail
;
28999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29000 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29001 wxPyEndAllowThreads(__tstate
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29021 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29022 PyObject
*resultobj
= 0;
29023 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29024 PyObject
*arg2
= (PyObject
*) 0 ;
29025 PyObject
*arg3
= (PyObject
*) 0 ;
29028 PyObject
* obj0
= 0 ;
29029 PyObject
* obj1
= 0 ;
29030 PyObject
* obj2
= 0 ;
29031 char * kwnames
[] = {
29032 (char *) "self",(char *) "self",(char *) "_class", NULL
29035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29037 if (!SWIG_IsOK(res1
)) {
29038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29040 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29045 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29046 wxPyEndAllowThreads(__tstate
);
29047 if (PyErr_Occurred()) SWIG_fail
;
29049 resultobj
= SWIG_Py_Void();
29056 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29057 PyObject
*resultobj
= 0;
29058 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29060 wxListItem
*result
= 0 ;
29065 PyObject
* obj0
= 0 ;
29066 PyObject
* obj1
= 0 ;
29067 char * kwnames
[] = {
29068 (char *) "self",(char *) "col", NULL
29071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29073 if (!SWIG_IsOK(res1
)) {
29074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29076 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29078 if (!SWIG_IsOK(ecode2
)) {
29079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29081 arg2
= static_cast< int >(val2
);
29083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29084 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29085 wxPyEndAllowThreads(__tstate
);
29086 if (PyErr_Occurred()) SWIG_fail
;
29089 resultobj
= wxPyMake_wxObject(result
, 0);
29097 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29098 PyObject
*resultobj
= 0;
29099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29101 wxListItem
*arg3
= 0 ;
29109 PyObject
* obj0
= 0 ;
29110 PyObject
* obj1
= 0 ;
29111 PyObject
* obj2
= 0 ;
29112 char * kwnames
[] = {
29113 (char *) "self",(char *) "col",(char *) "item", NULL
29116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29118 if (!SWIG_IsOK(res1
)) {
29119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29121 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29123 if (!SWIG_IsOK(ecode2
)) {
29124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29126 arg2
= static_cast< int >(val2
);
29127 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29128 if (!SWIG_IsOK(res3
)) {
29129 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29134 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29137 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29138 wxPyEndAllowThreads(__tstate
);
29139 if (PyErr_Occurred()) SWIG_fail
;
29142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29150 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29151 PyObject
*resultobj
= 0;
29152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29159 PyObject
* obj0
= 0 ;
29160 PyObject
* obj1
= 0 ;
29161 char * kwnames
[] = {
29162 (char *) "self",(char *) "col", NULL
29165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29167 if (!SWIG_IsOK(res1
)) {
29168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29170 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29172 if (!SWIG_IsOK(ecode2
)) {
29173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29175 arg2
= static_cast< int >(val2
);
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29179 wxPyEndAllowThreads(__tstate
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29182 resultobj
= SWIG_From_int(static_cast< int >(result
));
29189 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29190 PyObject
*resultobj
= 0;
29191 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29201 PyObject
* obj0
= 0 ;
29202 PyObject
* obj1
= 0 ;
29203 PyObject
* obj2
= 0 ;
29204 char * kwnames
[] = {
29205 (char *) "self",(char *) "col",(char *) "width", NULL
29208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29210 if (!SWIG_IsOK(res1
)) {
29211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29213 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29215 if (!SWIG_IsOK(ecode2
)) {
29216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29218 arg2
= static_cast< int >(val2
);
29219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29220 if (!SWIG_IsOK(ecode3
)) {
29221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29223 arg3
= static_cast< int >(val3
);
29225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29226 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29227 wxPyEndAllowThreads(__tstate
);
29228 if (PyErr_Occurred()) SWIG_fail
;
29231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29239 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29240 PyObject
*resultobj
= 0;
29241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29245 PyObject
*swig_obj
[1] ;
29247 if (!args
) SWIG_fail
;
29248 swig_obj
[0] = args
;
29249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29250 if (!SWIG_IsOK(res1
)) {
29251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29253 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29256 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29257 wxPyEndAllowThreads(__tstate
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29260 resultobj
= SWIG_From_int(static_cast< int >(result
));
29267 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29268 PyObject
*resultobj
= 0;
29269 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29273 PyObject
*swig_obj
[1] ;
29275 if (!args
) SWIG_fail
;
29276 swig_obj
[0] = args
;
29277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29278 if (!SWIG_IsOK(res1
)) {
29279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29281 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29284 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29295 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29296 PyObject
*resultobj
= 0;
29297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29298 wxTextCtrl
*result
= 0 ;
29301 PyObject
*swig_obj
[1] ;
29303 if (!args
) SWIG_fail
;
29304 swig_obj
[0] = args
;
29305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29306 if (!SWIG_IsOK(res1
)) {
29307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29309 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= wxPyMake_wxObject(result
, 0);
29325 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29326 PyObject
*resultobj
= 0;
29327 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29329 int arg3
= (int) 0 ;
29330 wxListItem
*result
= 0 ;
29337 PyObject
* obj0
= 0 ;
29338 PyObject
* obj1
= 0 ;
29339 PyObject
* obj2
= 0 ;
29340 char * kwnames
[] = {
29341 (char *) "self",(char *) "itemId",(char *) "col", NULL
29344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29346 if (!SWIG_IsOK(res1
)) {
29347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29349 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29350 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29351 if (!SWIG_IsOK(ecode2
)) {
29352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29354 arg2
= static_cast< long >(val2
);
29356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29357 if (!SWIG_IsOK(ecode3
)) {
29358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29360 arg3
= static_cast< int >(val3
);
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29365 wxPyEndAllowThreads(__tstate
);
29366 if (PyErr_Occurred()) SWIG_fail
;
29369 resultobj
= wxPyMake_wxObject(result
, 0);
29377 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29378 PyObject
*resultobj
= 0;
29379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29380 wxListItem
*arg2
= 0 ;
29386 PyObject
* obj0
= 0 ;
29387 PyObject
* obj1
= 0 ;
29388 char * kwnames
[] = {
29389 (char *) "self",(char *) "info", NULL
29392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29394 if (!SWIG_IsOK(res1
)) {
29395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29397 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29398 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29399 if (!SWIG_IsOK(res2
)) {
29400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29405 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29408 result
= (bool)(arg1
)->SetItem(*arg2
);
29409 wxPyEndAllowThreads(__tstate
);
29410 if (PyErr_Occurred()) SWIG_fail
;
29413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29421 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29422 PyObject
*resultobj
= 0;
29423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29426 wxString
*arg4
= 0 ;
29427 int arg5
= (int) -1 ;
29435 bool temp4
= false ;
29438 PyObject
* obj0
= 0 ;
29439 PyObject
* obj1
= 0 ;
29440 PyObject
* obj2
= 0 ;
29441 PyObject
* obj3
= 0 ;
29442 PyObject
* obj4
= 0 ;
29443 char * kwnames
[] = {
29444 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29449 if (!SWIG_IsOK(res1
)) {
29450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29452 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29453 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29454 if (!SWIG_IsOK(ecode2
)) {
29455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29457 arg2
= static_cast< long >(val2
);
29458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29459 if (!SWIG_IsOK(ecode3
)) {
29460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29462 arg3
= static_cast< int >(val3
);
29464 arg4
= wxString_in_helper(obj3
);
29465 if (arg4
== NULL
) SWIG_fail
;
29469 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29470 if (!SWIG_IsOK(ecode5
)) {
29471 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29473 arg5
= static_cast< int >(val5
);
29476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29477 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29478 wxPyEndAllowThreads(__tstate
);
29479 if (PyErr_Occurred()) SWIG_fail
;
29481 resultobj
= SWIG_From_long(static_cast< long >(result
));
29496 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29497 PyObject
*resultobj
= 0;
29498 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29508 PyObject
* obj0
= 0 ;
29509 PyObject
* obj1
= 0 ;
29510 PyObject
* obj2
= 0 ;
29511 char * kwnames
[] = {
29512 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29517 if (!SWIG_IsOK(res1
)) {
29518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29520 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29521 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29522 if (!SWIG_IsOK(ecode2
)) {
29523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29525 arg2
= static_cast< long >(val2
);
29526 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29527 if (!SWIG_IsOK(ecode3
)) {
29528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29530 arg3
= static_cast< long >(val3
);
29532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29533 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29534 wxPyEndAllowThreads(__tstate
);
29535 if (PyErr_Occurred()) SWIG_fail
;
29537 resultobj
= SWIG_From_int(static_cast< int >(result
));
29544 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29545 PyObject
*resultobj
= 0;
29546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29559 PyObject
* obj0
= 0 ;
29560 PyObject
* obj1
= 0 ;
29561 PyObject
* obj2
= 0 ;
29562 PyObject
* obj3
= 0 ;
29563 char * kwnames
[] = {
29564 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29569 if (!SWIG_IsOK(res1
)) {
29570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29572 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29573 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29574 if (!SWIG_IsOK(ecode2
)) {
29575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29577 arg2
= static_cast< long >(val2
);
29578 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29579 if (!SWIG_IsOK(ecode3
)) {
29580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29582 arg3
= static_cast< long >(val3
);
29583 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29584 if (!SWIG_IsOK(ecode4
)) {
29585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29587 arg4
= static_cast< long >(val4
);
29589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29590 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29591 wxPyEndAllowThreads(__tstate
);
29592 if (PyErr_Occurred()) SWIG_fail
;
29595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29603 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29604 PyObject
*resultobj
= 0;
29605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29608 int arg4
= (int) -1 ;
29618 PyObject
* obj0
= 0 ;
29619 PyObject
* obj1
= 0 ;
29620 PyObject
* obj2
= 0 ;
29621 PyObject
* obj3
= 0 ;
29622 char * kwnames
[] = {
29623 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29628 if (!SWIG_IsOK(res1
)) {
29629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29631 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29632 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29633 if (!SWIG_IsOK(ecode2
)) {
29634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29636 arg2
= static_cast< long >(val2
);
29637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29638 if (!SWIG_IsOK(ecode3
)) {
29639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29641 arg3
= static_cast< int >(val3
);
29643 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29644 if (!SWIG_IsOK(ecode4
)) {
29645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29647 arg4
= static_cast< int >(val4
);
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29664 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
= 0;
29666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29679 PyObject
* obj0
= 0 ;
29680 PyObject
* obj1
= 0 ;
29681 PyObject
* obj2
= 0 ;
29682 PyObject
* obj3
= 0 ;
29683 char * kwnames
[] = {
29684 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29689 if (!SWIG_IsOK(res1
)) {
29690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29692 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29693 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29694 if (!SWIG_IsOK(ecode2
)) {
29695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29697 arg2
= static_cast< long >(val2
);
29698 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29699 if (!SWIG_IsOK(ecode3
)) {
29700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29702 arg3
= static_cast< long >(val3
);
29703 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29704 if (!SWIG_IsOK(ecode4
)) {
29705 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29707 arg4
= static_cast< int >(val4
);
29709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29710 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29711 wxPyEndAllowThreads(__tstate
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29723 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29724 PyObject
*resultobj
= 0;
29725 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29732 PyObject
* obj0
= 0 ;
29733 PyObject
* obj1
= 0 ;
29734 char * kwnames
[] = {
29735 (char *) "self",(char *) "item", NULL
29738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29740 if (!SWIG_IsOK(res1
)) {
29741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29743 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29744 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29745 if (!SWIG_IsOK(ecode2
)) {
29746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29748 arg2
= static_cast< long >(val2
);
29750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29751 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29752 wxPyEndAllowThreads(__tstate
);
29753 if (PyErr_Occurred()) SWIG_fail
;
29757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29768 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29769 PyObject
*resultobj
= 0;
29770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29772 wxString
*arg3
= 0 ;
29777 bool temp3
= false ;
29778 PyObject
* obj0
= 0 ;
29779 PyObject
* obj1
= 0 ;
29780 PyObject
* obj2
= 0 ;
29781 char * kwnames
[] = {
29782 (char *) "self",(char *) "item",(char *) "str", NULL
29785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29787 if (!SWIG_IsOK(res1
)) {
29788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29790 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29791 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29792 if (!SWIG_IsOK(ecode2
)) {
29793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29795 arg2
= static_cast< long >(val2
);
29797 arg3
= wxString_in_helper(obj2
);
29798 if (arg3
== NULL
) SWIG_fail
;
29802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29803 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29807 resultobj
= SWIG_Py_Void();
29822 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29823 PyObject
*resultobj
= 0;
29824 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29831 PyObject
* obj0
= 0 ;
29832 PyObject
* obj1
= 0 ;
29833 char * kwnames
[] = {
29834 (char *) "self",(char *) "item", NULL
29837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29839 if (!SWIG_IsOK(res1
)) {
29840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29842 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29843 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29844 if (!SWIG_IsOK(ecode2
)) {
29845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29847 arg2
= static_cast< long >(val2
);
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29851 wxPyEndAllowThreads(__tstate
);
29852 if (PyErr_Occurred()) SWIG_fail
;
29854 resultobj
= SWIG_From_long(static_cast< long >(result
));
29861 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29862 PyObject
*resultobj
= 0;
29863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29873 PyObject
* obj0
= 0 ;
29874 PyObject
* obj1
= 0 ;
29875 PyObject
* obj2
= 0 ;
29876 char * kwnames
[] = {
29877 (char *) "self",(char *) "item",(char *) "data", NULL
29880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29882 if (!SWIG_IsOK(res1
)) {
29883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29885 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29886 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29887 if (!SWIG_IsOK(ecode2
)) {
29888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29890 arg2
= static_cast< long >(val2
);
29891 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29892 if (!SWIG_IsOK(ecode3
)) {
29893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29895 arg3
= static_cast< long >(val3
);
29897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29898 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29899 wxPyEndAllowThreads(__tstate
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29911 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
= 0;
29913 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29920 PyObject
* obj0
= 0 ;
29921 PyObject
* obj1
= 0 ;
29922 char * kwnames
[] = {
29923 (char *) "self",(char *) "item", NULL
29926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29928 if (!SWIG_IsOK(res1
)) {
29929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29931 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29932 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29933 if (!SWIG_IsOK(ecode2
)) {
29934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29936 arg2
= static_cast< long >(val2
);
29938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29939 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29940 wxPyEndAllowThreads(__tstate
);
29941 if (PyErr_Occurred()) SWIG_fail
;
29943 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29950 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29951 PyObject
*resultobj
= 0;
29952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29954 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29962 PyObject
* obj0
= 0 ;
29963 PyObject
* obj1
= 0 ;
29964 PyObject
* obj2
= 0 ;
29965 char * kwnames
[] = {
29966 (char *) "self",(char *) "item",(char *) "code", NULL
29969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29971 if (!SWIG_IsOK(res1
)) {
29972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29974 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29975 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29976 if (!SWIG_IsOK(ecode2
)) {
29977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29979 arg2
= static_cast< long >(val2
);
29981 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29982 if (!SWIG_IsOK(ecode3
)) {
29983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29985 arg3
= static_cast< int >(val3
);
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29989 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29990 wxPyEndAllowThreads(__tstate
);
29991 if (PyErr_Occurred()) SWIG_fail
;
29993 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30000 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30001 PyObject
*resultobj
= 0;
30002 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30004 wxPoint
*arg3
= 0 ;
30011 PyObject
* obj0
= 0 ;
30012 PyObject
* obj1
= 0 ;
30013 PyObject
* obj2
= 0 ;
30014 char * kwnames
[] = {
30015 (char *) "self",(char *) "item",(char *) "pos", NULL
30018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30020 if (!SWIG_IsOK(res1
)) {
30021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30023 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30024 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30025 if (!SWIG_IsOK(ecode2
)) {
30026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30028 arg2
= static_cast< long >(val2
);
30031 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30035 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30036 wxPyEndAllowThreads(__tstate
);
30037 if (PyErr_Occurred()) SWIG_fail
;
30040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30048 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30049 PyObject
*resultobj
= 0;
30050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30054 PyObject
*swig_obj
[1] ;
30056 if (!args
) SWIG_fail
;
30057 swig_obj
[0] = args
;
30058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30059 if (!SWIG_IsOK(res1
)) {
30060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30062 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30066 wxPyEndAllowThreads(__tstate
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30069 resultobj
= SWIG_From_int(static_cast< int >(result
));
30076 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30077 PyObject
*resultobj
= 0;
30078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30082 PyObject
*swig_obj
[1] ;
30084 if (!args
) SWIG_fail
;
30085 swig_obj
[0] = args
;
30086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30087 if (!SWIG_IsOK(res1
)) {
30088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30090 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30093 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30094 wxPyEndAllowThreads(__tstate
);
30095 if (PyErr_Occurred()) SWIG_fail
;
30097 resultobj
= SWIG_From_int(static_cast< int >(result
));
30104 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30105 PyObject
*resultobj
= 0;
30106 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30110 PyObject
*swig_obj
[1] ;
30112 if (!args
) SWIG_fail
;
30113 swig_obj
[0] = args
;
30114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30115 if (!SWIG_IsOK(res1
)) {
30116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30118 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30121 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30122 wxPyEndAllowThreads(__tstate
);
30123 if (PyErr_Occurred()) SWIG_fail
;
30125 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30132 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30133 PyObject
*resultobj
= 0;
30134 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30136 bool arg3
= (bool) false ;
30143 PyObject
* obj0
= 0 ;
30144 PyObject
* obj1
= 0 ;
30145 PyObject
* obj2
= 0 ;
30146 char * kwnames
[] = {
30147 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30152 if (!SWIG_IsOK(res1
)) {
30153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30155 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30157 if (!SWIG_IsOK(ecode2
)) {
30158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30160 arg2
= static_cast< int >(val2
);
30162 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30163 if (!SWIG_IsOK(ecode3
)) {
30164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30166 arg3
= static_cast< bool >(val3
);
30169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30170 (arg1
)->SetItemSpacing(arg2
,arg3
);
30171 wxPyEndAllowThreads(__tstate
);
30172 if (PyErr_Occurred()) SWIG_fail
;
30174 resultobj
= SWIG_Py_Void();
30181 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30182 PyObject
*resultobj
= 0;
30183 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30187 PyObject
*swig_obj
[1] ;
30189 if (!args
) SWIG_fail
;
30190 swig_obj
[0] = args
;
30191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30192 if (!SWIG_IsOK(res1
)) {
30193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30195 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30198 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30199 wxPyEndAllowThreads(__tstate
);
30200 if (PyErr_Occurred()) SWIG_fail
;
30202 resultobj
= SWIG_From_int(static_cast< int >(result
));
30209 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30210 PyObject
*resultobj
= 0;
30211 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30215 PyObject
*swig_obj
[1] ;
30217 if (!args
) SWIG_fail
;
30218 swig_obj
[0] = args
;
30219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30220 if (!SWIG_IsOK(res1
)) {
30221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30223 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30226 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30227 wxPyEndAllowThreads(__tstate
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30230 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30237 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30238 PyObject
*resultobj
= 0;
30239 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30240 wxColour
*arg2
= 0 ;
30244 PyObject
* obj0
= 0 ;
30245 PyObject
* obj1
= 0 ;
30246 char * kwnames
[] = {
30247 (char *) "self",(char *) "col", NULL
30250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30252 if (!SWIG_IsOK(res1
)) {
30253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30255 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30258 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30262 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30263 wxPyEndAllowThreads(__tstate
);
30264 if (PyErr_Occurred()) SWIG_fail
;
30266 resultobj
= SWIG_Py_Void();
30273 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30274 PyObject
*resultobj
= 0;
30275 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30279 PyObject
*swig_obj
[1] ;
30281 if (!args
) SWIG_fail
;
30282 swig_obj
[0] = args
;
30283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30284 if (!SWIG_IsOK(res1
)) {
30285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30287 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30290 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30291 wxPyEndAllowThreads(__tstate
);
30292 if (PyErr_Occurred()) SWIG_fail
;
30294 resultobj
= SWIG_From_long(static_cast< long >(result
));
30301 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
= 0;
30303 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30305 bool arg3
= (bool) true ;
30312 PyObject
* obj0
= 0 ;
30313 PyObject
* obj1
= 0 ;
30314 PyObject
* obj2
= 0 ;
30315 char * kwnames
[] = {
30316 (char *) "self",(char *) "style",(char *) "add", NULL
30319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30321 if (!SWIG_IsOK(res1
)) {
30322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30324 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30325 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30326 if (!SWIG_IsOK(ecode2
)) {
30327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30329 arg2
= static_cast< long >(val2
);
30331 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30332 if (!SWIG_IsOK(ecode3
)) {
30333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30335 arg3
= static_cast< bool >(val3
);
30338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30339 (arg1
)->SetSingleStyle(arg2
,arg3
);
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30343 resultobj
= SWIG_Py_Void();
30350 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30351 PyObject
*resultobj
= 0;
30352 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30354 int arg3
= (int) wxLIST_NEXT_ALL
;
30355 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30365 PyObject
* obj0
= 0 ;
30366 PyObject
* obj1
= 0 ;
30367 PyObject
* obj2
= 0 ;
30368 PyObject
* obj3
= 0 ;
30369 char * kwnames
[] = {
30370 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30375 if (!SWIG_IsOK(res1
)) {
30376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30378 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30379 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30380 if (!SWIG_IsOK(ecode2
)) {
30381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30383 arg2
= static_cast< long >(val2
);
30385 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30386 if (!SWIG_IsOK(ecode3
)) {
30387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30389 arg3
= static_cast< int >(val3
);
30392 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30393 if (!SWIG_IsOK(ecode4
)) {
30394 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30396 arg4
= static_cast< int >(val4
);
30399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30400 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30404 resultobj
= SWIG_From_long(static_cast< long >(result
));
30411 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30412 PyObject
*resultobj
= 0;
30413 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30415 wxImageList
*result
= 0 ;
30420 PyObject
* obj0
= 0 ;
30421 PyObject
* obj1
= 0 ;
30422 char * kwnames
[] = {
30423 (char *) "self",(char *) "which", NULL
30426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30428 if (!SWIG_IsOK(res1
)) {
30429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30431 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30433 if (!SWIG_IsOK(ecode2
)) {
30434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30436 arg2
= static_cast< int >(val2
);
30438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30439 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30440 wxPyEndAllowThreads(__tstate
);
30441 if (PyErr_Occurred()) SWIG_fail
;
30444 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30452 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30453 PyObject
*resultobj
= 0;
30454 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30455 wxImageList
*arg2
= (wxImageList
*) 0 ;
30463 PyObject
* obj0
= 0 ;
30464 PyObject
* obj1
= 0 ;
30465 PyObject
* obj2
= 0 ;
30466 char * kwnames
[] = {
30467 (char *) "self",(char *) "imageList",(char *) "which", NULL
30470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30472 if (!SWIG_IsOK(res1
)) {
30473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30475 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30476 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30477 if (!SWIG_IsOK(res2
)) {
30478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30480 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30481 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30482 if (!SWIG_IsOK(ecode3
)) {
30483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30485 arg3
= static_cast< int >(val3
);
30487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30488 (arg1
)->SetImageList(arg2
,arg3
);
30489 wxPyEndAllowThreads(__tstate
);
30490 if (PyErr_Occurred()) SWIG_fail
;
30492 resultobj
= SWIG_Py_Void();
30499 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30500 PyObject
*resultobj
= 0;
30501 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30502 wxImageList
*arg2
= (wxImageList
*) 0 ;
30509 PyObject
* obj0
= 0 ;
30510 PyObject
* obj1
= 0 ;
30511 PyObject
* obj2
= 0 ;
30512 char * kwnames
[] = {
30513 (char *) "self",(char *) "imageList",(char *) "which", NULL
30516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30518 if (!SWIG_IsOK(res1
)) {
30519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30521 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30522 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30523 if (!SWIG_IsOK(res2
)) {
30524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30527 if (!SWIG_IsOK(ecode3
)) {
30528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30530 arg3
= static_cast< int >(val3
);
30532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30533 (arg1
)->AssignImageList(arg2
,arg3
);
30534 wxPyEndAllowThreads(__tstate
);
30535 if (PyErr_Occurred()) SWIG_fail
;
30537 resultobj
= SWIG_Py_Void();
30544 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30545 PyObject
*resultobj
= 0;
30546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30550 PyObject
*swig_obj
[1] ;
30552 if (!args
) SWIG_fail
;
30553 swig_obj
[0] = args
;
30554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30555 if (!SWIG_IsOK(res1
)) {
30556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30558 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30561 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30562 wxPyEndAllowThreads(__tstate
);
30563 if (PyErr_Occurred()) SWIG_fail
;
30566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30574 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30575 PyObject
*resultobj
= 0;
30576 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30580 PyObject
*swig_obj
[1] ;
30582 if (!args
) SWIG_fail
;
30583 swig_obj
[0] = args
;
30584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30585 if (!SWIG_IsOK(res1
)) {
30586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30588 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30591 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30592 wxPyEndAllowThreads(__tstate
);
30593 if (PyErr_Occurred()) SWIG_fail
;
30596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30604 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30605 PyObject
*resultobj
= 0;
30606 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30612 PyObject
* obj0
= 0 ;
30613 PyObject
* obj1
= 0 ;
30614 char * kwnames
[] = {
30615 (char *) "self",(char *) "item", NULL
30618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30620 if (!SWIG_IsOK(res1
)) {
30621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30623 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30624 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30625 if (!SWIG_IsOK(ecode2
)) {
30626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30628 arg2
= static_cast< long >(val2
);
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 (arg1
)->RefreshItem(arg2
);
30632 wxPyEndAllowThreads(__tstate
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30635 resultobj
= SWIG_Py_Void();
30642 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30643 PyObject
*resultobj
= 0;
30644 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30653 PyObject
* obj0
= 0 ;
30654 PyObject
* obj1
= 0 ;
30655 PyObject
* obj2
= 0 ;
30656 char * kwnames
[] = {
30657 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30662 if (!SWIG_IsOK(res1
)) {
30663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30665 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30666 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30667 if (!SWIG_IsOK(ecode2
)) {
30668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30670 arg2
= static_cast< long >(val2
);
30671 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30672 if (!SWIG_IsOK(ecode3
)) {
30673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30675 arg3
= static_cast< long >(val3
);
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 (arg1
)->RefreshItems(arg2
,arg3
);
30679 wxPyEndAllowThreads(__tstate
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30682 resultobj
= SWIG_Py_Void();
30689 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30690 PyObject
*resultobj
= 0;
30691 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30692 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30698 PyObject
* obj0
= 0 ;
30699 PyObject
* obj1
= 0 ;
30700 char * kwnames
[] = {
30701 (char *) "self",(char *) "flag", NULL
30704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30706 if (!SWIG_IsOK(res1
)) {
30707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30709 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30712 if (!SWIG_IsOK(ecode2
)) {
30713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30715 arg2
= static_cast< int >(val2
);
30718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30719 result
= (bool)(arg1
)->Arrange(arg2
);
30720 wxPyEndAllowThreads(__tstate
);
30721 if (PyErr_Occurred()) SWIG_fail
;
30724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30732 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30733 PyObject
*resultobj
= 0;
30734 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30741 PyObject
* obj0
= 0 ;
30742 PyObject
* obj1
= 0 ;
30743 char * kwnames
[] = {
30744 (char *) "self",(char *) "item", NULL
30747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30749 if (!SWIG_IsOK(res1
)) {
30750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30752 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30753 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30754 if (!SWIG_IsOK(ecode2
)) {
30755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30757 arg2
= static_cast< long >(val2
);
30759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30760 result
= (bool)(arg1
)->DeleteItem(arg2
);
30761 wxPyEndAllowThreads(__tstate
);
30762 if (PyErr_Occurred()) SWIG_fail
;
30765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30773 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30774 PyObject
*resultobj
= 0;
30775 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30779 PyObject
*swig_obj
[1] ;
30781 if (!args
) SWIG_fail
;
30782 swig_obj
[0] = args
;
30783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30784 if (!SWIG_IsOK(res1
)) {
30785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30787 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30790 result
= (bool)(arg1
)->DeleteAllItems();
30791 wxPyEndAllowThreads(__tstate
);
30792 if (PyErr_Occurred()) SWIG_fail
;
30795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30803 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30804 PyObject
*resultobj
= 0;
30805 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30812 PyObject
* obj0
= 0 ;
30813 PyObject
* obj1
= 0 ;
30814 char * kwnames
[] = {
30815 (char *) "self",(char *) "col", NULL
30818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30820 if (!SWIG_IsOK(res1
)) {
30821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30823 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30825 if (!SWIG_IsOK(ecode2
)) {
30826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30828 arg2
= static_cast< int >(val2
);
30830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30831 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30832 wxPyEndAllowThreads(__tstate
);
30833 if (PyErr_Occurred()) SWIG_fail
;
30836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30844 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30845 PyObject
*resultobj
= 0;
30846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30850 PyObject
*swig_obj
[1] ;
30852 if (!args
) SWIG_fail
;
30853 swig_obj
[0] = args
;
30854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30855 if (!SWIG_IsOK(res1
)) {
30856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30858 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30861 result
= (bool)(arg1
)->DeleteAllColumns();
30862 wxPyEndAllowThreads(__tstate
);
30863 if (PyErr_Occurred()) SWIG_fail
;
30866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30874 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30875 PyObject
*resultobj
= 0;
30876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30879 PyObject
*swig_obj
[1] ;
30881 if (!args
) SWIG_fail
;
30882 swig_obj
[0] = args
;
30883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30884 if (!SWIG_IsOK(res1
)) {
30885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30887 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30890 (arg1
)->ClearAll();
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30894 resultobj
= SWIG_Py_Void();
30901 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30902 PyObject
*resultobj
= 0;
30903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30909 PyObject
* obj0
= 0 ;
30910 PyObject
* obj1
= 0 ;
30911 char * kwnames
[] = {
30912 (char *) "self",(char *) "item", NULL
30915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30917 if (!SWIG_IsOK(res1
)) {
30918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30920 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30921 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30922 if (!SWIG_IsOK(ecode2
)) {
30923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30925 arg2
= static_cast< long >(val2
);
30927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30928 (arg1
)->EditLabel(arg2
);
30929 wxPyEndAllowThreads(__tstate
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30932 resultobj
= SWIG_Py_Void();
30939 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30940 PyObject
*resultobj
= 0;
30941 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30948 PyObject
* obj0
= 0 ;
30949 PyObject
* obj1
= 0 ;
30950 char * kwnames
[] = {
30951 (char *) "self",(char *) "item", NULL
30954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30956 if (!SWIG_IsOK(res1
)) {
30957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30959 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30960 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30961 if (!SWIG_IsOK(ecode2
)) {
30962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30964 arg2
= static_cast< long >(val2
);
30966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30967 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30968 wxPyEndAllowThreads(__tstate
);
30969 if (PyErr_Occurred()) SWIG_fail
;
30972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30980 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30981 PyObject
*resultobj
= 0;
30982 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30984 wxString
*arg3
= 0 ;
30985 bool arg4
= (bool) false ;
30991 bool temp3
= false ;
30994 PyObject
* obj0
= 0 ;
30995 PyObject
* obj1
= 0 ;
30996 PyObject
* obj2
= 0 ;
30997 PyObject
* obj3
= 0 ;
30998 char * kwnames
[] = {
30999 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31004 if (!SWIG_IsOK(res1
)) {
31005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31007 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31008 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31009 if (!SWIG_IsOK(ecode2
)) {
31010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31012 arg2
= static_cast< long >(val2
);
31014 arg3
= wxString_in_helper(obj2
);
31015 if (arg3
== NULL
) SWIG_fail
;
31019 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31020 if (!SWIG_IsOK(ecode4
)) {
31021 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31023 arg4
= static_cast< bool >(val4
);
31026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31027 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31028 wxPyEndAllowThreads(__tstate
);
31029 if (PyErr_Occurred()) SWIG_fail
;
31031 resultobj
= SWIG_From_long(static_cast< long >(result
));
31046 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31047 PyObject
*resultobj
= 0;
31048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31058 PyObject
* obj0
= 0 ;
31059 PyObject
* obj1
= 0 ;
31060 PyObject
* obj2
= 0 ;
31061 char * kwnames
[] = {
31062 (char *) "self",(char *) "start",(char *) "data", NULL
31065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31067 if (!SWIG_IsOK(res1
)) {
31068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31070 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31071 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31072 if (!SWIG_IsOK(ecode2
)) {
31073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31075 arg2
= static_cast< long >(val2
);
31076 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31077 if (!SWIG_IsOK(ecode3
)) {
31078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31080 arg3
= static_cast< long >(val3
);
31082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31083 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31084 wxPyEndAllowThreads(__tstate
);
31085 if (PyErr_Occurred()) SWIG_fail
;
31087 resultobj
= SWIG_From_long(static_cast< long >(result
));
31094 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31095 PyObject
*resultobj
= 0;
31096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31098 wxPoint
*arg3
= 0 ;
31108 PyObject
* obj0
= 0 ;
31109 PyObject
* obj1
= 0 ;
31110 PyObject
* obj2
= 0 ;
31111 PyObject
* obj3
= 0 ;
31112 char * kwnames
[] = {
31113 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31118 if (!SWIG_IsOK(res1
)) {
31119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31121 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31122 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31123 if (!SWIG_IsOK(ecode2
)) {
31124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31126 arg2
= static_cast< long >(val2
);
31129 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31131 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31132 if (!SWIG_IsOK(ecode4
)) {
31133 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31135 arg4
= static_cast< int >(val4
);
31137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31138 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31139 wxPyEndAllowThreads(__tstate
);
31140 if (PyErr_Occurred()) SWIG_fail
;
31142 resultobj
= SWIG_From_long(static_cast< long >(result
));
31149 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31150 PyObject
*resultobj
= 0;
31151 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31152 wxPoint
*arg2
= 0 ;
31159 int res3
= SWIG_TMPOBJ
;
31160 PyObject
* obj0
= 0 ;
31161 PyObject
* obj1
= 0 ;
31162 char * kwnames
[] = {
31163 (char *) "self",(char *) "point", NULL
31167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31169 if (!SWIG_IsOK(res1
)) {
31170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31172 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31179 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31180 wxPyEndAllowThreads(__tstate
);
31181 if (PyErr_Occurred()) SWIG_fail
;
31183 resultobj
= SWIG_From_long(static_cast< long >(result
));
31184 if (SWIG_IsTmpObj(res3
)) {
31185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31187 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31196 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
= 0;
31198 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31199 wxPoint
*arg2
= 0 ;
31201 long *arg4
= (long *) 0 ;
31207 int res3
= SWIG_TMPOBJ
;
31209 int res4
= SWIG_TMPOBJ
;
31210 PyObject
* obj0
= 0 ;
31211 PyObject
* obj1
= 0 ;
31212 char * kwnames
[] = {
31213 (char *) "self",(char *) "point", NULL
31218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31220 if (!SWIG_IsOK(res1
)) {
31221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31223 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31226 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31230 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31231 wxPyEndAllowThreads(__tstate
);
31232 if (PyErr_Occurred()) SWIG_fail
;
31234 resultobj
= SWIG_From_long(static_cast< long >(result
));
31235 if (SWIG_IsTmpObj(res3
)) {
31236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31238 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31241 if (SWIG_IsTmpObj(res4
)) {
31242 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31244 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31245 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31253 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31254 PyObject
*resultobj
= 0;
31255 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31256 wxListItem
*arg2
= 0 ;
31262 PyObject
* obj0
= 0 ;
31263 PyObject
* obj1
= 0 ;
31264 char * kwnames
[] = {
31265 (char *) "self",(char *) "info", NULL
31268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31270 if (!SWIG_IsOK(res1
)) {
31271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31273 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31275 if (!SWIG_IsOK(res2
)) {
31276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31281 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31284 result
= (long)(arg1
)->InsertItem(*arg2
);
31285 wxPyEndAllowThreads(__tstate
);
31286 if (PyErr_Occurred()) SWIG_fail
;
31288 resultobj
= SWIG_From_long(static_cast< long >(result
));
31295 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31296 PyObject
*resultobj
= 0;
31297 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31299 wxString
*arg3
= 0 ;
31300 int arg4
= (int) -1 ;
31306 bool temp3
= false ;
31309 PyObject
* obj0
= 0 ;
31310 PyObject
* obj1
= 0 ;
31311 PyObject
* obj2
= 0 ;
31312 PyObject
* obj3
= 0 ;
31313 char * kwnames
[] = {
31314 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31319 if (!SWIG_IsOK(res1
)) {
31320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31322 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31323 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31324 if (!SWIG_IsOK(ecode2
)) {
31325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31327 arg2
= static_cast< long >(val2
);
31329 arg3
= wxString_in_helper(obj2
);
31330 if (arg3
== NULL
) SWIG_fail
;
31334 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31335 if (!SWIG_IsOK(ecode4
)) {
31336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31338 arg4
= static_cast< int >(val4
);
31341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31342 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31343 wxPyEndAllowThreads(__tstate
);
31344 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= SWIG_From_long(static_cast< long >(result
));
31361 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31362 PyObject
*resultobj
= 0;
31363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31373 PyObject
* obj0
= 0 ;
31374 PyObject
* obj1
= 0 ;
31375 PyObject
* obj2
= 0 ;
31376 char * kwnames
[] = {
31377 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31382 if (!SWIG_IsOK(res1
)) {
31383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31385 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31386 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31387 if (!SWIG_IsOK(ecode2
)) {
31388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31390 arg2
= static_cast< long >(val2
);
31391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31392 if (!SWIG_IsOK(ecode3
)) {
31393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31395 arg3
= static_cast< int >(val3
);
31397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31398 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31399 wxPyEndAllowThreads(__tstate
);
31400 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= SWIG_From_long(static_cast< long >(result
));
31409 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31410 PyObject
*resultobj
= 0;
31411 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31413 wxString
*arg3
= 0 ;
31420 bool temp3
= false ;
31423 PyObject
* obj0
= 0 ;
31424 PyObject
* obj1
= 0 ;
31425 PyObject
* obj2
= 0 ;
31426 PyObject
* obj3
= 0 ;
31427 char * kwnames
[] = {
31428 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31433 if (!SWIG_IsOK(res1
)) {
31434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31436 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31437 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31438 if (!SWIG_IsOK(ecode2
)) {
31439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31441 arg2
= static_cast< long >(val2
);
31443 arg3
= wxString_in_helper(obj2
);
31444 if (arg3
== NULL
) SWIG_fail
;
31447 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31448 if (!SWIG_IsOK(ecode4
)) {
31449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31451 arg4
= static_cast< int >(val4
);
31453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31454 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31455 wxPyEndAllowThreads(__tstate
);
31456 if (PyErr_Occurred()) SWIG_fail
;
31458 resultobj
= SWIG_From_long(static_cast< long >(result
));
31473 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31474 PyObject
*resultobj
= 0;
31475 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31477 wxListItem
*arg3
= 0 ;
31485 PyObject
* obj0
= 0 ;
31486 PyObject
* obj1
= 0 ;
31487 PyObject
* obj2
= 0 ;
31488 char * kwnames
[] = {
31489 (char *) "self",(char *) "col",(char *) "info", NULL
31492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31494 if (!SWIG_IsOK(res1
)) {
31495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31497 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31498 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31499 if (!SWIG_IsOK(ecode2
)) {
31500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31502 arg2
= static_cast< long >(val2
);
31503 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31504 if (!SWIG_IsOK(res3
)) {
31505 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31510 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31513 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31514 wxPyEndAllowThreads(__tstate
);
31515 if (PyErr_Occurred()) SWIG_fail
;
31517 resultobj
= SWIG_From_long(static_cast< long >(result
));
31524 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31525 PyObject
*resultobj
= 0;
31526 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31528 wxString
*arg3
= 0 ;
31529 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31530 int arg5
= (int) -1 ;
31536 bool temp3
= false ;
31541 PyObject
* obj0
= 0 ;
31542 PyObject
* obj1
= 0 ;
31543 PyObject
* obj2
= 0 ;
31544 PyObject
* obj3
= 0 ;
31545 PyObject
* obj4
= 0 ;
31546 char * kwnames
[] = {
31547 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31552 if (!SWIG_IsOK(res1
)) {
31553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31555 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31556 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31557 if (!SWIG_IsOK(ecode2
)) {
31558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31560 arg2
= static_cast< long >(val2
);
31562 arg3
= wxString_in_helper(obj2
);
31563 if (arg3
== NULL
) SWIG_fail
;
31567 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31568 if (!SWIG_IsOK(ecode4
)) {
31569 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31571 arg4
= static_cast< int >(val4
);
31574 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31575 if (!SWIG_IsOK(ecode5
)) {
31576 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31578 arg5
= static_cast< int >(val5
);
31581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31582 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31583 wxPyEndAllowThreads(__tstate
);
31584 if (PyErr_Occurred()) SWIG_fail
;
31586 resultobj
= SWIG_From_long(static_cast< long >(result
));
31601 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31602 PyObject
*resultobj
= 0;
31603 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31609 PyObject
* obj0
= 0 ;
31610 PyObject
* obj1
= 0 ;
31611 char * kwnames
[] = {
31612 (char *) "self",(char *) "count", NULL
31615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31617 if (!SWIG_IsOK(res1
)) {
31618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31620 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31621 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31622 if (!SWIG_IsOK(ecode2
)) {
31623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31625 arg2
= static_cast< long >(val2
);
31627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31628 (arg1
)->SetItemCount(arg2
);
31629 wxPyEndAllowThreads(__tstate
);
31630 if (PyErr_Occurred()) SWIG_fail
;
31632 resultobj
= SWIG_Py_Void();
31639 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31640 PyObject
*resultobj
= 0;
31641 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31651 PyObject
* obj0
= 0 ;
31652 PyObject
* obj1
= 0 ;
31653 PyObject
* obj2
= 0 ;
31654 char * kwnames
[] = {
31655 (char *) "self",(char *) "dx",(char *) "dy", NULL
31658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31660 if (!SWIG_IsOK(res1
)) {
31661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31663 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31665 if (!SWIG_IsOK(ecode2
)) {
31666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31668 arg2
= static_cast< int >(val2
);
31669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31670 if (!SWIG_IsOK(ecode3
)) {
31671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31673 arg3
= static_cast< int >(val3
);
31675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31676 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31677 wxPyEndAllowThreads(__tstate
);
31678 if (PyErr_Occurred()) SWIG_fail
;
31681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31689 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31690 PyObject
*resultobj
= 0;
31691 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31693 wxColour
*arg3
= 0 ;
31699 PyObject
* obj0
= 0 ;
31700 PyObject
* obj1
= 0 ;
31701 PyObject
* obj2
= 0 ;
31702 char * kwnames
[] = {
31703 (char *) "self",(char *) "item",(char *) "col", NULL
31706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31708 if (!SWIG_IsOK(res1
)) {
31709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31711 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31712 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31713 if (!SWIG_IsOK(ecode2
)) {
31714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31716 arg2
= static_cast< long >(val2
);
31719 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31723 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31724 wxPyEndAllowThreads(__tstate
);
31725 if (PyErr_Occurred()) SWIG_fail
;
31727 resultobj
= SWIG_Py_Void();
31734 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31735 PyObject
*resultobj
= 0;
31736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31743 PyObject
* obj0
= 0 ;
31744 PyObject
* obj1
= 0 ;
31745 char * kwnames
[] = {
31746 (char *) "self",(char *) "item", NULL
31749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31751 if (!SWIG_IsOK(res1
)) {
31752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31754 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31755 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31756 if (!SWIG_IsOK(ecode2
)) {
31757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31759 arg2
= static_cast< long >(val2
);
31761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31762 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31763 wxPyEndAllowThreads(__tstate
);
31764 if (PyErr_Occurred()) SWIG_fail
;
31766 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31773 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31774 PyObject
*resultobj
= 0;
31775 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31777 wxColour
*arg3
= 0 ;
31783 PyObject
* obj0
= 0 ;
31784 PyObject
* obj1
= 0 ;
31785 PyObject
* obj2
= 0 ;
31786 char * kwnames
[] = {
31787 (char *) "self",(char *) "item",(char *) "col", NULL
31790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31792 if (!SWIG_IsOK(res1
)) {
31793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31795 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31796 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31797 if (!SWIG_IsOK(ecode2
)) {
31798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31800 arg2
= static_cast< long >(val2
);
31803 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31807 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31808 wxPyEndAllowThreads(__tstate
);
31809 if (PyErr_Occurred()) SWIG_fail
;
31811 resultobj
= SWIG_Py_Void();
31818 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31819 PyObject
*resultobj
= 0;
31820 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31827 PyObject
* obj0
= 0 ;
31828 PyObject
* obj1
= 0 ;
31829 char * kwnames
[] = {
31830 (char *) "self",(char *) "item", NULL
31833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31835 if (!SWIG_IsOK(res1
)) {
31836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31838 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31839 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31840 if (!SWIG_IsOK(ecode2
)) {
31841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31843 arg2
= static_cast< long >(val2
);
31845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31846 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31847 wxPyEndAllowThreads(__tstate
);
31848 if (PyErr_Occurred()) SWIG_fail
;
31850 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31857 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31858 PyObject
*resultobj
= 0;
31859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31868 PyObject
* obj0
= 0 ;
31869 PyObject
* obj1
= 0 ;
31870 PyObject
* obj2
= 0 ;
31871 char * kwnames
[] = {
31872 (char *) "self",(char *) "item",(char *) "f", NULL
31875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31877 if (!SWIG_IsOK(res1
)) {
31878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31880 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31881 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31882 if (!SWIG_IsOK(ecode2
)) {
31883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31885 arg2
= static_cast< long >(val2
);
31886 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31887 if (!SWIG_IsOK(res3
)) {
31888 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31893 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31896 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31897 wxPyEndAllowThreads(__tstate
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31900 resultobj
= SWIG_Py_Void();
31907 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31908 PyObject
*resultobj
= 0;
31909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31916 PyObject
* obj0
= 0 ;
31917 PyObject
* obj1
= 0 ;
31918 char * kwnames
[] = {
31919 (char *) "self",(char *) "item", NULL
31922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31924 if (!SWIG_IsOK(res1
)) {
31925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31927 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31928 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31929 if (!SWIG_IsOK(ecode2
)) {
31930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31932 arg2
= static_cast< long >(val2
);
31934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31935 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31936 wxPyEndAllowThreads(__tstate
);
31937 if (PyErr_Occurred()) SWIG_fail
;
31939 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31946 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31947 PyObject
*resultobj
= 0;
31948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31949 PyObject
*arg2
= (PyObject
*) 0 ;
31953 PyObject
* obj0
= 0 ;
31954 PyObject
* obj1
= 0 ;
31955 char * kwnames
[] = {
31956 (char *) "self",(char *) "func", NULL
31959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31961 if (!SWIG_IsOK(res1
)) {
31962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31964 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31968 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31969 wxPyEndAllowThreads(__tstate
);
31970 if (PyErr_Occurred()) SWIG_fail
;
31973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31981 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31982 PyObject
*resultobj
= 0;
31983 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31984 wxWindow
*result
= 0 ;
31987 PyObject
*swig_obj
[1] ;
31989 if (!args
) SWIG_fail
;
31990 swig_obj
[0] = args
;
31991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31992 if (!SWIG_IsOK(res1
)) {
31993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31995 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31998 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31999 wxPyEndAllowThreads(__tstate
);
32000 if (PyErr_Occurred()) SWIG_fail
;
32003 resultobj
= wxPyMake_wxObject(result
, 0);
32011 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32012 PyObject
*resultobj
= 0;
32013 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32014 SwigValueWrapper
<wxVisualAttributes
> result
;
32017 PyObject
* obj0
= 0 ;
32018 char * kwnames
[] = {
32019 (char *) "variant", NULL
32022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32024 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32025 if (!SWIG_IsOK(ecode1
)) {
32026 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32028 arg1
= static_cast< wxWindowVariant
>(val1
);
32031 if (!wxPyCheckForApp()) SWIG_fail
;
32032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32033 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32037 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32044 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32047 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32048 return SWIG_Py_Void();
32051 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32052 return SWIG_Python_InitShadowInstance(args
);
32055 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32056 PyObject
*resultobj
= 0;
32057 wxWindow
*arg1
= (wxWindow
*) 0 ;
32058 int arg2
= (int) -1 ;
32059 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32060 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32061 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32062 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32063 long arg5
= (long) wxLC_REPORT
;
32064 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32065 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32066 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32067 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32068 wxListView
*result
= 0 ;
32079 bool temp7
= false ;
32080 PyObject
* obj0
= 0 ;
32081 PyObject
* obj1
= 0 ;
32082 PyObject
* obj2
= 0 ;
32083 PyObject
* obj3
= 0 ;
32084 PyObject
* obj4
= 0 ;
32085 PyObject
* obj5
= 0 ;
32086 PyObject
* obj6
= 0 ;
32087 char * kwnames
[] = {
32088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32093 if (!SWIG_IsOK(res1
)) {
32094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32096 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32099 if (!SWIG_IsOK(ecode2
)) {
32100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32102 arg2
= static_cast< int >(val2
);
32107 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32113 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32117 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32118 if (!SWIG_IsOK(ecode5
)) {
32119 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32121 arg5
= static_cast< long >(val5
);
32124 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32125 if (!SWIG_IsOK(res6
)) {
32126 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32131 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32135 arg7
= wxString_in_helper(obj6
);
32136 if (arg7
== NULL
) SWIG_fail
;
32141 if (!wxPyCheckForApp()) SWIG_fail
;
32142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32143 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32144 wxPyEndAllowThreads(__tstate
);
32145 if (PyErr_Occurred()) SWIG_fail
;
32147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32162 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32163 PyObject
*resultobj
= 0;
32164 wxListView
*result
= 0 ;
32166 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32168 if (!wxPyCheckForApp()) SWIG_fail
;
32169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32170 result
= (wxListView
*)new wxListView();
32171 wxPyEndAllowThreads(__tstate
);
32172 if (PyErr_Occurred()) SWIG_fail
;
32174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32181 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32182 PyObject
*resultobj
= 0;
32183 wxListView
*arg1
= (wxListView
*) 0 ;
32184 wxWindow
*arg2
= (wxWindow
*) 0 ;
32185 int arg3
= (int) -1 ;
32186 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32187 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32188 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32189 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32190 long arg6
= (long) wxLC_REPORT
;
32191 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32192 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32193 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32194 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32208 bool temp8
= false ;
32209 PyObject
* obj0
= 0 ;
32210 PyObject
* obj1
= 0 ;
32211 PyObject
* obj2
= 0 ;
32212 PyObject
* obj3
= 0 ;
32213 PyObject
* obj4
= 0 ;
32214 PyObject
* obj5
= 0 ;
32215 PyObject
* obj6
= 0 ;
32216 PyObject
* obj7
= 0 ;
32217 char * kwnames
[] = {
32218 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32223 if (!SWIG_IsOK(res1
)) {
32224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32226 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32227 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32228 if (!SWIG_IsOK(res2
)) {
32229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32231 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32234 if (!SWIG_IsOK(ecode3
)) {
32235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32237 arg3
= static_cast< int >(val3
);
32242 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32248 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32252 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32253 if (!SWIG_IsOK(ecode6
)) {
32254 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32256 arg6
= static_cast< long >(val6
);
32259 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32260 if (!SWIG_IsOK(res7
)) {
32261 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32266 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32270 arg8
= wxString_in_helper(obj7
);
32271 if (arg8
== NULL
) SWIG_fail
;
32276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32277 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32278 wxPyEndAllowThreads(__tstate
);
32279 if (PyErr_Occurred()) SWIG_fail
;
32282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32298 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32299 PyObject
*resultobj
= 0;
32300 wxListView
*arg1
= (wxListView
*) 0 ;
32302 bool arg3
= (bool) true ;
32309 PyObject
* obj0
= 0 ;
32310 PyObject
* obj1
= 0 ;
32311 PyObject
* obj2
= 0 ;
32312 char * kwnames
[] = {
32313 (char *) "self",(char *) "n",(char *) "on", NULL
32316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32318 if (!SWIG_IsOK(res1
)) {
32319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32321 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32322 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32323 if (!SWIG_IsOK(ecode2
)) {
32324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32326 arg2
= static_cast< long >(val2
);
32328 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32329 if (!SWIG_IsOK(ecode3
)) {
32330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32332 arg3
= static_cast< bool >(val3
);
32335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32336 (arg1
)->Select(arg2
,arg3
);
32337 wxPyEndAllowThreads(__tstate
);
32338 if (PyErr_Occurred()) SWIG_fail
;
32340 resultobj
= SWIG_Py_Void();
32347 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32348 PyObject
*resultobj
= 0;
32349 wxListView
*arg1
= (wxListView
*) 0 ;
32355 PyObject
* obj0
= 0 ;
32356 PyObject
* obj1
= 0 ;
32357 char * kwnames
[] = {
32358 (char *) "self",(char *) "index", NULL
32361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32363 if (!SWIG_IsOK(res1
)) {
32364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32366 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32367 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32368 if (!SWIG_IsOK(ecode2
)) {
32369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32371 arg2
= static_cast< long >(val2
);
32373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32374 (arg1
)->Focus(arg2
);
32375 wxPyEndAllowThreads(__tstate
);
32376 if (PyErr_Occurred()) SWIG_fail
;
32378 resultobj
= SWIG_Py_Void();
32385 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32386 PyObject
*resultobj
= 0;
32387 wxListView
*arg1
= (wxListView
*) 0 ;
32391 PyObject
*swig_obj
[1] ;
32393 if (!args
) SWIG_fail
;
32394 swig_obj
[0] = args
;
32395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32396 if (!SWIG_IsOK(res1
)) {
32397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32399 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32402 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 resultobj
= SWIG_From_long(static_cast< long >(result
));
32413 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
= 0;
32415 wxListView
*arg1
= (wxListView
*) 0 ;
32422 PyObject
* obj0
= 0 ;
32423 PyObject
* obj1
= 0 ;
32424 char * kwnames
[] = {
32425 (char *) "self",(char *) "item", NULL
32428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32430 if (!SWIG_IsOK(res1
)) {
32431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32433 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32434 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32435 if (!SWIG_IsOK(ecode2
)) {
32436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32438 arg2
= static_cast< long >(val2
);
32440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32441 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32442 wxPyEndAllowThreads(__tstate
);
32443 if (PyErr_Occurred()) SWIG_fail
;
32445 resultobj
= SWIG_From_long(static_cast< long >(result
));
32452 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32453 PyObject
*resultobj
= 0;
32454 wxListView
*arg1
= (wxListView
*) 0 ;
32458 PyObject
*swig_obj
[1] ;
32460 if (!args
) SWIG_fail
;
32461 swig_obj
[0] = args
;
32462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32463 if (!SWIG_IsOK(res1
)) {
32464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32466 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32469 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32470 wxPyEndAllowThreads(__tstate
);
32471 if (PyErr_Occurred()) SWIG_fail
;
32473 resultobj
= SWIG_From_long(static_cast< long >(result
));
32480 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32481 PyObject
*resultobj
= 0;
32482 wxListView
*arg1
= (wxListView
*) 0 ;
32489 PyObject
* obj0
= 0 ;
32490 PyObject
* obj1
= 0 ;
32491 char * kwnames
[] = {
32492 (char *) "self",(char *) "index", NULL
32495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32497 if (!SWIG_IsOK(res1
)) {
32498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32500 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32501 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32502 if (!SWIG_IsOK(ecode2
)) {
32503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32505 arg2
= static_cast< long >(val2
);
32507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32508 result
= (bool)(arg1
)->IsSelected(arg2
);
32509 wxPyEndAllowThreads(__tstate
);
32510 if (PyErr_Occurred()) SWIG_fail
;
32513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32521 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32522 PyObject
*resultobj
= 0;
32523 wxListView
*arg1
= (wxListView
*) 0 ;
32532 PyObject
* obj0
= 0 ;
32533 PyObject
* obj1
= 0 ;
32534 PyObject
* obj2
= 0 ;
32535 char * kwnames
[] = {
32536 (char *) "self",(char *) "col",(char *) "image", NULL
32539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32541 if (!SWIG_IsOK(res1
)) {
32542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32544 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32546 if (!SWIG_IsOK(ecode2
)) {
32547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32549 arg2
= static_cast< int >(val2
);
32550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32551 if (!SWIG_IsOK(ecode3
)) {
32552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32554 arg3
= static_cast< int >(val3
);
32556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32557 (arg1
)->SetColumnImage(arg2
,arg3
);
32558 wxPyEndAllowThreads(__tstate
);
32559 if (PyErr_Occurred()) SWIG_fail
;
32561 resultobj
= SWIG_Py_Void();
32568 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32569 PyObject
*resultobj
= 0;
32570 wxListView
*arg1
= (wxListView
*) 0 ;
32576 PyObject
* obj0
= 0 ;
32577 PyObject
* obj1
= 0 ;
32578 char * kwnames
[] = {
32579 (char *) "self",(char *) "col", NULL
32582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32584 if (!SWIG_IsOK(res1
)) {
32585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32587 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32589 if (!SWIG_IsOK(ecode2
)) {
32590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32592 arg2
= static_cast< int >(val2
);
32594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32595 (arg1
)->ClearColumnImage(arg2
);
32596 wxPyEndAllowThreads(__tstate
);
32597 if (PyErr_Occurred()) SWIG_fail
;
32599 resultobj
= SWIG_Py_Void();
32606 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32609 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32610 return SWIG_Py_Void();
32613 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32614 return SWIG_Python_InitShadowInstance(args
);
32617 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32618 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32623 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32624 PyObject
*pyobj
= 0;
32628 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32630 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32637 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32638 PyObject
*resultobj
= 0;
32639 wxTreeItemId
*result
= 0 ;
32641 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32644 result
= (wxTreeItemId
*)new wxTreeItemId();
32645 wxPyEndAllowThreads(__tstate
);
32646 if (PyErr_Occurred()) SWIG_fail
;
32648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32655 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32656 PyObject
*resultobj
= 0;
32657 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32660 PyObject
*swig_obj
[1] ;
32662 if (!args
) SWIG_fail
;
32663 swig_obj
[0] = args
;
32664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32665 if (!SWIG_IsOK(res1
)) {
32666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32668 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32673 wxPyEndAllowThreads(__tstate
);
32674 if (PyErr_Occurred()) SWIG_fail
;
32676 resultobj
= SWIG_Py_Void();
32683 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32684 PyObject
*resultobj
= 0;
32685 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32689 PyObject
*swig_obj
[1] ;
32691 if (!args
) SWIG_fail
;
32692 swig_obj
[0] = args
;
32693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32694 if (!SWIG_IsOK(res1
)) {
32695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32697 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32700 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32701 wxPyEndAllowThreads(__tstate
);
32702 if (PyErr_Occurred()) SWIG_fail
;
32705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32713 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32714 PyObject
*resultobj
= 0;
32715 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32716 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32722 PyObject
* obj0
= 0 ;
32723 PyObject
* obj1
= 0 ;
32724 char * kwnames
[] = {
32725 (char *) "self",(char *) "other", NULL
32728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32730 if (!SWIG_IsOK(res1
)) {
32731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32733 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32734 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32735 if (!SWIG_IsOK(res2
)) {
32736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32738 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32741 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32742 wxPyEndAllowThreads(__tstate
);
32743 if (PyErr_Occurred()) SWIG_fail
;
32746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32754 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32755 PyObject
*resultobj
= 0;
32756 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32757 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32763 PyObject
* obj0
= 0 ;
32764 PyObject
* obj1
= 0 ;
32765 char * kwnames
[] = {
32766 (char *) "self",(char *) "other", NULL
32769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32771 if (!SWIG_IsOK(res1
)) {
32772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32774 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32776 if (!SWIG_IsOK(res2
)) {
32777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32779 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32782 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32783 wxPyEndAllowThreads(__tstate
);
32784 if (PyErr_Occurred()) SWIG_fail
;
32787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32795 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32796 PyObject
*resultobj
= 0;
32797 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32798 void *arg2
= (void *) 0 ;
32802 PyObject
*swig_obj
[2] ;
32804 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32806 if (!SWIG_IsOK(res1
)) {
32807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32809 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32810 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32811 if (!SWIG_IsOK(res2
)) {
32812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32814 if (arg1
) (arg1
)->m_pItem
= arg2
;
32816 resultobj
= SWIG_Py_Void();
32823 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32824 PyObject
*resultobj
= 0;
32825 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32829 PyObject
*swig_obj
[1] ;
32831 if (!args
) SWIG_fail
;
32832 swig_obj
[0] = args
;
32833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32834 if (!SWIG_IsOK(res1
)) {
32835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32837 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32838 result
= (void *) ((arg1
)->m_pItem
);
32839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32846 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32848 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32849 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32850 return SWIG_Py_Void();
32853 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32854 return SWIG_Python_InitShadowInstance(args
);
32857 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32858 PyObject
*resultobj
= 0;
32859 PyObject
*arg1
= (PyObject
*) NULL
;
32860 wxPyTreeItemData
*result
= 0 ;
32861 PyObject
* obj0
= 0 ;
32862 char * kwnames
[] = {
32863 (char *) "obj", NULL
32866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32872 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32873 wxPyEndAllowThreads(__tstate
);
32874 if (PyErr_Occurred()) SWIG_fail
;
32876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32883 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32884 PyObject
*resultobj
= 0;
32885 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32888 PyObject
*swig_obj
[1] ;
32890 if (!args
) SWIG_fail
;
32891 swig_obj
[0] = args
;
32892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32893 if (!SWIG_IsOK(res1
)) {
32894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32896 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32901 wxPyEndAllowThreads(__tstate
);
32902 if (PyErr_Occurred()) SWIG_fail
;
32904 resultobj
= SWIG_Py_Void();
32911 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32912 PyObject
*resultobj
= 0;
32913 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32914 PyObject
*result
= 0 ;
32917 PyObject
*swig_obj
[1] ;
32919 if (!args
) SWIG_fail
;
32920 swig_obj
[0] = args
;
32921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32922 if (!SWIG_IsOK(res1
)) {
32923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32925 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32928 result
= (PyObject
*)(arg1
)->GetData();
32929 wxPyEndAllowThreads(__tstate
);
32930 if (PyErr_Occurred()) SWIG_fail
;
32932 resultobj
= result
;
32939 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32940 PyObject
*resultobj
= 0;
32941 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32942 PyObject
*arg2
= (PyObject
*) 0 ;
32945 PyObject
* obj0
= 0 ;
32946 PyObject
* obj1
= 0 ;
32947 char * kwnames
[] = {
32948 (char *) "self",(char *) "obj", NULL
32951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32953 if (!SWIG_IsOK(res1
)) {
32954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32956 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32960 (arg1
)->SetData(arg2
);
32961 wxPyEndAllowThreads(__tstate
);
32962 if (PyErr_Occurred()) SWIG_fail
;
32964 resultobj
= SWIG_Py_Void();
32971 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32972 PyObject
*resultobj
= 0;
32973 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32974 wxTreeItemId
*result
= 0 ;
32977 PyObject
*swig_obj
[1] ;
32979 if (!args
) SWIG_fail
;
32980 swig_obj
[0] = args
;
32981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32982 if (!SWIG_IsOK(res1
)) {
32983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32985 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32989 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32990 result
= (wxTreeItemId
*) &_result_ref
;
32992 wxPyEndAllowThreads(__tstate
);
32993 if (PyErr_Occurred()) SWIG_fail
;
32995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33002 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33003 PyObject
*resultobj
= 0;
33004 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33005 wxTreeItemId
*arg2
= 0 ;
33010 PyObject
* obj0
= 0 ;
33011 PyObject
* obj1
= 0 ;
33012 char * kwnames
[] = {
33013 (char *) "self",(char *) "id", NULL
33016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33018 if (!SWIG_IsOK(res1
)) {
33019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33021 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33022 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33023 if (!SWIG_IsOK(res2
)) {
33024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33029 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33032 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33033 wxPyEndAllowThreads(__tstate
);
33034 if (PyErr_Occurred()) SWIG_fail
;
33036 resultobj
= SWIG_Py_Void();
33043 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33044 PyObject
*resultobj
= 0;
33045 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33048 PyObject
*swig_obj
[1] ;
33050 if (!args
) SWIG_fail
;
33051 swig_obj
[0] = args
;
33052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33053 if (!SWIG_IsOK(res1
)) {
33054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33056 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33059 wxPyTreeItemData_Destroy(arg1
);
33060 wxPyEndAllowThreads(__tstate
);
33061 if (PyErr_Occurred()) SWIG_fail
;
33063 resultobj
= SWIG_Py_Void();
33070 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33073 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33074 return SWIG_Py_Void();
33077 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33078 return SWIG_Python_InitShadowInstance(args
);
33081 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33084 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33085 if (!SWIG_IsOK(res
)) {
33086 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33091 wxTreeItemId
* temp
;
33092 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33093 wxNullTreeItemId
= *temp
;
33094 if (SWIG_IsNewObj(res
)) delete temp
;
33103 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33104 PyObject
*pyobj
= 0;
33106 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33111 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33112 PyObject
*resultobj
= 0;
33113 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33114 int arg2
= (int) 0 ;
33115 wxTreeEvent
*result
= 0 ;
33121 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33123 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33124 if (!SWIG_IsOK(ecode1
)) {
33125 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33127 arg1
= static_cast< wxEventType
>(val1
);
33130 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33131 if (!SWIG_IsOK(ecode2
)) {
33132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33134 arg2
= static_cast< int >(val2
);
33137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33138 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33139 wxPyEndAllowThreads(__tstate
);
33140 if (PyErr_Occurred()) SWIG_fail
;
33142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33149 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33150 PyObject
*resultobj
= 0;
33152 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33153 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33154 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33155 wxTreeEvent
*result
= 0 ;
33163 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33164 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33165 if (!SWIG_IsOK(ecode1
)) {
33166 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33168 arg1
= static_cast< wxEventType
>(val1
);
33169 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33170 if (!SWIG_IsOK(res2
)) {
33171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33173 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33175 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33176 if (!SWIG_IsOK(res3
)) {
33177 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33182 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33186 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33187 wxPyEndAllowThreads(__tstate
);
33188 if (PyErr_Occurred()) SWIG_fail
;
33190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33197 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33201 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33203 if ((argc
>= 0) && (argc
<= 2)) {
33208 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33209 _v
= SWIG_CheckState(res
);
33212 if (!_v
) goto check_1
;
33214 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33218 if ((argc
>= 2) && (argc
<= 3)) {
33219 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33223 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33228 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33229 PyObject
*resultobj
= 0;
33230 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33231 wxTreeItemId result
;
33234 PyObject
*swig_obj
[1] ;
33236 if (!args
) SWIG_fail
;
33237 swig_obj
[0] = args
;
33238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33239 if (!SWIG_IsOK(res1
)) {
33240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33242 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33245 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33246 wxPyEndAllowThreads(__tstate
);
33247 if (PyErr_Occurred()) SWIG_fail
;
33249 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33256 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33257 PyObject
*resultobj
= 0;
33258 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33259 wxTreeItemId
*arg2
= 0 ;
33264 PyObject
* obj0
= 0 ;
33265 PyObject
* obj1
= 0 ;
33266 char * kwnames
[] = {
33267 (char *) "self",(char *) "item", NULL
33270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33272 if (!SWIG_IsOK(res1
)) {
33273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33275 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33277 if (!SWIG_IsOK(res2
)) {
33278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33283 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33286 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33287 wxPyEndAllowThreads(__tstate
);
33288 if (PyErr_Occurred()) SWIG_fail
;
33290 resultobj
= SWIG_Py_Void();
33297 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33298 PyObject
*resultobj
= 0;
33299 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33300 wxTreeItemId result
;
33303 PyObject
*swig_obj
[1] ;
33305 if (!args
) SWIG_fail
;
33306 swig_obj
[0] = args
;
33307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33308 if (!SWIG_IsOK(res1
)) {
33309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33311 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33314 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33315 wxPyEndAllowThreads(__tstate
);
33316 if (PyErr_Occurred()) SWIG_fail
;
33318 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33325 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33326 PyObject
*resultobj
= 0;
33327 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33328 wxTreeItemId
*arg2
= 0 ;
33333 PyObject
* obj0
= 0 ;
33334 PyObject
* obj1
= 0 ;
33335 char * kwnames
[] = {
33336 (char *) "self",(char *) "item", NULL
33339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33341 if (!SWIG_IsOK(res1
)) {
33342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33344 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33345 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33346 if (!SWIG_IsOK(res2
)) {
33347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33352 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33355 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33356 wxPyEndAllowThreads(__tstate
);
33357 if (PyErr_Occurred()) SWIG_fail
;
33359 resultobj
= SWIG_Py_Void();
33366 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33367 PyObject
*resultobj
= 0;
33368 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33372 PyObject
*swig_obj
[1] ;
33374 if (!args
) SWIG_fail
;
33375 swig_obj
[0] = args
;
33376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33377 if (!SWIG_IsOK(res1
)) {
33378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33380 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33383 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33384 wxPyEndAllowThreads(__tstate
);
33385 if (PyErr_Occurred()) SWIG_fail
;
33387 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33394 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33395 PyObject
*resultobj
= 0;
33396 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33397 wxPoint
*arg2
= 0 ;
33401 PyObject
* obj0
= 0 ;
33402 PyObject
* obj1
= 0 ;
33403 char * kwnames
[] = {
33404 (char *) "self",(char *) "pt", NULL
33407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33409 if (!SWIG_IsOK(res1
)) {
33410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33412 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33415 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33419 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33420 wxPyEndAllowThreads(__tstate
);
33421 if (PyErr_Occurred()) SWIG_fail
;
33423 resultobj
= SWIG_Py_Void();
33430 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33431 PyObject
*resultobj
= 0;
33432 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33433 wxKeyEvent
*result
= 0 ;
33436 PyObject
*swig_obj
[1] ;
33438 if (!args
) SWIG_fail
;
33439 swig_obj
[0] = args
;
33440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33441 if (!SWIG_IsOK(res1
)) {
33442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33444 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33448 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33449 result
= (wxKeyEvent
*) &_result_ref
;
33451 wxPyEndAllowThreads(__tstate
);
33452 if (PyErr_Occurred()) SWIG_fail
;
33454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33461 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33462 PyObject
*resultobj
= 0;
33463 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33467 PyObject
*swig_obj
[1] ;
33469 if (!args
) SWIG_fail
;
33470 swig_obj
[0] = args
;
33471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33472 if (!SWIG_IsOK(res1
)) {
33473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33475 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33478 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33479 wxPyEndAllowThreads(__tstate
);
33480 if (PyErr_Occurred()) SWIG_fail
;
33482 resultobj
= SWIG_From_int(static_cast< int >(result
));
33489 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33490 PyObject
*resultobj
= 0;
33491 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33492 wxKeyEvent
*arg2
= 0 ;
33497 PyObject
* obj0
= 0 ;
33498 PyObject
* obj1
= 0 ;
33499 char * kwnames
[] = {
33500 (char *) "self",(char *) "evt", NULL
33503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33505 if (!SWIG_IsOK(res1
)) {
33506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33508 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33510 if (!SWIG_IsOK(res2
)) {
33511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33516 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33519 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33520 wxPyEndAllowThreads(__tstate
);
33521 if (PyErr_Occurred()) SWIG_fail
;
33523 resultobj
= SWIG_Py_Void();
33530 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33531 PyObject
*resultobj
= 0;
33532 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33533 wxString
*result
= 0 ;
33536 PyObject
*swig_obj
[1] ;
33538 if (!args
) SWIG_fail
;
33539 swig_obj
[0] = args
;
33540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33541 if (!SWIG_IsOK(res1
)) {
33542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33544 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33548 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33549 result
= (wxString
*) &_result_ref
;
33551 wxPyEndAllowThreads(__tstate
);
33552 if (PyErr_Occurred()) SWIG_fail
;
33556 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33558 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33567 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33568 PyObject
*resultobj
= 0;
33569 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33570 wxString
*arg2
= 0 ;
33573 bool temp2
= false ;
33574 PyObject
* obj0
= 0 ;
33575 PyObject
* obj1
= 0 ;
33576 char * kwnames
[] = {
33577 (char *) "self",(char *) "label", NULL
33580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33582 if (!SWIG_IsOK(res1
)) {
33583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33585 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33587 arg2
= wxString_in_helper(obj1
);
33588 if (arg2
== NULL
) SWIG_fail
;
33592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33593 (arg1
)->SetLabel((wxString
const &)*arg2
);
33594 wxPyEndAllowThreads(__tstate
);
33595 if (PyErr_Occurred()) SWIG_fail
;
33597 resultobj
= SWIG_Py_Void();
33612 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33613 PyObject
*resultobj
= 0;
33614 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33618 PyObject
*swig_obj
[1] ;
33620 if (!args
) SWIG_fail
;
33621 swig_obj
[0] = args
;
33622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33623 if (!SWIG_IsOK(res1
)) {
33624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33626 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33629 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33630 wxPyEndAllowThreads(__tstate
);
33631 if (PyErr_Occurred()) SWIG_fail
;
33634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33642 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33643 PyObject
*resultobj
= 0;
33644 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33650 PyObject
* obj0
= 0 ;
33651 PyObject
* obj1
= 0 ;
33652 char * kwnames
[] = {
33653 (char *) "self",(char *) "editCancelled", NULL
33656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",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_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33661 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33662 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33663 if (!SWIG_IsOK(ecode2
)) {
33664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33666 arg2
= static_cast< bool >(val2
);
33668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33669 (arg1
)->SetEditCanceled(arg2
);
33670 wxPyEndAllowThreads(__tstate
);
33671 if (PyErr_Occurred()) SWIG_fail
;
33673 resultobj
= SWIG_Py_Void();
33680 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33681 PyObject
*resultobj
= 0;
33682 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33683 wxString
*arg2
= 0 ;
33686 bool temp2
= false ;
33687 PyObject
* obj0
= 0 ;
33688 PyObject
* obj1
= 0 ;
33689 char * kwnames
[] = {
33690 (char *) "self",(char *) "toolTip", NULL
33693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33695 if (!SWIG_IsOK(res1
)) {
33696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33698 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33700 arg2
= wxString_in_helper(obj1
);
33701 if (arg2
== NULL
) SWIG_fail
;
33705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33706 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33707 wxPyEndAllowThreads(__tstate
);
33708 if (PyErr_Occurred()) SWIG_fail
;
33710 resultobj
= SWIG_Py_Void();
33725 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33726 PyObject
*resultobj
= 0;
33727 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33731 PyObject
*swig_obj
[1] ;
33733 if (!args
) SWIG_fail
;
33734 swig_obj
[0] = args
;
33735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33736 if (!SWIG_IsOK(res1
)) {
33737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33739 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33742 result
= (arg1
)->GetToolTip();
33743 wxPyEndAllowThreads(__tstate
);
33744 if (PyErr_Occurred()) SWIG_fail
;
33748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33759 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33762 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33763 return SWIG_Py_Void();
33766 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33767 return SWIG_Python_InitShadowInstance(args
);
33770 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33771 PyObject
*resultobj
= 0;
33772 wxWindow
*arg1
= (wxWindow
*) 0 ;
33773 int arg2
= (int) -1 ;
33774 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33775 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33776 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33777 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33778 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33779 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33780 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33781 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33782 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33783 wxPyTreeCtrl
*result
= 0 ;
33794 bool temp7
= false ;
33795 PyObject
* obj0
= 0 ;
33796 PyObject
* obj1
= 0 ;
33797 PyObject
* obj2
= 0 ;
33798 PyObject
* obj3
= 0 ;
33799 PyObject
* obj4
= 0 ;
33800 PyObject
* obj5
= 0 ;
33801 PyObject
* obj6
= 0 ;
33802 char * kwnames
[] = {
33803 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33808 if (!SWIG_IsOK(res1
)) {
33809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33811 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33814 if (!SWIG_IsOK(ecode2
)) {
33815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33817 arg2
= static_cast< int >(val2
);
33822 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33828 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33832 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33833 if (!SWIG_IsOK(ecode5
)) {
33834 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33836 arg5
= static_cast< long >(val5
);
33839 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33840 if (!SWIG_IsOK(res6
)) {
33841 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33846 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33850 arg7
= wxString_in_helper(obj6
);
33851 if (arg7
== NULL
) SWIG_fail
;
33856 if (!wxPyCheckForApp()) SWIG_fail
;
33857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33858 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33859 wxPyEndAllowThreads(__tstate
);
33860 if (PyErr_Occurred()) SWIG_fail
;
33862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33877 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33878 PyObject
*resultobj
= 0;
33879 wxPyTreeCtrl
*result
= 0 ;
33881 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33883 if (!wxPyCheckForApp()) SWIG_fail
;
33884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33885 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33886 wxPyEndAllowThreads(__tstate
);
33887 if (PyErr_Occurred()) SWIG_fail
;
33889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33896 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33897 PyObject
*resultobj
= 0;
33898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33899 wxWindow
*arg2
= (wxWindow
*) 0 ;
33900 int arg3
= (int) -1 ;
33901 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33902 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33903 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33904 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33905 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33906 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33907 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33908 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33909 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33923 bool temp8
= false ;
33924 PyObject
* obj0
= 0 ;
33925 PyObject
* obj1
= 0 ;
33926 PyObject
* obj2
= 0 ;
33927 PyObject
* obj3
= 0 ;
33928 PyObject
* obj4
= 0 ;
33929 PyObject
* obj5
= 0 ;
33930 PyObject
* obj6
= 0 ;
33931 PyObject
* obj7
= 0 ;
33932 char * kwnames
[] = {
33933 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33938 if (!SWIG_IsOK(res1
)) {
33939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33941 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33942 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33943 if (!SWIG_IsOK(res2
)) {
33944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33946 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33949 if (!SWIG_IsOK(ecode3
)) {
33950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33952 arg3
= static_cast< int >(val3
);
33957 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33963 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33967 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33968 if (!SWIG_IsOK(ecode6
)) {
33969 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33971 arg6
= static_cast< long >(val6
);
33974 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33975 if (!SWIG_IsOK(res7
)) {
33976 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33981 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33985 arg8
= wxString_in_helper(obj7
);
33986 if (arg8
== NULL
) SWIG_fail
;
33991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33992 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33993 wxPyEndAllowThreads(__tstate
);
33994 if (PyErr_Occurred()) SWIG_fail
;
33997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34013 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34014 PyObject
*resultobj
= 0;
34015 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34016 PyObject
*arg2
= (PyObject
*) 0 ;
34017 PyObject
*arg3
= (PyObject
*) 0 ;
34020 PyObject
* obj0
= 0 ;
34021 PyObject
* obj1
= 0 ;
34022 PyObject
* obj2
= 0 ;
34023 char * kwnames
[] = {
34024 (char *) "self",(char *) "self",(char *) "_class", NULL
34027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34029 if (!SWIG_IsOK(res1
)) {
34030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34032 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34037 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34038 wxPyEndAllowThreads(__tstate
);
34039 if (PyErr_Occurred()) SWIG_fail
;
34041 resultobj
= SWIG_Py_Void();
34048 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34049 PyObject
*resultobj
= 0;
34050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34051 unsigned int result
;
34054 PyObject
*swig_obj
[1] ;
34056 if (!args
) SWIG_fail
;
34057 swig_obj
[0] = args
;
34058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34059 if (!SWIG_IsOK(res1
)) {
34060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34062 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34065 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34066 wxPyEndAllowThreads(__tstate
);
34067 if (PyErr_Occurred()) SWIG_fail
;
34069 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34076 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34077 PyObject
*resultobj
= 0;
34078 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34079 unsigned int result
;
34082 PyObject
*swig_obj
[1] ;
34084 if (!args
) SWIG_fail
;
34085 swig_obj
[0] = args
;
34086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34087 if (!SWIG_IsOK(res1
)) {
34088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34090 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34093 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34094 wxPyEndAllowThreads(__tstate
);
34095 if (PyErr_Occurred()) SWIG_fail
;
34097 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34104 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34105 PyObject
*resultobj
= 0;
34106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34107 unsigned int arg2
;
34110 unsigned int val2
;
34112 PyObject
* obj0
= 0 ;
34113 PyObject
* obj1
= 0 ;
34114 char * kwnames
[] = {
34115 (char *) "self",(char *) "indent", NULL
34118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34120 if (!SWIG_IsOK(res1
)) {
34121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34123 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34124 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34125 if (!SWIG_IsOK(ecode2
)) {
34126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34128 arg2
= static_cast< unsigned int >(val2
);
34130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34131 (arg1
)->SetIndent(arg2
);
34132 wxPyEndAllowThreads(__tstate
);
34133 if (PyErr_Occurred()) SWIG_fail
;
34135 resultobj
= SWIG_Py_Void();
34142 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34143 PyObject
*resultobj
= 0;
34144 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34145 unsigned int result
;
34148 PyObject
*swig_obj
[1] ;
34150 if (!args
) SWIG_fail
;
34151 swig_obj
[0] = args
;
34152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34153 if (!SWIG_IsOK(res1
)) {
34154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34156 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34159 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34160 wxPyEndAllowThreads(__tstate
);
34161 if (PyErr_Occurred()) SWIG_fail
;
34163 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34170 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34171 PyObject
*resultobj
= 0;
34172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34173 unsigned int arg2
;
34176 unsigned int val2
;
34178 PyObject
* obj0
= 0 ;
34179 PyObject
* obj1
= 0 ;
34180 char * kwnames
[] = {
34181 (char *) "self",(char *) "spacing", NULL
34184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34186 if (!SWIG_IsOK(res1
)) {
34187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34189 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34190 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34191 if (!SWIG_IsOK(ecode2
)) {
34192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34194 arg2
= static_cast< unsigned int >(val2
);
34196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34197 (arg1
)->SetSpacing(arg2
);
34198 wxPyEndAllowThreads(__tstate
);
34199 if (PyErr_Occurred()) SWIG_fail
;
34201 resultobj
= SWIG_Py_Void();
34208 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34209 PyObject
*resultobj
= 0;
34210 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34211 wxImageList
*result
= 0 ;
34214 PyObject
*swig_obj
[1] ;
34216 if (!args
) SWIG_fail
;
34217 swig_obj
[0] = args
;
34218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34219 if (!SWIG_IsOK(res1
)) {
34220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34222 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34225 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34226 wxPyEndAllowThreads(__tstate
);
34227 if (PyErr_Occurred()) SWIG_fail
;
34230 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34238 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34239 PyObject
*resultobj
= 0;
34240 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34241 wxImageList
*result
= 0 ;
34244 PyObject
*swig_obj
[1] ;
34246 if (!args
) SWIG_fail
;
34247 swig_obj
[0] = args
;
34248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34249 if (!SWIG_IsOK(res1
)) {
34250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34252 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34255 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34256 wxPyEndAllowThreads(__tstate
);
34257 if (PyErr_Occurred()) SWIG_fail
;
34260 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34268 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34269 PyObject
*resultobj
= 0;
34270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34271 wxImageList
*arg2
= (wxImageList
*) 0 ;
34276 PyObject
* obj0
= 0 ;
34277 PyObject
* obj1
= 0 ;
34278 char * kwnames
[] = {
34279 (char *) "self",(char *) "imageList", NULL
34282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34284 if (!SWIG_IsOK(res1
)) {
34285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34287 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34288 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34289 if (!SWIG_IsOK(res2
)) {
34290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34292 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34295 (arg1
)->SetImageList(arg2
);
34296 wxPyEndAllowThreads(__tstate
);
34297 if (PyErr_Occurred()) SWIG_fail
;
34299 resultobj
= SWIG_Py_Void();
34306 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34307 PyObject
*resultobj
= 0;
34308 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34309 wxImageList
*arg2
= (wxImageList
*) 0 ;
34314 PyObject
* obj0
= 0 ;
34315 PyObject
* obj1
= 0 ;
34316 char * kwnames
[] = {
34317 (char *) "self",(char *) "imageList", NULL
34320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34322 if (!SWIG_IsOK(res1
)) {
34323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34325 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34326 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34327 if (!SWIG_IsOK(res2
)) {
34328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34330 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34333 (arg1
)->SetStateImageList(arg2
);
34334 wxPyEndAllowThreads(__tstate
);
34335 if (PyErr_Occurred()) SWIG_fail
;
34337 resultobj
= SWIG_Py_Void();
34344 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34345 PyObject
*resultobj
= 0;
34346 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34347 wxImageList
*arg2
= (wxImageList
*) 0 ;
34351 PyObject
* obj0
= 0 ;
34352 PyObject
* obj1
= 0 ;
34353 char * kwnames
[] = {
34354 (char *) "self",(char *) "imageList", NULL
34357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34359 if (!SWIG_IsOK(res1
)) {
34360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34362 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34363 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34364 if (!SWIG_IsOK(res2
)) {
34365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34369 (arg1
)->AssignImageList(arg2
);
34370 wxPyEndAllowThreads(__tstate
);
34371 if (PyErr_Occurred()) SWIG_fail
;
34373 resultobj
= SWIG_Py_Void();
34380 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34381 PyObject
*resultobj
= 0;
34382 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34383 wxImageList
*arg2
= (wxImageList
*) 0 ;
34387 PyObject
* obj0
= 0 ;
34388 PyObject
* obj1
= 0 ;
34389 char * kwnames
[] = {
34390 (char *) "self",(char *) "imageList", NULL
34393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34395 if (!SWIG_IsOK(res1
)) {
34396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34398 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34399 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34400 if (!SWIG_IsOK(res2
)) {
34401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34405 (arg1
)->AssignStateImageList(arg2
);
34406 wxPyEndAllowThreads(__tstate
);
34407 if (PyErr_Occurred()) SWIG_fail
;
34409 resultobj
= SWIG_Py_Void();
34416 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34417 PyObject
*resultobj
= 0;
34418 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34419 wxTreeItemId
*arg2
= 0 ;
34425 PyObject
* obj0
= 0 ;
34426 PyObject
* obj1
= 0 ;
34427 char * kwnames
[] = {
34428 (char *) "self",(char *) "item", NULL
34431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34433 if (!SWIG_IsOK(res1
)) {
34434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34436 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34437 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34438 if (!SWIG_IsOK(res2
)) {
34439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34444 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34447 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34448 wxPyEndAllowThreads(__tstate
);
34449 if (PyErr_Occurred()) SWIG_fail
;
34453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34464 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34465 PyObject
*resultobj
= 0;
34466 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34467 wxTreeItemId
*arg2
= 0 ;
34468 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34476 PyObject
* obj0
= 0 ;
34477 PyObject
* obj1
= 0 ;
34478 PyObject
* obj2
= 0 ;
34479 char * kwnames
[] = {
34480 (char *) "self",(char *) "item",(char *) "which", NULL
34483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34485 if (!SWIG_IsOK(res1
)) {
34486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34488 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34490 if (!SWIG_IsOK(res2
)) {
34491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34496 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34499 if (!SWIG_IsOK(ecode3
)) {
34500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34502 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34506 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34507 wxPyEndAllowThreads(__tstate
);
34508 if (PyErr_Occurred()) SWIG_fail
;
34510 resultobj
= SWIG_From_int(static_cast< int >(result
));
34517 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34518 PyObject
*resultobj
= 0;
34519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34520 wxTreeItemId
*arg2
= 0 ;
34521 wxPyTreeItemData
*result
= 0 ;
34526 PyObject
* obj0
= 0 ;
34527 PyObject
* obj1
= 0 ;
34528 char * kwnames
[] = {
34529 (char *) "self",(char *) "item", NULL
34532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34534 if (!SWIG_IsOK(res1
)) {
34535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34537 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34539 if (!SWIG_IsOK(res2
)) {
34540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34545 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34548 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34549 wxPyEndAllowThreads(__tstate
);
34550 if (PyErr_Occurred()) SWIG_fail
;
34552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34559 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34560 PyObject
*resultobj
= 0;
34561 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34562 wxTreeItemId
*arg2
= 0 ;
34563 PyObject
*result
= 0 ;
34568 PyObject
* obj0
= 0 ;
34569 PyObject
* obj1
= 0 ;
34570 char * kwnames
[] = {
34571 (char *) "self",(char *) "item", NULL
34574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34576 if (!SWIG_IsOK(res1
)) {
34577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34579 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34581 if (!SWIG_IsOK(res2
)) {
34582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34587 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34590 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34591 wxPyEndAllowThreads(__tstate
);
34592 if (PyErr_Occurred()) SWIG_fail
;
34594 resultobj
= result
;
34601 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34602 PyObject
*resultobj
= 0;
34603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34604 wxTreeItemId
*arg2
= 0 ;
34610 PyObject
* obj0
= 0 ;
34611 PyObject
* obj1
= 0 ;
34612 char * kwnames
[] = {
34613 (char *) "self",(char *) "item", NULL
34616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34618 if (!SWIG_IsOK(res1
)) {
34619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34621 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34623 if (!SWIG_IsOK(res2
)) {
34624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34629 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34632 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34633 wxPyEndAllowThreads(__tstate
);
34634 if (PyErr_Occurred()) SWIG_fail
;
34636 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34643 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34644 PyObject
*resultobj
= 0;
34645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34646 wxTreeItemId
*arg2
= 0 ;
34652 PyObject
* obj0
= 0 ;
34653 PyObject
* obj1
= 0 ;
34654 char * kwnames
[] = {
34655 (char *) "self",(char *) "item", NULL
34658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34660 if (!SWIG_IsOK(res1
)) {
34661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34663 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34664 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34665 if (!SWIG_IsOK(res2
)) {
34666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34671 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34674 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34675 wxPyEndAllowThreads(__tstate
);
34676 if (PyErr_Occurred()) SWIG_fail
;
34678 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34685 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34686 PyObject
*resultobj
= 0;
34687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34688 wxTreeItemId
*arg2
= 0 ;
34694 PyObject
* obj0
= 0 ;
34695 PyObject
* obj1
= 0 ;
34696 char * kwnames
[] = {
34697 (char *) "self",(char *) "item", NULL
34700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34702 if (!SWIG_IsOK(res1
)) {
34703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34705 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34707 if (!SWIG_IsOK(res2
)) {
34708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34713 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34716 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34717 wxPyEndAllowThreads(__tstate
);
34718 if (PyErr_Occurred()) SWIG_fail
;
34720 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34727 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34728 PyObject
*resultobj
= 0;
34729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34730 wxTreeItemId
*arg2
= 0 ;
34731 wxString
*arg3
= 0 ;
34736 bool temp3
= false ;
34737 PyObject
* obj0
= 0 ;
34738 PyObject
* obj1
= 0 ;
34739 PyObject
* obj2
= 0 ;
34740 char * kwnames
[] = {
34741 (char *) "self",(char *) "item",(char *) "text", NULL
34744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34746 if (!SWIG_IsOK(res1
)) {
34747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34749 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34750 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34751 if (!SWIG_IsOK(res2
)) {
34752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34757 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34759 arg3
= wxString_in_helper(obj2
);
34760 if (arg3
== NULL
) SWIG_fail
;
34764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34765 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34766 wxPyEndAllowThreads(__tstate
);
34767 if (PyErr_Occurred()) SWIG_fail
;
34769 resultobj
= SWIG_Py_Void();
34784 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34785 PyObject
*resultobj
= 0;
34786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34787 wxTreeItemId
*arg2
= 0 ;
34789 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34798 PyObject
* obj0
= 0 ;
34799 PyObject
* obj1
= 0 ;
34800 PyObject
* obj2
= 0 ;
34801 PyObject
* obj3
= 0 ;
34802 char * kwnames
[] = {
34803 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34808 if (!SWIG_IsOK(res1
)) {
34809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34811 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34812 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34813 if (!SWIG_IsOK(res2
)) {
34814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34819 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34821 if (!SWIG_IsOK(ecode3
)) {
34822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34824 arg3
= static_cast< int >(val3
);
34826 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34827 if (!SWIG_IsOK(ecode4
)) {
34828 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34830 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34834 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34835 wxPyEndAllowThreads(__tstate
);
34836 if (PyErr_Occurred()) SWIG_fail
;
34838 resultobj
= SWIG_Py_Void();
34845 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34846 PyObject
*resultobj
= 0;
34847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34848 wxTreeItemId
*arg2
= 0 ;
34849 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34855 PyObject
* obj0
= 0 ;
34856 PyObject
* obj1
= 0 ;
34857 PyObject
* obj2
= 0 ;
34858 char * kwnames
[] = {
34859 (char *) "self",(char *) "item",(char *) "data", NULL
34862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34864 if (!SWIG_IsOK(res1
)) {
34865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34867 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34869 if (!SWIG_IsOK(res2
)) {
34870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34875 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34876 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34877 if (!SWIG_IsOK(res3
)) {
34878 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34882 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34883 wxPyEndAllowThreads(__tstate
);
34884 if (PyErr_Occurred()) SWIG_fail
;
34886 resultobj
= SWIG_Py_Void();
34893 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34894 PyObject
*resultobj
= 0;
34895 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34896 wxTreeItemId
*arg2
= 0 ;
34897 PyObject
*arg3
= (PyObject
*) 0 ;
34902 PyObject
* obj0
= 0 ;
34903 PyObject
* obj1
= 0 ;
34904 PyObject
* obj2
= 0 ;
34905 char * kwnames
[] = {
34906 (char *) "self",(char *) "item",(char *) "obj", NULL
34909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34911 if (!SWIG_IsOK(res1
)) {
34912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34914 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34915 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34916 if (!SWIG_IsOK(res2
)) {
34917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34922 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34926 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34927 wxPyEndAllowThreads(__tstate
);
34928 if (PyErr_Occurred()) SWIG_fail
;
34930 resultobj
= SWIG_Py_Void();
34937 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34938 PyObject
*resultobj
= 0;
34939 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34940 wxTreeItemId
*arg2
= 0 ;
34941 bool arg3
= (bool) true ;
34948 PyObject
* obj0
= 0 ;
34949 PyObject
* obj1
= 0 ;
34950 PyObject
* obj2
= 0 ;
34951 char * kwnames
[] = {
34952 (char *) "self",(char *) "item",(char *) "has", NULL
34955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34957 if (!SWIG_IsOK(res1
)) {
34958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34960 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34962 if (!SWIG_IsOK(res2
)) {
34963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34968 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34970 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34971 if (!SWIG_IsOK(ecode3
)) {
34972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34974 arg3
= static_cast< bool >(val3
);
34977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34978 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34979 wxPyEndAllowThreads(__tstate
);
34980 if (PyErr_Occurred()) SWIG_fail
;
34982 resultobj
= SWIG_Py_Void();
34989 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34990 PyObject
*resultobj
= 0;
34991 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34992 wxTreeItemId
*arg2
= 0 ;
34993 bool arg3
= (bool) true ;
35000 PyObject
* obj0
= 0 ;
35001 PyObject
* obj1
= 0 ;
35002 PyObject
* obj2
= 0 ;
35003 char * kwnames
[] = {
35004 (char *) "self",(char *) "item",(char *) "bold", NULL
35007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35009 if (!SWIG_IsOK(res1
)) {
35010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35012 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35013 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35014 if (!SWIG_IsOK(res2
)) {
35015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35020 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35022 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35023 if (!SWIG_IsOK(ecode3
)) {
35024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35026 arg3
= static_cast< bool >(val3
);
35029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35030 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35031 wxPyEndAllowThreads(__tstate
);
35032 if (PyErr_Occurred()) SWIG_fail
;
35034 resultobj
= SWIG_Py_Void();
35041 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35042 PyObject
*resultobj
= 0;
35043 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35044 wxTreeItemId
*arg2
= 0 ;
35045 bool arg3
= (bool) true ;
35052 PyObject
* obj0
= 0 ;
35053 PyObject
* obj1
= 0 ;
35054 PyObject
* obj2
= 0 ;
35055 char * kwnames
[] = {
35056 (char *) "self",(char *) "item",(char *) "highlight", NULL
35059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35061 if (!SWIG_IsOK(res1
)) {
35062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35064 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35066 if (!SWIG_IsOK(res2
)) {
35067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35072 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35074 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35075 if (!SWIG_IsOK(ecode3
)) {
35076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35078 arg3
= static_cast< bool >(val3
);
35081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35082 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35083 wxPyEndAllowThreads(__tstate
);
35084 if (PyErr_Occurred()) SWIG_fail
;
35086 resultobj
= SWIG_Py_Void();
35093 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35094 PyObject
*resultobj
= 0;
35095 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35096 wxTreeItemId
*arg2
= 0 ;
35097 wxColour
*arg3
= 0 ;
35103 PyObject
* obj0
= 0 ;
35104 PyObject
* obj1
= 0 ;
35105 PyObject
* obj2
= 0 ;
35106 char * kwnames
[] = {
35107 (char *) "self",(char *) "item",(char *) "col", NULL
35110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35112 if (!SWIG_IsOK(res1
)) {
35113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35115 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35116 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35117 if (!SWIG_IsOK(res2
)) {
35118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35123 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35126 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35130 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35131 wxPyEndAllowThreads(__tstate
);
35132 if (PyErr_Occurred()) SWIG_fail
;
35134 resultobj
= SWIG_Py_Void();
35141 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35142 PyObject
*resultobj
= 0;
35143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35144 wxTreeItemId
*arg2
= 0 ;
35145 wxColour
*arg3
= 0 ;
35151 PyObject
* obj0
= 0 ;
35152 PyObject
* obj1
= 0 ;
35153 PyObject
* obj2
= 0 ;
35154 char * kwnames
[] = {
35155 (char *) "self",(char *) "item",(char *) "col", NULL
35158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35160 if (!SWIG_IsOK(res1
)) {
35161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35163 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35164 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35165 if (!SWIG_IsOK(res2
)) {
35166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35171 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35174 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35178 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35179 wxPyEndAllowThreads(__tstate
);
35180 if (PyErr_Occurred()) SWIG_fail
;
35182 resultobj
= SWIG_Py_Void();
35189 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35190 PyObject
*resultobj
= 0;
35191 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35192 wxTreeItemId
*arg2
= 0 ;
35200 PyObject
* obj0
= 0 ;
35201 PyObject
* obj1
= 0 ;
35202 PyObject
* obj2
= 0 ;
35203 char * kwnames
[] = {
35204 (char *) "self",(char *) "item",(char *) "font", NULL
35207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35209 if (!SWIG_IsOK(res1
)) {
35210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35212 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35214 if (!SWIG_IsOK(res2
)) {
35215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35220 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35221 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35222 if (!SWIG_IsOK(res3
)) {
35223 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35228 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35231 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35232 wxPyEndAllowThreads(__tstate
);
35233 if (PyErr_Occurred()) SWIG_fail
;
35235 resultobj
= SWIG_Py_Void();
35242 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35243 PyObject
*resultobj
= 0;
35244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35245 wxTreeItemId
*arg2
= 0 ;
35251 PyObject
* obj0
= 0 ;
35252 PyObject
* obj1
= 0 ;
35253 char * kwnames
[] = {
35254 (char *) "self",(char *) "item", NULL
35257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35259 if (!SWIG_IsOK(res1
)) {
35260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35262 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35264 if (!SWIG_IsOK(res2
)) {
35265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35270 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35273 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35274 wxPyEndAllowThreads(__tstate
);
35275 if (PyErr_Occurred()) SWIG_fail
;
35278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35286 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35287 PyObject
*resultobj
= 0;
35288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35289 wxTreeItemId
*arg2
= 0 ;
35295 PyObject
* obj0
= 0 ;
35296 PyObject
* obj1
= 0 ;
35297 char * kwnames
[] = {
35298 (char *) "self",(char *) "item", NULL
35301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35303 if (!SWIG_IsOK(res1
)) {
35304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35306 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35307 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35308 if (!SWIG_IsOK(res2
)) {
35309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35312 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35314 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35317 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35318 wxPyEndAllowThreads(__tstate
);
35319 if (PyErr_Occurred()) SWIG_fail
;
35322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35330 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35331 PyObject
*resultobj
= 0;
35332 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35333 wxTreeItemId
*arg2
= 0 ;
35339 PyObject
* obj0
= 0 ;
35340 PyObject
* obj1
= 0 ;
35341 char * kwnames
[] = {
35342 (char *) "self",(char *) "item", NULL
35345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35347 if (!SWIG_IsOK(res1
)) {
35348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35350 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35351 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35352 if (!SWIG_IsOK(res2
)) {
35353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35358 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35361 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35362 wxPyEndAllowThreads(__tstate
);
35363 if (PyErr_Occurred()) SWIG_fail
;
35366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35374 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35375 PyObject
*resultobj
= 0;
35376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35377 wxTreeItemId
*arg2
= 0 ;
35383 PyObject
* obj0
= 0 ;
35384 PyObject
* obj1
= 0 ;
35385 char * kwnames
[] = {
35386 (char *) "self",(char *) "item", NULL
35389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35391 if (!SWIG_IsOK(res1
)) {
35392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35394 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35395 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35396 if (!SWIG_IsOK(res2
)) {
35397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35402 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35405 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35406 wxPyEndAllowThreads(__tstate
);
35407 if (PyErr_Occurred()) SWIG_fail
;
35410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35418 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35419 PyObject
*resultobj
= 0;
35420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35421 wxTreeItemId
*arg2
= 0 ;
35427 PyObject
* obj0
= 0 ;
35428 PyObject
* obj1
= 0 ;
35429 char * kwnames
[] = {
35430 (char *) "self",(char *) "item", NULL
35433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35435 if (!SWIG_IsOK(res1
)) {
35436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35438 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35439 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35440 if (!SWIG_IsOK(res2
)) {
35441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35446 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35449 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35450 wxPyEndAllowThreads(__tstate
);
35451 if (PyErr_Occurred()) SWIG_fail
;
35454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35462 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35463 PyObject
*resultobj
= 0;
35464 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35465 wxTreeItemId
*arg2
= 0 ;
35466 bool arg3
= (bool) true ;
35474 PyObject
* obj0
= 0 ;
35475 PyObject
* obj1
= 0 ;
35476 PyObject
* obj2
= 0 ;
35477 char * kwnames
[] = {
35478 (char *) "self",(char *) "item",(char *) "recursively", NULL
35481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35483 if (!SWIG_IsOK(res1
)) {
35484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35486 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35487 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35488 if (!SWIG_IsOK(res2
)) {
35489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35494 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35496 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35497 if (!SWIG_IsOK(ecode3
)) {
35498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35500 arg3
= static_cast< bool >(val3
);
35503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35504 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35505 wxPyEndAllowThreads(__tstate
);
35506 if (PyErr_Occurred()) SWIG_fail
;
35508 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35515 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35516 PyObject
*resultobj
= 0;
35517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35518 wxTreeItemId result
;
35521 PyObject
*swig_obj
[1] ;
35523 if (!args
) SWIG_fail
;
35524 swig_obj
[0] = args
;
35525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35526 if (!SWIG_IsOK(res1
)) {
35527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35529 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35532 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35533 wxPyEndAllowThreads(__tstate
);
35534 if (PyErr_Occurred()) SWIG_fail
;
35536 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35543 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35544 PyObject
*resultobj
= 0;
35545 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35546 wxTreeItemId result
;
35549 PyObject
*swig_obj
[1] ;
35551 if (!args
) SWIG_fail
;
35552 swig_obj
[0] = args
;
35553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35554 if (!SWIG_IsOK(res1
)) {
35555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35557 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35560 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35561 wxPyEndAllowThreads(__tstate
);
35562 if (PyErr_Occurred()) SWIG_fail
;
35564 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35571 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35572 PyObject
*resultobj
= 0;
35573 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35574 PyObject
*result
= 0 ;
35577 PyObject
*swig_obj
[1] ;
35579 if (!args
) SWIG_fail
;
35580 swig_obj
[0] = args
;
35581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35582 if (!SWIG_IsOK(res1
)) {
35583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35585 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35588 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35589 wxPyEndAllowThreads(__tstate
);
35590 if (PyErr_Occurred()) SWIG_fail
;
35592 resultobj
= result
;
35599 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35600 PyObject
*resultobj
= 0;
35601 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35602 wxTreeItemId
*arg2
= 0 ;
35603 wxTreeItemId result
;
35608 PyObject
* obj0
= 0 ;
35609 PyObject
* obj1
= 0 ;
35610 char * kwnames
[] = {
35611 (char *) "self",(char *) "item", NULL
35614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35616 if (!SWIG_IsOK(res1
)) {
35617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35619 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35621 if (!SWIG_IsOK(res2
)) {
35622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35627 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35630 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35631 wxPyEndAllowThreads(__tstate
);
35632 if (PyErr_Occurred()) SWIG_fail
;
35634 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35641 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35642 PyObject
*resultobj
= 0;
35643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35644 wxTreeItemId
*arg2
= 0 ;
35645 PyObject
*result
= 0 ;
35650 PyObject
* obj0
= 0 ;
35651 PyObject
* obj1
= 0 ;
35652 char * kwnames
[] = {
35653 (char *) "self",(char *) "item", NULL
35656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35658 if (!SWIG_IsOK(res1
)) {
35659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35661 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35663 if (!SWIG_IsOK(res2
)) {
35664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35669 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35672 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35673 wxPyEndAllowThreads(__tstate
);
35674 if (PyErr_Occurred()) SWIG_fail
;
35676 resultobj
= result
;
35683 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35684 PyObject
*resultobj
= 0;
35685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35686 wxTreeItemId
*arg2
= 0 ;
35687 void *arg3
= (void *) 0 ;
35688 PyObject
*result
= 0 ;
35694 PyObject
* obj0
= 0 ;
35695 PyObject
* obj1
= 0 ;
35696 PyObject
* obj2
= 0 ;
35697 char * kwnames
[] = {
35698 (char *) "self",(char *) "item",(char *) "cookie", NULL
35701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35703 if (!SWIG_IsOK(res1
)) {
35704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35706 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35708 if (!SWIG_IsOK(res2
)) {
35709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35714 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35715 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35716 if (!SWIG_IsOK(res3
)) {
35717 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35721 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35722 wxPyEndAllowThreads(__tstate
);
35723 if (PyErr_Occurred()) SWIG_fail
;
35725 resultobj
= result
;
35732 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35733 PyObject
*resultobj
= 0;
35734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35735 wxTreeItemId
*arg2
= 0 ;
35736 wxTreeItemId result
;
35741 PyObject
* obj0
= 0 ;
35742 PyObject
* obj1
= 0 ;
35743 char * kwnames
[] = {
35744 (char *) "self",(char *) "item", NULL
35747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35749 if (!SWIG_IsOK(res1
)) {
35750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35752 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35753 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35754 if (!SWIG_IsOK(res2
)) {
35755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35760 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35763 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35764 wxPyEndAllowThreads(__tstate
);
35765 if (PyErr_Occurred()) SWIG_fail
;
35767 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35774 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35775 PyObject
*resultobj
= 0;
35776 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35777 wxTreeItemId
*arg2
= 0 ;
35778 wxTreeItemId result
;
35783 PyObject
* obj0
= 0 ;
35784 PyObject
* obj1
= 0 ;
35785 char * kwnames
[] = {
35786 (char *) "self",(char *) "item", NULL
35789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35791 if (!SWIG_IsOK(res1
)) {
35792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35794 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35796 if (!SWIG_IsOK(res2
)) {
35797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35802 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35805 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35806 wxPyEndAllowThreads(__tstate
);
35807 if (PyErr_Occurred()) SWIG_fail
;
35809 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35816 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35817 PyObject
*resultobj
= 0;
35818 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35819 wxTreeItemId
*arg2
= 0 ;
35820 wxTreeItemId result
;
35825 PyObject
* obj0
= 0 ;
35826 PyObject
* obj1
= 0 ;
35827 char * kwnames
[] = {
35828 (char *) "self",(char *) "item", NULL
35831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35833 if (!SWIG_IsOK(res1
)) {
35834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35836 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35837 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35838 if (!SWIG_IsOK(res2
)) {
35839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35844 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35847 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35848 wxPyEndAllowThreads(__tstate
);
35849 if (PyErr_Occurred()) SWIG_fail
;
35851 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35858 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35859 PyObject
*resultobj
= 0;
35860 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35861 wxTreeItemId result
;
35864 PyObject
*swig_obj
[1] ;
35866 if (!args
) SWIG_fail
;
35867 swig_obj
[0] = args
;
35868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35869 if (!SWIG_IsOK(res1
)) {
35870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35872 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35875 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35876 wxPyEndAllowThreads(__tstate
);
35877 if (PyErr_Occurred()) SWIG_fail
;
35879 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35886 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35887 PyObject
*resultobj
= 0;
35888 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35889 wxTreeItemId
*arg2
= 0 ;
35890 wxTreeItemId result
;
35895 PyObject
* obj0
= 0 ;
35896 PyObject
* obj1
= 0 ;
35897 char * kwnames
[] = {
35898 (char *) "self",(char *) "item", NULL
35901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35903 if (!SWIG_IsOK(res1
)) {
35904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35906 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35907 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35908 if (!SWIG_IsOK(res2
)) {
35909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35914 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35917 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35918 wxPyEndAllowThreads(__tstate
);
35919 if (PyErr_Occurred()) SWIG_fail
;
35921 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35928 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35929 PyObject
*resultobj
= 0;
35930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35931 wxTreeItemId
*arg2
= 0 ;
35932 wxTreeItemId result
;
35937 PyObject
* obj0
= 0 ;
35938 PyObject
* obj1
= 0 ;
35939 char * kwnames
[] = {
35940 (char *) "self",(char *) "item", NULL
35943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35945 if (!SWIG_IsOK(res1
)) {
35946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35948 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35949 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35950 if (!SWIG_IsOK(res2
)) {
35951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35956 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35959 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35960 wxPyEndAllowThreads(__tstate
);
35961 if (PyErr_Occurred()) SWIG_fail
;
35963 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35970 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35971 PyObject
*resultobj
= 0;
35972 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35973 wxString
*arg2
= 0 ;
35974 int arg3
= (int) -1 ;
35975 int arg4
= (int) -1 ;
35976 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35977 wxTreeItemId result
;
35980 bool temp2
= false ;
35986 PyObject
* obj0
= 0 ;
35987 PyObject
* obj1
= 0 ;
35988 PyObject
* obj2
= 0 ;
35989 PyObject
* obj3
= 0 ;
35990 PyObject
* obj4
= 0 ;
35991 char * kwnames
[] = {
35992 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35997 if (!SWIG_IsOK(res1
)) {
35998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36000 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36002 arg2
= wxString_in_helper(obj1
);
36003 if (arg2
== NULL
) SWIG_fail
;
36007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36008 if (!SWIG_IsOK(ecode3
)) {
36009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36011 arg3
= static_cast< int >(val3
);
36014 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36015 if (!SWIG_IsOK(ecode4
)) {
36016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36018 arg4
= static_cast< int >(val4
);
36021 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36022 if (!SWIG_IsOK(res5
)) {
36023 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36028 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36029 wxPyEndAllowThreads(__tstate
);
36030 if (PyErr_Occurred()) SWIG_fail
;
36032 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36047 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36048 PyObject
*resultobj
= 0;
36049 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36050 wxTreeItemId
*arg2
= 0 ;
36051 wxString
*arg3
= 0 ;
36052 int arg4
= (int) -1 ;
36053 int arg5
= (int) -1 ;
36054 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36055 wxTreeItemId result
;
36060 bool temp3
= false ;
36066 PyObject
* obj0
= 0 ;
36067 PyObject
* obj1
= 0 ;
36068 PyObject
* obj2
= 0 ;
36069 PyObject
* obj3
= 0 ;
36070 PyObject
* obj4
= 0 ;
36071 PyObject
* obj5
= 0 ;
36072 char * kwnames
[] = {
36073 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36078 if (!SWIG_IsOK(res1
)) {
36079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36081 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36082 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36083 if (!SWIG_IsOK(res2
)) {
36084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36089 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36091 arg3
= wxString_in_helper(obj2
);
36092 if (arg3
== NULL
) SWIG_fail
;
36096 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36097 if (!SWIG_IsOK(ecode4
)) {
36098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36100 arg4
= static_cast< int >(val4
);
36103 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36104 if (!SWIG_IsOK(ecode5
)) {
36105 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36107 arg5
= static_cast< int >(val5
);
36110 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36111 if (!SWIG_IsOK(res6
)) {
36112 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36117 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36118 wxPyEndAllowThreads(__tstate
);
36119 if (PyErr_Occurred()) SWIG_fail
;
36121 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36136 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36137 PyObject
*resultobj
= 0;
36138 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36139 wxTreeItemId
*arg2
= 0 ;
36140 wxTreeItemId
*arg3
= 0 ;
36141 wxString
*arg4
= 0 ;
36142 int arg5
= (int) -1 ;
36143 int arg6
= (int) -1 ;
36144 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36145 wxTreeItemId result
;
36152 bool temp4
= false ;
36158 PyObject
* obj0
= 0 ;
36159 PyObject
* obj1
= 0 ;
36160 PyObject
* obj2
= 0 ;
36161 PyObject
* obj3
= 0 ;
36162 PyObject
* obj4
= 0 ;
36163 PyObject
* obj5
= 0 ;
36164 PyObject
* obj6
= 0 ;
36165 char * kwnames
[] = {
36166 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36171 if (!SWIG_IsOK(res1
)) {
36172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36174 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36176 if (!SWIG_IsOK(res2
)) {
36177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36182 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36183 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36184 if (!SWIG_IsOK(res3
)) {
36185 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36190 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36192 arg4
= wxString_in_helper(obj3
);
36193 if (arg4
== NULL
) SWIG_fail
;
36197 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36198 if (!SWIG_IsOK(ecode5
)) {
36199 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36201 arg5
= static_cast< int >(val5
);
36204 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36205 if (!SWIG_IsOK(ecode6
)) {
36206 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36208 arg6
= static_cast< int >(val6
);
36211 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36212 if (!SWIG_IsOK(res7
)) {
36213 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36218 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36219 wxPyEndAllowThreads(__tstate
);
36220 if (PyErr_Occurred()) SWIG_fail
;
36222 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36237 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36238 PyObject
*resultobj
= 0;
36239 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36240 wxTreeItemId
*arg2
= 0 ;
36242 wxString
*arg4
= 0 ;
36243 int arg5
= (int) -1 ;
36244 int arg6
= (int) -1 ;
36245 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36246 wxTreeItemId result
;
36253 bool temp4
= false ;
36259 PyObject
* obj0
= 0 ;
36260 PyObject
* obj1
= 0 ;
36261 PyObject
* obj2
= 0 ;
36262 PyObject
* obj3
= 0 ;
36263 PyObject
* obj4
= 0 ;
36264 PyObject
* obj5
= 0 ;
36265 PyObject
* obj6
= 0 ;
36266 char * kwnames
[] = {
36267 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36272 if (!SWIG_IsOK(res1
)) {
36273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36275 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36277 if (!SWIG_IsOK(res2
)) {
36278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36283 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36284 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36285 if (!SWIG_IsOK(ecode3
)) {
36286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36288 arg3
= static_cast< size_t >(val3
);
36290 arg4
= wxString_in_helper(obj3
);
36291 if (arg4
== NULL
) SWIG_fail
;
36295 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36296 if (!SWIG_IsOK(ecode5
)) {
36297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36299 arg5
= static_cast< int >(val5
);
36302 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36303 if (!SWIG_IsOK(ecode6
)) {
36304 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36306 arg6
= static_cast< int >(val6
);
36309 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36310 if (!SWIG_IsOK(res7
)) {
36311 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36316 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36317 wxPyEndAllowThreads(__tstate
);
36318 if (PyErr_Occurred()) SWIG_fail
;
36320 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36335 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36336 PyObject
*resultobj
= 0;
36337 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36338 wxTreeItemId
*arg2
= 0 ;
36339 wxString
*arg3
= 0 ;
36340 int arg4
= (int) -1 ;
36341 int arg5
= (int) -1 ;
36342 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36343 wxTreeItemId result
;
36348 bool temp3
= false ;
36354 PyObject
* obj0
= 0 ;
36355 PyObject
* obj1
= 0 ;
36356 PyObject
* obj2
= 0 ;
36357 PyObject
* obj3
= 0 ;
36358 PyObject
* obj4
= 0 ;
36359 PyObject
* obj5
= 0 ;
36360 char * kwnames
[] = {
36361 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36366 if (!SWIG_IsOK(res1
)) {
36367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36369 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36370 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36371 if (!SWIG_IsOK(res2
)) {
36372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36377 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36379 arg3
= wxString_in_helper(obj2
);
36380 if (arg3
== NULL
) SWIG_fail
;
36384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36385 if (!SWIG_IsOK(ecode4
)) {
36386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36388 arg4
= static_cast< int >(val4
);
36391 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36392 if (!SWIG_IsOK(ecode5
)) {
36393 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36395 arg5
= static_cast< int >(val5
);
36398 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36399 if (!SWIG_IsOK(res6
)) {
36400 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36405 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36406 wxPyEndAllowThreads(__tstate
);
36407 if (PyErr_Occurred()) SWIG_fail
;
36409 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36424 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36425 PyObject
*resultobj
= 0;
36426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36427 wxTreeItemId
*arg2
= 0 ;
36432 PyObject
* obj0
= 0 ;
36433 PyObject
* obj1
= 0 ;
36434 char * kwnames
[] = {
36435 (char *) "self",(char *) "item", NULL
36438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36440 if (!SWIG_IsOK(res1
)) {
36441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36443 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36444 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36445 if (!SWIG_IsOK(res2
)) {
36446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36451 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36454 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36455 wxPyEndAllowThreads(__tstate
);
36456 if (PyErr_Occurred()) SWIG_fail
;
36458 resultobj
= SWIG_Py_Void();
36465 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36466 PyObject
*resultobj
= 0;
36467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36468 wxTreeItemId
*arg2
= 0 ;
36473 PyObject
* obj0
= 0 ;
36474 PyObject
* obj1
= 0 ;
36475 char * kwnames
[] = {
36476 (char *) "self",(char *) "item", NULL
36479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36481 if (!SWIG_IsOK(res1
)) {
36482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36484 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36486 if (!SWIG_IsOK(res2
)) {
36487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36492 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36495 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36496 wxPyEndAllowThreads(__tstate
);
36497 if (PyErr_Occurred()) SWIG_fail
;
36499 resultobj
= SWIG_Py_Void();
36506 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36507 PyObject
*resultobj
= 0;
36508 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36511 PyObject
*swig_obj
[1] ;
36513 if (!args
) SWIG_fail
;
36514 swig_obj
[0] = args
;
36515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36516 if (!SWIG_IsOK(res1
)) {
36517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36519 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36522 (arg1
)->DeleteAllItems();
36523 wxPyEndAllowThreads(__tstate
);
36524 if (PyErr_Occurred()) SWIG_fail
;
36526 resultobj
= SWIG_Py_Void();
36533 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36534 PyObject
*resultobj
= 0;
36535 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36536 wxTreeItemId
*arg2
= 0 ;
36541 PyObject
* obj0
= 0 ;
36542 PyObject
* obj1
= 0 ;
36543 char * kwnames
[] = {
36544 (char *) "self",(char *) "item", NULL
36547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36549 if (!SWIG_IsOK(res1
)) {
36550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36552 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36553 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36554 if (!SWIG_IsOK(res2
)) {
36555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36560 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36563 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36564 wxPyEndAllowThreads(__tstate
);
36565 if (PyErr_Occurred()) SWIG_fail
;
36567 resultobj
= SWIG_Py_Void();
36574 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36575 PyObject
*resultobj
= 0;
36576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36577 wxTreeItemId
*arg2
= 0 ;
36582 PyObject
* obj0
= 0 ;
36583 PyObject
* obj1
= 0 ;
36584 char * kwnames
[] = {
36585 (char *) "self",(char *) "item", NULL
36588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36590 if (!SWIG_IsOK(res1
)) {
36591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36593 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36594 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36595 if (!SWIG_IsOK(res2
)) {
36596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36601 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36604 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36605 wxPyEndAllowThreads(__tstate
);
36606 if (PyErr_Occurred()) SWIG_fail
;
36608 resultobj
= SWIG_Py_Void();
36615 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36616 PyObject
*resultobj
= 0;
36617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36620 PyObject
*swig_obj
[1] ;
36622 if (!args
) SWIG_fail
;
36623 swig_obj
[0] = args
;
36624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36625 if (!SWIG_IsOK(res1
)) {
36626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36628 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36631 (arg1
)->ExpandAll();
36632 wxPyEndAllowThreads(__tstate
);
36633 if (PyErr_Occurred()) SWIG_fail
;
36635 resultobj
= SWIG_Py_Void();
36642 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36643 PyObject
*resultobj
= 0;
36644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36645 wxTreeItemId
*arg2
= 0 ;
36650 PyObject
* obj0
= 0 ;
36651 PyObject
* obj1
= 0 ;
36652 char * kwnames
[] = {
36653 (char *) "self",(char *) "item", NULL
36656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36658 if (!SWIG_IsOK(res1
)) {
36659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36661 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36663 if (!SWIG_IsOK(res2
)) {
36664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36669 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36672 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36673 wxPyEndAllowThreads(__tstate
);
36674 if (PyErr_Occurred()) SWIG_fail
;
36676 resultobj
= SWIG_Py_Void();
36683 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36684 PyObject
*resultobj
= 0;
36685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36686 wxTreeItemId
*arg2
= 0 ;
36691 PyObject
* obj0
= 0 ;
36692 PyObject
* obj1
= 0 ;
36693 char * kwnames
[] = {
36694 (char *) "self",(char *) "item", NULL
36697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36699 if (!SWIG_IsOK(res1
)) {
36700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36702 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36704 if (!SWIG_IsOK(res2
)) {
36705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36710 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36713 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36714 wxPyEndAllowThreads(__tstate
);
36715 if (PyErr_Occurred()) SWIG_fail
;
36717 resultobj
= SWIG_Py_Void();
36724 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36725 PyObject
*resultobj
= 0;
36726 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36727 wxTreeItemId
*arg2
= 0 ;
36732 PyObject
* obj0
= 0 ;
36733 PyObject
* obj1
= 0 ;
36734 char * kwnames
[] = {
36735 (char *) "self",(char *) "item", NULL
36738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36740 if (!SWIG_IsOK(res1
)) {
36741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36743 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36745 if (!SWIG_IsOK(res2
)) {
36746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36751 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36754 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36755 wxPyEndAllowThreads(__tstate
);
36756 if (PyErr_Occurred()) SWIG_fail
;
36758 resultobj
= SWIG_Py_Void();
36765 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36766 PyObject
*resultobj
= 0;
36767 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36770 PyObject
*swig_obj
[1] ;
36772 if (!args
) SWIG_fail
;
36773 swig_obj
[0] = args
;
36774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36775 if (!SWIG_IsOK(res1
)) {
36776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36778 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36781 (arg1
)->Unselect();
36782 wxPyEndAllowThreads(__tstate
);
36783 if (PyErr_Occurred()) SWIG_fail
;
36785 resultobj
= SWIG_Py_Void();
36792 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36793 PyObject
*resultobj
= 0;
36794 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36795 wxTreeItemId
*arg2
= 0 ;
36800 PyObject
* obj0
= 0 ;
36801 PyObject
* obj1
= 0 ;
36802 char * kwnames
[] = {
36803 (char *) "self",(char *) "item", NULL
36806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36808 if (!SWIG_IsOK(res1
)) {
36809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36811 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36812 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36813 if (!SWIG_IsOK(res2
)) {
36814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36819 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36822 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36823 wxPyEndAllowThreads(__tstate
);
36824 if (PyErr_Occurred()) SWIG_fail
;
36826 resultobj
= SWIG_Py_Void();
36833 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36834 PyObject
*resultobj
= 0;
36835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36838 PyObject
*swig_obj
[1] ;
36840 if (!args
) SWIG_fail
;
36841 swig_obj
[0] = args
;
36842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36843 if (!SWIG_IsOK(res1
)) {
36844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36846 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36849 (arg1
)->UnselectAll();
36850 wxPyEndAllowThreads(__tstate
);
36851 if (PyErr_Occurred()) SWIG_fail
;
36853 resultobj
= SWIG_Py_Void();
36860 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36861 PyObject
*resultobj
= 0;
36862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36863 wxTreeItemId
*arg2
= 0 ;
36864 bool arg3
= (bool) true ;
36871 PyObject
* obj0
= 0 ;
36872 PyObject
* obj1
= 0 ;
36873 PyObject
* obj2
= 0 ;
36874 char * kwnames
[] = {
36875 (char *) "self",(char *) "item",(char *) "select", NULL
36878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36880 if (!SWIG_IsOK(res1
)) {
36881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36883 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36885 if (!SWIG_IsOK(res2
)) {
36886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36891 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36893 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36894 if (!SWIG_IsOK(ecode3
)) {
36895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36897 arg3
= static_cast< bool >(val3
);
36900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36901 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36902 wxPyEndAllowThreads(__tstate
);
36903 if (PyErr_Occurred()) SWIG_fail
;
36905 resultobj
= SWIG_Py_Void();
36912 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36913 PyObject
*resultobj
= 0;
36914 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36915 wxTreeItemId
*arg2
= 0 ;
36920 PyObject
* obj0
= 0 ;
36921 PyObject
* obj1
= 0 ;
36922 char * kwnames
[] = {
36923 (char *) "self",(char *) "item", NULL
36926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36928 if (!SWIG_IsOK(res1
)) {
36929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36931 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36932 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36933 if (!SWIG_IsOK(res2
)) {
36934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36939 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36942 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36943 wxPyEndAllowThreads(__tstate
);
36944 if (PyErr_Occurred()) SWIG_fail
;
36946 resultobj
= SWIG_Py_Void();
36953 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36954 PyObject
*resultobj
= 0;
36955 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36956 wxTreeItemId
*arg2
= 0 ;
36961 PyObject
* obj0
= 0 ;
36962 PyObject
* obj1
= 0 ;
36963 char * kwnames
[] = {
36964 (char *) "self",(char *) "item", NULL
36967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36969 if (!SWIG_IsOK(res1
)) {
36970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36972 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36974 if (!SWIG_IsOK(res2
)) {
36975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36980 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36983 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36984 wxPyEndAllowThreads(__tstate
);
36985 if (PyErr_Occurred()) SWIG_fail
;
36987 resultobj
= SWIG_Py_Void();
36994 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36995 PyObject
*resultobj
= 0;
36996 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36997 wxTreeItemId
*arg2
= 0 ;
37002 PyObject
* obj0
= 0 ;
37003 PyObject
* obj1
= 0 ;
37004 char * kwnames
[] = {
37005 (char *) "self",(char *) "item", NULL
37008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37010 if (!SWIG_IsOK(res1
)) {
37011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37013 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37014 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37015 if (!SWIG_IsOK(res2
)) {
37016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37021 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37024 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37025 wxPyEndAllowThreads(__tstate
);
37026 if (PyErr_Occurred()) SWIG_fail
;
37028 resultobj
= SWIG_Py_Void();
37035 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37036 PyObject
*resultobj
= 0;
37037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37038 wxTreeItemId
*arg2
= 0 ;
37043 PyObject
* obj0
= 0 ;
37044 PyObject
* obj1
= 0 ;
37045 char * kwnames
[] = {
37046 (char *) "self",(char *) "item", NULL
37049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37051 if (!SWIG_IsOK(res1
)) {
37052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37054 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37056 if (!SWIG_IsOK(res2
)) {
37057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37062 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37065 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37066 wxPyEndAllowThreads(__tstate
);
37067 if (PyErr_Occurred()) SWIG_fail
;
37069 resultobj
= SWIG_Py_Void();
37076 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37077 PyObject
*resultobj
= 0;
37078 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37079 wxTextCtrl
*result
= 0 ;
37082 PyObject
*swig_obj
[1] ;
37084 if (!args
) SWIG_fail
;
37085 swig_obj
[0] = args
;
37086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37087 if (!SWIG_IsOK(res1
)) {
37088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37090 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37093 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37094 wxPyEndAllowThreads(__tstate
);
37095 if (PyErr_Occurred()) SWIG_fail
;
37098 resultobj
= wxPyMake_wxObject(result
, 0);
37106 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37107 PyObject
*resultobj
= 0;
37108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37109 wxTreeItemId
*arg2
= 0 ;
37114 PyObject
* obj0
= 0 ;
37115 PyObject
* obj1
= 0 ;
37116 char * kwnames
[] = {
37117 (char *) "self",(char *) "item", NULL
37120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37122 if (!SWIG_IsOK(res1
)) {
37123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37125 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37127 if (!SWIG_IsOK(res2
)) {
37128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37133 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37136 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37137 wxPyEndAllowThreads(__tstate
);
37138 if (PyErr_Occurred()) SWIG_fail
;
37140 resultobj
= SWIG_Py_Void();
37147 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37148 PyObject
*resultobj
= 0;
37149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37150 wxPoint
*arg2
= 0 ;
37152 wxTreeItemId result
;
37157 int res3
= SWIG_TMPOBJ
;
37158 PyObject
* obj0
= 0 ;
37159 PyObject
* obj1
= 0 ;
37160 char * kwnames
[] = {
37161 (char *) "self",(char *) "point", NULL
37165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37167 if (!SWIG_IsOK(res1
)) {
37168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37170 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37173 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37177 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37178 wxPyEndAllowThreads(__tstate
);
37179 if (PyErr_Occurred()) SWIG_fail
;
37181 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37182 if (SWIG_IsTmpObj(res3
)) {
37183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37185 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37194 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37195 PyObject
*resultobj
= 0;
37196 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37197 wxTreeItemId
*arg2
= 0 ;
37198 bool arg3
= (bool) false ;
37199 PyObject
*result
= 0 ;
37206 PyObject
* obj0
= 0 ;
37207 PyObject
* obj1
= 0 ;
37208 PyObject
* obj2
= 0 ;
37209 char * kwnames
[] = {
37210 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37215 if (!SWIG_IsOK(res1
)) {
37216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37218 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37220 if (!SWIG_IsOK(res2
)) {
37221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37226 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37228 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37229 if (!SWIG_IsOK(ecode3
)) {
37230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37232 arg3
= static_cast< bool >(val3
);
37235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37236 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37237 wxPyEndAllowThreads(__tstate
);
37238 if (PyErr_Occurred()) SWIG_fail
;
37240 resultobj
= result
;
37247 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37248 PyObject
*resultobj
= 0;
37249 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37250 SwigValueWrapper
<wxVisualAttributes
> result
;
37253 PyObject
* obj0
= 0 ;
37254 char * kwnames
[] = {
37255 (char *) "variant", NULL
37258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37260 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37261 if (!SWIG_IsOK(ecode1
)) {
37262 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37264 arg1
= static_cast< wxWindowVariant
>(val1
);
37267 if (!wxPyCheckForApp()) SWIG_fail
;
37268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37269 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37270 wxPyEndAllowThreads(__tstate
);
37271 if (PyErr_Occurred()) SWIG_fail
;
37273 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37280 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37281 PyObject
*resultobj
= 0;
37282 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37288 PyObject
* obj0
= 0 ;
37289 PyObject
* obj1
= 0 ;
37290 char * kwnames
[] = {
37291 (char *) "self",(char *) "q", NULL
37294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37296 if (!SWIG_IsOK(res1
)) {
37297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37299 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37300 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37301 if (!SWIG_IsOK(ecode2
)) {
37302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37304 arg2
= static_cast< bool >(val2
);
37306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37307 (arg1
)->SetQuickBestSize(arg2
);
37308 wxPyEndAllowThreads(__tstate
);
37309 if (PyErr_Occurred()) SWIG_fail
;
37311 resultobj
= SWIG_Py_Void();
37318 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37319 PyObject
*resultobj
= 0;
37320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37324 PyObject
*swig_obj
[1] ;
37326 if (!args
) SWIG_fail
;
37327 swig_obj
[0] = args
;
37328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37329 if (!SWIG_IsOK(res1
)) {
37330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37332 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37335 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37336 wxPyEndAllowThreads(__tstate
);
37337 if (PyErr_Occurred()) SWIG_fail
;
37340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37348 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37351 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37352 return SWIG_Py_Void();
37355 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37356 return SWIG_Python_InitShadowInstance(args
);
37359 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37360 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37365 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37366 PyObject
*pyobj
= 0;
37370 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37372 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37379 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37380 PyObject
*resultobj
= 0;
37381 wxWindow
*arg1
= (wxWindow
*) 0 ;
37382 int arg2
= (int) (int)-1 ;
37383 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37384 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37385 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37386 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37387 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37388 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37389 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37390 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37391 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37392 int arg8
= (int) 0 ;
37393 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37394 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37395 wxGenericDirCtrl
*result
= 0 ;
37400 bool temp3
= false ;
37405 bool temp7
= false ;
37408 bool temp9
= false ;
37409 PyObject
* obj0
= 0 ;
37410 PyObject
* obj1
= 0 ;
37411 PyObject
* obj2
= 0 ;
37412 PyObject
* obj3
= 0 ;
37413 PyObject
* obj4
= 0 ;
37414 PyObject
* obj5
= 0 ;
37415 PyObject
* obj6
= 0 ;
37416 PyObject
* obj7
= 0 ;
37417 PyObject
* obj8
= 0 ;
37418 char * kwnames
[] = {
37419 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37424 if (!SWIG_IsOK(res1
)) {
37425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37427 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37430 if (!SWIG_IsOK(ecode2
)) {
37431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37433 arg2
= static_cast< int >(val2
);
37437 arg3
= wxString_in_helper(obj2
);
37438 if (arg3
== NULL
) SWIG_fail
;
37445 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37451 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37455 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37456 if (!SWIG_IsOK(ecode6
)) {
37457 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37459 arg6
= static_cast< long >(val6
);
37463 arg7
= wxString_in_helper(obj6
);
37464 if (arg7
== NULL
) SWIG_fail
;
37469 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37470 if (!SWIG_IsOK(ecode8
)) {
37471 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37473 arg8
= static_cast< int >(val8
);
37477 arg9
= wxString_in_helper(obj8
);
37478 if (arg9
== NULL
) SWIG_fail
;
37483 if (!wxPyCheckForApp()) SWIG_fail
;
37484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37485 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37486 wxPyEndAllowThreads(__tstate
);
37487 if (PyErr_Occurred()) SWIG_fail
;
37489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37520 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37521 PyObject
*resultobj
= 0;
37522 wxGenericDirCtrl
*result
= 0 ;
37524 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37526 if (!wxPyCheckForApp()) SWIG_fail
;
37527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37528 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37529 wxPyEndAllowThreads(__tstate
);
37530 if (PyErr_Occurred()) SWIG_fail
;
37532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37539 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37540 PyObject
*resultobj
= 0;
37541 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37542 wxWindow
*arg2
= (wxWindow
*) 0 ;
37543 int arg3
= (int) (int)-1 ;
37544 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37545 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37546 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37547 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37548 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37549 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37550 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37551 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37552 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37553 int arg9
= (int) 0 ;
37554 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37555 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37563 bool temp4
= false ;
37568 bool temp8
= false ;
37571 bool temp10
= false ;
37572 PyObject
* obj0
= 0 ;
37573 PyObject
* obj1
= 0 ;
37574 PyObject
* obj2
= 0 ;
37575 PyObject
* obj3
= 0 ;
37576 PyObject
* obj4
= 0 ;
37577 PyObject
* obj5
= 0 ;
37578 PyObject
* obj6
= 0 ;
37579 PyObject
* obj7
= 0 ;
37580 PyObject
* obj8
= 0 ;
37581 PyObject
* obj9
= 0 ;
37582 char * kwnames
[] = {
37583 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37588 if (!SWIG_IsOK(res1
)) {
37589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37591 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37593 if (!SWIG_IsOK(res2
)) {
37594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37596 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37599 if (!SWIG_IsOK(ecode3
)) {
37600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37602 arg3
= static_cast< int >(val3
);
37606 arg4
= wxString_in_helper(obj3
);
37607 if (arg4
== NULL
) SWIG_fail
;
37614 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37620 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37624 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37625 if (!SWIG_IsOK(ecode7
)) {
37626 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37628 arg7
= static_cast< long >(val7
);
37632 arg8
= wxString_in_helper(obj7
);
37633 if (arg8
== NULL
) SWIG_fail
;
37638 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37639 if (!SWIG_IsOK(ecode9
)) {
37640 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37642 arg9
= static_cast< int >(val9
);
37646 arg10
= wxString_in_helper(obj9
);
37647 if (arg10
== NULL
) SWIG_fail
;
37652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37653 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37654 wxPyEndAllowThreads(__tstate
);
37655 if (PyErr_Occurred()) SWIG_fail
;
37658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37690 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37691 PyObject
*resultobj
= 0;
37692 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37693 wxString
*arg2
= 0 ;
37697 bool temp2
= false ;
37698 PyObject
* obj0
= 0 ;
37699 PyObject
* obj1
= 0 ;
37700 char * kwnames
[] = {
37701 (char *) "self",(char *) "path", NULL
37704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37706 if (!SWIG_IsOK(res1
)) {
37707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37709 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37711 arg2
= wxString_in_helper(obj1
);
37712 if (arg2
== NULL
) SWIG_fail
;
37716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37717 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37718 wxPyEndAllowThreads(__tstate
);
37719 if (PyErr_Occurred()) SWIG_fail
;
37722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37738 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37739 PyObject
*resultobj
= 0;
37740 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37741 wxString
*arg2
= 0 ;
37745 bool temp2
= false ;
37746 PyObject
* obj0
= 0 ;
37747 PyObject
* obj1
= 0 ;
37748 char * kwnames
[] = {
37749 (char *) "self",(char *) "path", NULL
37752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37754 if (!SWIG_IsOK(res1
)) {
37755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37757 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37759 arg2
= wxString_in_helper(obj1
);
37760 if (arg2
== NULL
) SWIG_fail
;
37764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37765 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37766 wxPyEndAllowThreads(__tstate
);
37767 if (PyErr_Occurred()) SWIG_fail
;
37770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37786 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37787 PyObject
*resultobj
= 0;
37788 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37792 PyObject
*swig_obj
[1] ;
37794 if (!args
) SWIG_fail
;
37795 swig_obj
[0] = args
;
37796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37797 if (!SWIG_IsOK(res1
)) {
37798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37800 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37803 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37804 wxPyEndAllowThreads(__tstate
);
37805 if (PyErr_Occurred()) SWIG_fail
;
37809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37820 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37821 PyObject
*resultobj
= 0;
37822 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37823 wxString
*arg2
= 0 ;
37826 bool temp2
= false ;
37827 PyObject
* obj0
= 0 ;
37828 PyObject
* obj1
= 0 ;
37829 char * kwnames
[] = {
37830 (char *) "self",(char *) "path", NULL
37833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37835 if (!SWIG_IsOK(res1
)) {
37836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37838 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37840 arg2
= wxString_in_helper(obj1
);
37841 if (arg2
== NULL
) SWIG_fail
;
37845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37846 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37847 wxPyEndAllowThreads(__tstate
);
37848 if (PyErr_Occurred()) SWIG_fail
;
37850 resultobj
= SWIG_Py_Void();
37865 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37866 PyObject
*resultobj
= 0;
37867 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37871 PyObject
*swig_obj
[1] ;
37873 if (!args
) SWIG_fail
;
37874 swig_obj
[0] = args
;
37875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37876 if (!SWIG_IsOK(res1
)) {
37877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37879 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37882 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37883 wxPyEndAllowThreads(__tstate
);
37884 if (PyErr_Occurred()) SWIG_fail
;
37888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37899 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37900 PyObject
*resultobj
= 0;
37901 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37905 PyObject
*swig_obj
[1] ;
37907 if (!args
) SWIG_fail
;
37908 swig_obj
[0] = args
;
37909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37910 if (!SWIG_IsOK(res1
)) {
37911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37913 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37916 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37917 wxPyEndAllowThreads(__tstate
);
37918 if (PyErr_Occurred()) SWIG_fail
;
37922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37933 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37934 PyObject
*resultobj
= 0;
37935 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37936 wxString
*arg2
= 0 ;
37939 bool temp2
= false ;
37940 PyObject
* obj0
= 0 ;
37941 PyObject
* obj1
= 0 ;
37942 char * kwnames
[] = {
37943 (char *) "self",(char *) "path", NULL
37946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37948 if (!SWIG_IsOK(res1
)) {
37949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37951 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37953 arg2
= wxString_in_helper(obj1
);
37954 if (arg2
== NULL
) SWIG_fail
;
37958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37959 (arg1
)->SetPath((wxString
const &)*arg2
);
37960 wxPyEndAllowThreads(__tstate
);
37961 if (PyErr_Occurred()) SWIG_fail
;
37963 resultobj
= SWIG_Py_Void();
37978 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37979 PyObject
*resultobj
= 0;
37980 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37986 PyObject
* obj0
= 0 ;
37987 PyObject
* obj1
= 0 ;
37988 char * kwnames
[] = {
37989 (char *) "self",(char *) "show", NULL
37992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37994 if (!SWIG_IsOK(res1
)) {
37995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37997 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37998 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37999 if (!SWIG_IsOK(ecode2
)) {
38000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38002 arg2
= static_cast< bool >(val2
);
38004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38005 (arg1
)->ShowHidden(arg2
);
38006 wxPyEndAllowThreads(__tstate
);
38007 if (PyErr_Occurred()) SWIG_fail
;
38009 resultobj
= SWIG_Py_Void();
38016 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38017 PyObject
*resultobj
= 0;
38018 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38022 PyObject
*swig_obj
[1] ;
38024 if (!args
) SWIG_fail
;
38025 swig_obj
[0] = args
;
38026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38027 if (!SWIG_IsOK(res1
)) {
38028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38030 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38033 result
= (bool)(arg1
)->GetShowHidden();
38034 wxPyEndAllowThreads(__tstate
);
38035 if (PyErr_Occurred()) SWIG_fail
;
38038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38046 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38047 PyObject
*resultobj
= 0;
38048 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38052 PyObject
*swig_obj
[1] ;
38054 if (!args
) SWIG_fail
;
38055 swig_obj
[0] = args
;
38056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38057 if (!SWIG_IsOK(res1
)) {
38058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38060 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38063 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38064 wxPyEndAllowThreads(__tstate
);
38065 if (PyErr_Occurred()) SWIG_fail
;
38069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38080 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38081 PyObject
*resultobj
= 0;
38082 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38083 wxString
*arg2
= 0 ;
38086 bool temp2
= false ;
38087 PyObject
* obj0
= 0 ;
38088 PyObject
* obj1
= 0 ;
38089 char * kwnames
[] = {
38090 (char *) "self",(char *) "filter", NULL
38093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38095 if (!SWIG_IsOK(res1
)) {
38096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38098 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38100 arg2
= wxString_in_helper(obj1
);
38101 if (arg2
== NULL
) SWIG_fail
;
38105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38106 (arg1
)->SetFilter((wxString
const &)*arg2
);
38107 wxPyEndAllowThreads(__tstate
);
38108 if (PyErr_Occurred()) SWIG_fail
;
38110 resultobj
= SWIG_Py_Void();
38125 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38126 PyObject
*resultobj
= 0;
38127 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38131 PyObject
*swig_obj
[1] ;
38133 if (!args
) SWIG_fail
;
38134 swig_obj
[0] = args
;
38135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38136 if (!SWIG_IsOK(res1
)) {
38137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38139 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38142 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38143 wxPyEndAllowThreads(__tstate
);
38144 if (PyErr_Occurred()) SWIG_fail
;
38146 resultobj
= SWIG_From_int(static_cast< int >(result
));
38153 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38154 PyObject
*resultobj
= 0;
38155 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38161 PyObject
* obj0
= 0 ;
38162 PyObject
* obj1
= 0 ;
38163 char * kwnames
[] = {
38164 (char *) "self",(char *) "n", NULL
38167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38169 if (!SWIG_IsOK(res1
)) {
38170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38172 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38174 if (!SWIG_IsOK(ecode2
)) {
38175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38177 arg2
= static_cast< int >(val2
);
38179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38180 (arg1
)->SetFilterIndex(arg2
);
38181 wxPyEndAllowThreads(__tstate
);
38182 if (PyErr_Occurred()) SWIG_fail
;
38184 resultobj
= SWIG_Py_Void();
38191 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38192 PyObject
*resultobj
= 0;
38193 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38194 wxTreeItemId result
;
38197 PyObject
*swig_obj
[1] ;
38199 if (!args
) SWIG_fail
;
38200 swig_obj
[0] = args
;
38201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38202 if (!SWIG_IsOK(res1
)) {
38203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38205 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38208 result
= (arg1
)->GetRootId();
38209 wxPyEndAllowThreads(__tstate
);
38210 if (PyErr_Occurred()) SWIG_fail
;
38212 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38219 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38220 PyObject
*resultobj
= 0;
38221 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38222 wxPyTreeCtrl
*result
= 0 ;
38225 PyObject
*swig_obj
[1] ;
38227 if (!args
) SWIG_fail
;
38228 swig_obj
[0] = args
;
38229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38230 if (!SWIG_IsOK(res1
)) {
38231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38233 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38236 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38237 wxPyEndAllowThreads(__tstate
);
38238 if (PyErr_Occurred()) SWIG_fail
;
38241 resultobj
= wxPyMake_wxObject(result
, 0);
38249 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38250 PyObject
*resultobj
= 0;
38251 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38252 wxDirFilterListCtrl
*result
= 0 ;
38255 PyObject
*swig_obj
[1] ;
38257 if (!args
) SWIG_fail
;
38258 swig_obj
[0] = args
;
38259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38260 if (!SWIG_IsOK(res1
)) {
38261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38263 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38266 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38267 wxPyEndAllowThreads(__tstate
);
38268 if (PyErr_Occurred()) SWIG_fail
;
38270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38277 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38278 PyObject
*resultobj
= 0;
38279 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38280 wxTreeItemId arg2
;
38281 wxString
*arg3
= 0 ;
38283 wxTreeItemId result
;
38288 bool temp3
= false ;
38290 int res4
= SWIG_TMPOBJ
;
38291 PyObject
* obj0
= 0 ;
38292 PyObject
* obj1
= 0 ;
38293 PyObject
* obj2
= 0 ;
38294 char * kwnames
[] = {
38295 (char *) "self",(char *) "parentId",(char *) "path", NULL
38299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38301 if (!SWIG_IsOK(res1
)) {
38302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38304 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38307 if (!SWIG_IsOK(res2
)) {
38308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38313 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38315 if (SWIG_IsNewObj(res2
)) delete temp
;
38319 arg3
= wxString_in_helper(obj2
);
38320 if (arg3
== NULL
) SWIG_fail
;
38324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38325 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38326 wxPyEndAllowThreads(__tstate
);
38327 if (PyErr_Occurred()) SWIG_fail
;
38329 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38330 if (SWIG_IsTmpObj(res4
)) {
38331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38333 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38350 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38351 PyObject
*resultobj
= 0;
38352 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38355 PyObject
*swig_obj
[1] ;
38357 if (!args
) SWIG_fail
;
38358 swig_obj
[0] = args
;
38359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38360 if (!SWIG_IsOK(res1
)) {
38361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38363 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38366 (arg1
)->DoResize();
38367 wxPyEndAllowThreads(__tstate
);
38368 if (PyErr_Occurred()) SWIG_fail
;
38370 resultobj
= SWIG_Py_Void();
38377 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38378 PyObject
*resultobj
= 0;
38379 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38382 PyObject
*swig_obj
[1] ;
38384 if (!args
) SWIG_fail
;
38385 swig_obj
[0] = args
;
38386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38387 if (!SWIG_IsOK(res1
)) {
38388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38390 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38393 (arg1
)->ReCreateTree();
38394 wxPyEndAllowThreads(__tstate
);
38395 if (PyErr_Occurred()) SWIG_fail
;
38397 resultobj
= SWIG_Py_Void();
38404 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38407 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38408 return SWIG_Py_Void();
38411 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38412 return SWIG_Python_InitShadowInstance(args
);
38415 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38416 PyObject
*resultobj
= 0;
38417 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38418 int arg2
= (int) (int)-1 ;
38419 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38420 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38421 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38422 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38423 long arg5
= (long) 0 ;
38424 wxDirFilterListCtrl
*result
= 0 ;
38433 PyObject
* obj0
= 0 ;
38434 PyObject
* obj1
= 0 ;
38435 PyObject
* obj2
= 0 ;
38436 PyObject
* obj3
= 0 ;
38437 PyObject
* obj4
= 0 ;
38438 char * kwnames
[] = {
38439 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38444 if (!SWIG_IsOK(res1
)) {
38445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38447 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38450 if (!SWIG_IsOK(ecode2
)) {
38451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38453 arg2
= static_cast< int >(val2
);
38458 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38464 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38468 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38469 if (!SWIG_IsOK(ecode5
)) {
38470 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38472 arg5
= static_cast< long >(val5
);
38475 if (!wxPyCheckForApp()) SWIG_fail
;
38476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38477 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38478 wxPyEndAllowThreads(__tstate
);
38479 if (PyErr_Occurred()) SWIG_fail
;
38481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38488 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38489 PyObject
*resultobj
= 0;
38490 wxDirFilterListCtrl
*result
= 0 ;
38492 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38494 if (!wxPyCheckForApp()) SWIG_fail
;
38495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38496 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38497 wxPyEndAllowThreads(__tstate
);
38498 if (PyErr_Occurred()) SWIG_fail
;
38500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38507 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38508 PyObject
*resultobj
= 0;
38509 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38510 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38511 int arg3
= (int) (int)-1 ;
38512 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38513 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38514 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38515 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38516 long arg6
= (long) 0 ;
38528 PyObject
* obj0
= 0 ;
38529 PyObject
* obj1
= 0 ;
38530 PyObject
* obj2
= 0 ;
38531 PyObject
* obj3
= 0 ;
38532 PyObject
* obj4
= 0 ;
38533 PyObject
* obj5
= 0 ;
38534 char * kwnames
[] = {
38535 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38540 if (!SWIG_IsOK(res1
)) {
38541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38543 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38544 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38545 if (!SWIG_IsOK(res2
)) {
38546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38548 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38551 if (!SWIG_IsOK(ecode3
)) {
38552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38554 arg3
= static_cast< int >(val3
);
38559 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38565 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38569 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38570 if (!SWIG_IsOK(ecode6
)) {
38571 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38573 arg6
= static_cast< long >(val6
);
38576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38577 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38578 wxPyEndAllowThreads(__tstate
);
38579 if (PyErr_Occurred()) SWIG_fail
;
38582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38590 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38591 PyObject
*resultobj
= 0;
38592 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38593 wxString
*arg2
= 0 ;
38597 bool temp2
= false ;
38600 PyObject
* obj0
= 0 ;
38601 PyObject
* obj1
= 0 ;
38602 PyObject
* obj2
= 0 ;
38603 char * kwnames
[] = {
38604 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38609 if (!SWIG_IsOK(res1
)) {
38610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38612 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38614 arg2
= wxString_in_helper(obj1
);
38615 if (arg2
== NULL
) SWIG_fail
;
38618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38619 if (!SWIG_IsOK(ecode3
)) {
38620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38622 arg3
= static_cast< int >(val3
);
38624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38625 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38626 wxPyEndAllowThreads(__tstate
);
38627 if (PyErr_Occurred()) SWIG_fail
;
38629 resultobj
= SWIG_Py_Void();
38644 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38646 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38647 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38648 return SWIG_Py_Void();
38651 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38652 return SWIG_Python_InitShadowInstance(args
);
38655 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38656 PyObject
*resultobj
= 0;
38657 wxWindow
*arg1
= (wxWindow
*) 0 ;
38658 int arg2
= (int) (int)-1 ;
38659 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38660 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38661 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38662 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38663 long arg5
= (long) 0 ;
38664 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38665 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38666 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38667 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38668 wxPyControl
*result
= 0 ;
38679 bool temp7
= false ;
38680 PyObject
* obj0
= 0 ;
38681 PyObject
* obj1
= 0 ;
38682 PyObject
* obj2
= 0 ;
38683 PyObject
* obj3
= 0 ;
38684 PyObject
* obj4
= 0 ;
38685 PyObject
* obj5
= 0 ;
38686 PyObject
* obj6
= 0 ;
38687 char * kwnames
[] = {
38688 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38693 if (!SWIG_IsOK(res1
)) {
38694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38696 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38699 if (!SWIG_IsOK(ecode2
)) {
38700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38702 arg2
= static_cast< int >(val2
);
38707 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38713 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38717 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38718 if (!SWIG_IsOK(ecode5
)) {
38719 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38721 arg5
= static_cast< long >(val5
);
38724 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38725 if (!SWIG_IsOK(res6
)) {
38726 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38731 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38735 arg7
= wxString_in_helper(obj6
);
38736 if (arg7
== NULL
) SWIG_fail
;
38741 if (!wxPyCheckForApp()) SWIG_fail
;
38742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38743 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38744 wxPyEndAllowThreads(__tstate
);
38745 if (PyErr_Occurred()) SWIG_fail
;
38747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38762 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38763 PyObject
*resultobj
= 0;
38764 wxPyControl
*result
= 0 ;
38766 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38768 if (!wxPyCheckForApp()) SWIG_fail
;
38769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38770 result
= (wxPyControl
*)new wxPyControl();
38771 wxPyEndAllowThreads(__tstate
);
38772 if (PyErr_Occurred()) SWIG_fail
;
38774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38781 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38782 PyObject
*resultobj
= 0;
38783 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38784 PyObject
*arg2
= (PyObject
*) 0 ;
38785 PyObject
*arg3
= (PyObject
*) 0 ;
38788 PyObject
* obj0
= 0 ;
38789 PyObject
* obj1
= 0 ;
38790 PyObject
* obj2
= 0 ;
38791 char * kwnames
[] = {
38792 (char *) "self",(char *) "self",(char *) "_class", NULL
38795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38797 if (!SWIG_IsOK(res1
)) {
38798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38800 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38805 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38806 wxPyEndAllowThreads(__tstate
);
38807 if (PyErr_Occurred()) SWIG_fail
;
38809 resultobj
= SWIG_Py_Void();
38816 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38817 PyObject
*resultobj
= 0;
38818 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38819 wxDC
*arg2
= (wxDC
*) 0 ;
38825 PyObject
* obj0
= 0 ;
38826 PyObject
* obj1
= 0 ;
38827 char * kwnames
[] = {
38828 (char *) "self",(char *) "dc", NULL
38831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38833 if (!SWIG_IsOK(res1
)) {
38834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38836 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38837 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38838 if (!SWIG_IsOK(res2
)) {
38839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38841 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38844 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38845 wxPyEndAllowThreads(__tstate
);
38846 if (PyErr_Occurred()) SWIG_fail
;
38849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38857 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38858 PyObject
*resultobj
= 0;
38859 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38874 PyObject
* obj0
= 0 ;
38875 PyObject
* obj1
= 0 ;
38876 PyObject
* obj2
= 0 ;
38877 PyObject
* obj3
= 0 ;
38878 PyObject
* obj4
= 0 ;
38879 char * kwnames
[] = {
38880 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38885 if (!SWIG_IsOK(res1
)) {
38886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38888 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38890 if (!SWIG_IsOK(ecode2
)) {
38891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38893 arg2
= static_cast< int >(val2
);
38894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38895 if (!SWIG_IsOK(ecode3
)) {
38896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38898 arg3
= static_cast< int >(val3
);
38899 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38900 if (!SWIG_IsOK(ecode4
)) {
38901 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38903 arg4
= static_cast< int >(val4
);
38904 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38905 if (!SWIG_IsOK(ecode5
)) {
38906 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38908 arg5
= static_cast< int >(val5
);
38910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38911 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38912 wxPyEndAllowThreads(__tstate
);
38913 if (PyErr_Occurred()) SWIG_fail
;
38915 resultobj
= SWIG_Py_Void();
38922 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38923 PyObject
*resultobj
= 0;
38924 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38929 int arg6
= (int) wxSIZE_AUTO
;
38942 PyObject
* obj0
= 0 ;
38943 PyObject
* obj1
= 0 ;
38944 PyObject
* obj2
= 0 ;
38945 PyObject
* obj3
= 0 ;
38946 PyObject
* obj4
= 0 ;
38947 PyObject
* obj5
= 0 ;
38948 char * kwnames
[] = {
38949 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38954 if (!SWIG_IsOK(res1
)) {
38955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38957 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38959 if (!SWIG_IsOK(ecode2
)) {
38960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38962 arg2
= static_cast< int >(val2
);
38963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38964 if (!SWIG_IsOK(ecode3
)) {
38965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38967 arg3
= static_cast< int >(val3
);
38968 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38969 if (!SWIG_IsOK(ecode4
)) {
38970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38972 arg4
= static_cast< int >(val4
);
38973 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38974 if (!SWIG_IsOK(ecode5
)) {
38975 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38977 arg5
= static_cast< int >(val5
);
38979 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38980 if (!SWIG_IsOK(ecode6
)) {
38981 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38983 arg6
= static_cast< int >(val6
);
38986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38987 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38988 wxPyEndAllowThreads(__tstate
);
38989 if (PyErr_Occurred()) SWIG_fail
;
38991 resultobj
= SWIG_Py_Void();
38998 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38999 PyObject
*resultobj
= 0;
39000 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39009 PyObject
* obj0
= 0 ;
39010 PyObject
* obj1
= 0 ;
39011 PyObject
* obj2
= 0 ;
39012 char * kwnames
[] = {
39013 (char *) "self",(char *) "width",(char *) "height", NULL
39016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39018 if (!SWIG_IsOK(res1
)) {
39019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39021 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39023 if (!SWIG_IsOK(ecode2
)) {
39024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39026 arg2
= static_cast< int >(val2
);
39027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39028 if (!SWIG_IsOK(ecode3
)) {
39029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39031 arg3
= static_cast< int >(val3
);
39033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39034 (arg1
)->DoSetClientSize(arg2
,arg3
);
39035 wxPyEndAllowThreads(__tstate
);
39036 if (PyErr_Occurred()) SWIG_fail
;
39038 resultobj
= SWIG_Py_Void();
39045 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39046 PyObject
*resultobj
= 0;
39047 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39056 PyObject
* obj0
= 0 ;
39057 PyObject
* obj1
= 0 ;
39058 PyObject
* obj2
= 0 ;
39059 char * kwnames
[] = {
39060 (char *) "self",(char *) "x",(char *) "y", NULL
39063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39065 if (!SWIG_IsOK(res1
)) {
39066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39068 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39070 if (!SWIG_IsOK(ecode2
)) {
39071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39073 arg2
= static_cast< int >(val2
);
39074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39075 if (!SWIG_IsOK(ecode3
)) {
39076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39078 arg3
= static_cast< int >(val3
);
39080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39081 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39082 wxPyEndAllowThreads(__tstate
);
39083 if (PyErr_Occurred()) SWIG_fail
;
39085 resultobj
= SWIG_Py_Void();
39092 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39093 PyObject
*resultobj
= 0;
39094 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39095 int *arg2
= (int *) 0 ;
39096 int *arg3
= (int *) 0 ;
39100 int res2
= SWIG_TMPOBJ
;
39102 int res3
= SWIG_TMPOBJ
;
39103 PyObject
*swig_obj
[1] ;
39107 if (!args
) SWIG_fail
;
39108 swig_obj
[0] = args
;
39109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39110 if (!SWIG_IsOK(res1
)) {
39111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39113 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39116 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39117 wxPyEndAllowThreads(__tstate
);
39118 if (PyErr_Occurred()) SWIG_fail
;
39120 resultobj
= SWIG_Py_Void();
39121 if (SWIG_IsTmpObj(res2
)) {
39122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39124 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39127 if (SWIG_IsTmpObj(res3
)) {
39128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39130 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39139 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39140 PyObject
*resultobj
= 0;
39141 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39142 int *arg2
= (int *) 0 ;
39143 int *arg3
= (int *) 0 ;
39147 int res2
= SWIG_TMPOBJ
;
39149 int res3
= SWIG_TMPOBJ
;
39150 PyObject
*swig_obj
[1] ;
39154 if (!args
) SWIG_fail
;
39155 swig_obj
[0] = args
;
39156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39157 if (!SWIG_IsOK(res1
)) {
39158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39160 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39163 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39164 wxPyEndAllowThreads(__tstate
);
39165 if (PyErr_Occurred()) SWIG_fail
;
39167 resultobj
= SWIG_Py_Void();
39168 if (SWIG_IsTmpObj(res2
)) {
39169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39171 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39174 if (SWIG_IsTmpObj(res3
)) {
39175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39177 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39186 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39187 PyObject
*resultobj
= 0;
39188 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39189 int *arg2
= (int *) 0 ;
39190 int *arg3
= (int *) 0 ;
39194 int res2
= SWIG_TMPOBJ
;
39196 int res3
= SWIG_TMPOBJ
;
39197 PyObject
*swig_obj
[1] ;
39201 if (!args
) SWIG_fail
;
39202 swig_obj
[0] = args
;
39203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39204 if (!SWIG_IsOK(res1
)) {
39205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39207 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39210 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39211 wxPyEndAllowThreads(__tstate
);
39212 if (PyErr_Occurred()) SWIG_fail
;
39214 resultobj
= SWIG_Py_Void();
39215 if (SWIG_IsTmpObj(res2
)) {
39216 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39218 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39221 if (SWIG_IsTmpObj(res3
)) {
39222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39224 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39233 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39234 PyObject
*resultobj
= 0;
39235 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39239 PyObject
*swig_obj
[1] ;
39241 if (!args
) SWIG_fail
;
39242 swig_obj
[0] = args
;
39243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39244 if (!SWIG_IsOK(res1
)) {
39245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39247 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39250 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39251 wxPyEndAllowThreads(__tstate
);
39252 if (PyErr_Occurred()) SWIG_fail
;
39254 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39261 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39262 PyObject
*resultobj
= 0;
39263 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39267 PyObject
*swig_obj
[1] ;
39269 if (!args
) SWIG_fail
;
39270 swig_obj
[0] = args
;
39271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39272 if (!SWIG_IsOK(res1
)) {
39273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39275 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39278 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39279 wxPyEndAllowThreads(__tstate
);
39280 if (PyErr_Occurred()) SWIG_fail
;
39282 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39289 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39290 PyObject
*resultobj
= 0;
39291 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39292 SwigValueWrapper
<wxVisualAttributes
> result
;
39295 PyObject
*swig_obj
[1] ;
39297 if (!args
) SWIG_fail
;
39298 swig_obj
[0] = args
;
39299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39300 if (!SWIG_IsOK(res1
)) {
39301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39303 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39306 result
= (arg1
)->GetDefaultAttributes();
39307 wxPyEndAllowThreads(__tstate
);
39308 if (PyErr_Occurred()) SWIG_fail
;
39310 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39317 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39318 PyObject
*resultobj
= 0;
39319 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39322 PyObject
*swig_obj
[1] ;
39324 if (!args
) SWIG_fail
;
39325 swig_obj
[0] = args
;
39326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39327 if (!SWIG_IsOK(res1
)) {
39328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39330 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39333 (arg1
)->OnInternalIdle();
39334 wxPyEndAllowThreads(__tstate
);
39335 if (PyErr_Occurred()) SWIG_fail
;
39337 resultobj
= SWIG_Py_Void();
39344 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39347 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39348 return SWIG_Py_Void();
39351 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39352 return SWIG_Python_InitShadowInstance(args
);
39355 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39356 PyObject
*resultobj
= 0;
39357 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39358 int arg2
= (int) 0 ;
39359 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39360 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39361 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39362 wxHelpEvent
*result
= 0 ;
39370 PyObject
* obj0
= 0 ;
39371 PyObject
* obj1
= 0 ;
39372 PyObject
* obj2
= 0 ;
39373 PyObject
* obj3
= 0 ;
39374 char * kwnames
[] = {
39375 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39380 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39381 if (!SWIG_IsOK(ecode1
)) {
39382 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39384 arg1
= static_cast< wxEventType
>(val1
);
39387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39388 if (!SWIG_IsOK(ecode2
)) {
39389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39391 arg2
= static_cast< int >(val2
);
39396 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39400 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39401 if (!SWIG_IsOK(ecode4
)) {
39402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39404 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39408 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39409 wxPyEndAllowThreads(__tstate
);
39410 if (PyErr_Occurred()) SWIG_fail
;
39412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39419 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39420 PyObject
*resultobj
= 0;
39421 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39425 PyObject
*swig_obj
[1] ;
39427 if (!args
) SWIG_fail
;
39428 swig_obj
[0] = args
;
39429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39430 if (!SWIG_IsOK(res1
)) {
39431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39433 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39436 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39437 wxPyEndAllowThreads(__tstate
);
39438 if (PyErr_Occurred()) SWIG_fail
;
39440 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39447 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39448 PyObject
*resultobj
= 0;
39449 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39450 wxPoint
*arg2
= 0 ;
39454 PyObject
* obj0
= 0 ;
39455 PyObject
* obj1
= 0 ;
39456 char * kwnames
[] = {
39457 (char *) "self",(char *) "pos", NULL
39460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39462 if (!SWIG_IsOK(res1
)) {
39463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39465 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39468 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39472 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39473 wxPyEndAllowThreads(__tstate
);
39474 if (PyErr_Occurred()) SWIG_fail
;
39476 resultobj
= SWIG_Py_Void();
39483 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39484 PyObject
*resultobj
= 0;
39485 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39486 wxString
*result
= 0 ;
39489 PyObject
*swig_obj
[1] ;
39491 if (!args
) SWIG_fail
;
39492 swig_obj
[0] = args
;
39493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39494 if (!SWIG_IsOK(res1
)) {
39495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39497 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39501 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39502 result
= (wxString
*) &_result_ref
;
39504 wxPyEndAllowThreads(__tstate
);
39505 if (PyErr_Occurred()) SWIG_fail
;
39509 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39511 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39520 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39521 PyObject
*resultobj
= 0;
39522 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39523 wxString
*arg2
= 0 ;
39526 bool temp2
= false ;
39527 PyObject
* obj0
= 0 ;
39528 PyObject
* obj1
= 0 ;
39529 char * kwnames
[] = {
39530 (char *) "self",(char *) "link", NULL
39533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39535 if (!SWIG_IsOK(res1
)) {
39536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39538 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39540 arg2
= wxString_in_helper(obj1
);
39541 if (arg2
== NULL
) SWIG_fail
;
39545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39546 (arg1
)->SetLink((wxString
const &)*arg2
);
39547 wxPyEndAllowThreads(__tstate
);
39548 if (PyErr_Occurred()) SWIG_fail
;
39550 resultobj
= SWIG_Py_Void();
39565 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39566 PyObject
*resultobj
= 0;
39567 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39568 wxString
*result
= 0 ;
39571 PyObject
*swig_obj
[1] ;
39573 if (!args
) SWIG_fail
;
39574 swig_obj
[0] = args
;
39575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39576 if (!SWIG_IsOK(res1
)) {
39577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39579 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39583 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39584 result
= (wxString
*) &_result_ref
;
39586 wxPyEndAllowThreads(__tstate
);
39587 if (PyErr_Occurred()) SWIG_fail
;
39591 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39593 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39602 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39603 PyObject
*resultobj
= 0;
39604 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39605 wxString
*arg2
= 0 ;
39608 bool temp2
= false ;
39609 PyObject
* obj0
= 0 ;
39610 PyObject
* obj1
= 0 ;
39611 char * kwnames
[] = {
39612 (char *) "self",(char *) "target", NULL
39615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39617 if (!SWIG_IsOK(res1
)) {
39618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39620 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39622 arg2
= wxString_in_helper(obj1
);
39623 if (arg2
== NULL
) SWIG_fail
;
39627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39628 (arg1
)->SetTarget((wxString
const &)*arg2
);
39629 wxPyEndAllowThreads(__tstate
);
39630 if (PyErr_Occurred()) SWIG_fail
;
39632 resultobj
= SWIG_Py_Void();
39647 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39648 PyObject
*resultobj
= 0;
39649 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39650 wxHelpEvent::Origin result
;
39653 PyObject
*swig_obj
[1] ;
39655 if (!args
) SWIG_fail
;
39656 swig_obj
[0] = args
;
39657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39658 if (!SWIG_IsOK(res1
)) {
39659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39661 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39664 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39665 wxPyEndAllowThreads(__tstate
);
39666 if (PyErr_Occurred()) SWIG_fail
;
39668 resultobj
= SWIG_From_int(static_cast< int >(result
));
39675 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39676 PyObject
*resultobj
= 0;
39677 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39678 wxHelpEvent::Origin arg2
;
39683 PyObject
* obj0
= 0 ;
39684 PyObject
* obj1
= 0 ;
39685 char * kwnames
[] = {
39686 (char *) "self",(char *) "origin", NULL
39689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39691 if (!SWIG_IsOK(res1
)) {
39692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39694 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39696 if (!SWIG_IsOK(ecode2
)) {
39697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39699 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39702 (arg1
)->SetOrigin(arg2
);
39703 wxPyEndAllowThreads(__tstate
);
39704 if (PyErr_Occurred()) SWIG_fail
;
39706 resultobj
= SWIG_Py_Void();
39713 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39715 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39716 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39717 return SWIG_Py_Void();
39720 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39721 return SWIG_Python_InitShadowInstance(args
);
39724 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39725 PyObject
*resultobj
= 0;
39726 wxWindow
*arg1
= (wxWindow
*) NULL
;
39727 bool arg2
= (bool) true ;
39728 wxContextHelp
*result
= 0 ;
39733 PyObject
* obj0
= 0 ;
39734 PyObject
* obj1
= 0 ;
39735 char * kwnames
[] = {
39736 (char *) "window",(char *) "doNow", NULL
39739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39742 if (!SWIG_IsOK(res1
)) {
39743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39745 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39748 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39749 if (!SWIG_IsOK(ecode2
)) {
39750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39752 arg2
= static_cast< bool >(val2
);
39755 if (!wxPyCheckForApp()) SWIG_fail
;
39756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39757 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39758 wxPyEndAllowThreads(__tstate
);
39759 if (PyErr_Occurred()) SWIG_fail
;
39761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39768 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39769 PyObject
*resultobj
= 0;
39770 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39773 PyObject
*swig_obj
[1] ;
39775 if (!args
) SWIG_fail
;
39776 swig_obj
[0] = args
;
39777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39778 if (!SWIG_IsOK(res1
)) {
39779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39781 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39786 wxPyEndAllowThreads(__tstate
);
39787 if (PyErr_Occurred()) SWIG_fail
;
39789 resultobj
= SWIG_Py_Void();
39796 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39797 PyObject
*resultobj
= 0;
39798 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39799 wxWindow
*arg2
= (wxWindow
*) NULL
;
39805 PyObject
* obj0
= 0 ;
39806 PyObject
* obj1
= 0 ;
39807 char * kwnames
[] = {
39808 (char *) "self",(char *) "window", NULL
39811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39813 if (!SWIG_IsOK(res1
)) {
39814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39816 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39819 if (!SWIG_IsOK(res2
)) {
39820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39822 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39826 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39827 wxPyEndAllowThreads(__tstate
);
39828 if (PyErr_Occurred()) SWIG_fail
;
39831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39839 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39840 PyObject
*resultobj
= 0;
39841 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39845 PyObject
*swig_obj
[1] ;
39847 if (!args
) SWIG_fail
;
39848 swig_obj
[0] = args
;
39849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39850 if (!SWIG_IsOK(res1
)) {
39851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39853 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39856 result
= (bool)(arg1
)->EndContextHelp();
39857 wxPyEndAllowThreads(__tstate
);
39858 if (PyErr_Occurred()) SWIG_fail
;
39861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39869 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39872 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39873 return SWIG_Py_Void();
39876 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39877 return SWIG_Python_InitShadowInstance(args
);
39880 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39881 PyObject
*resultobj
= 0;
39882 wxWindow
*arg1
= (wxWindow
*) 0 ;
39883 int arg2
= (int) wxID_CONTEXT_HELP
;
39884 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39885 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39886 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39887 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39888 long arg5
= (long) wxBU_AUTODRAW
;
39889 wxContextHelpButton
*result
= 0 ;
39898 PyObject
* obj0
= 0 ;
39899 PyObject
* obj1
= 0 ;
39900 PyObject
* obj2
= 0 ;
39901 PyObject
* obj3
= 0 ;
39902 PyObject
* obj4
= 0 ;
39903 char * kwnames
[] = {
39904 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39909 if (!SWIG_IsOK(res1
)) {
39910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39912 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39915 if (!SWIG_IsOK(ecode2
)) {
39916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39918 arg2
= static_cast< int >(val2
);
39923 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39929 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39933 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39934 if (!SWIG_IsOK(ecode5
)) {
39935 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39937 arg5
= static_cast< long >(val5
);
39940 if (!wxPyCheckForApp()) SWIG_fail
;
39941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39942 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39943 wxPyEndAllowThreads(__tstate
);
39944 if (PyErr_Occurred()) SWIG_fail
;
39946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39953 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39956 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39957 return SWIG_Py_Void();
39960 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39961 return SWIG_Python_InitShadowInstance(args
);
39964 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39965 PyObject
*resultobj
= 0;
39966 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39969 PyObject
*swig_obj
[1] ;
39971 if (!args
) SWIG_fail
;
39972 swig_obj
[0] = args
;
39973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39974 if (!SWIG_IsOK(res1
)) {
39975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39977 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39982 wxPyEndAllowThreads(__tstate
);
39983 if (PyErr_Occurred()) SWIG_fail
;
39985 resultobj
= SWIG_Py_Void();
39992 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39993 PyObject
*resultobj
= 0;
39994 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39995 wxHelpProvider
*result
= 0 ;
39997 PyObject
* obj0
= 0 ;
39998 char * kwnames
[] = {
39999 (char *) "helpProvider", NULL
40002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40003 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40004 if (!SWIG_IsOK(res1
)) {
40005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40009 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40010 wxPyEndAllowThreads(__tstate
);
40011 if (PyErr_Occurred()) SWIG_fail
;
40013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40020 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40021 PyObject
*resultobj
= 0;
40022 wxHelpProvider
*result
= 0 ;
40024 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40027 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40028 wxPyEndAllowThreads(__tstate
);
40029 if (PyErr_Occurred()) SWIG_fail
;
40031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40038 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40039 PyObject
*resultobj
= 0;
40040 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40041 wxWindow
*arg2
= (wxWindow
*) 0 ;
40047 PyObject
* obj0
= 0 ;
40048 PyObject
* obj1
= 0 ;
40049 char * kwnames
[] = {
40050 (char *) "self",(char *) "window", NULL
40053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40055 if (!SWIG_IsOK(res1
)) {
40056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40058 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40059 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40060 if (!SWIG_IsOK(res2
)) {
40061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40063 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40066 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40067 wxPyEndAllowThreads(__tstate
);
40068 if (PyErr_Occurred()) SWIG_fail
;
40072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40083 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40084 PyObject
*resultobj
= 0;
40085 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40086 wxWindow
*arg2
= (wxWindow
*) 0 ;
40092 PyObject
* obj0
= 0 ;
40093 PyObject
* obj1
= 0 ;
40094 char * kwnames
[] = {
40095 (char *) "self",(char *) "window", NULL
40098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40100 if (!SWIG_IsOK(res1
)) {
40101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40103 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40104 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40105 if (!SWIG_IsOK(res2
)) {
40106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40108 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40111 result
= (bool)(arg1
)->ShowHelp(arg2
);
40112 wxPyEndAllowThreads(__tstate
);
40113 if (PyErr_Occurred()) SWIG_fail
;
40116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40124 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40125 PyObject
*resultobj
= 0;
40126 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40127 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40128 wxPoint
*arg3
= 0 ;
40129 wxHelpEvent::Origin arg4
;
40138 PyObject
* obj0
= 0 ;
40139 PyObject
* obj1
= 0 ;
40140 PyObject
* obj2
= 0 ;
40141 PyObject
* obj3
= 0 ;
40142 char * kwnames
[] = {
40143 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40148 if (!SWIG_IsOK(res1
)) {
40149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40151 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40152 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40153 if (!SWIG_IsOK(res2
)) {
40154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40156 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40159 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40161 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40162 if (!SWIG_IsOK(ecode4
)) {
40163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40165 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40168 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40169 wxPyEndAllowThreads(__tstate
);
40170 if (PyErr_Occurred()) SWIG_fail
;
40173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40181 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40182 PyObject
*resultobj
= 0;
40183 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40184 wxWindow
*arg2
= (wxWindow
*) 0 ;
40185 wxString
*arg3
= 0 ;
40190 bool temp3
= false ;
40191 PyObject
* obj0
= 0 ;
40192 PyObject
* obj1
= 0 ;
40193 PyObject
* obj2
= 0 ;
40194 char * kwnames
[] = {
40195 (char *) "self",(char *) "window",(char *) "text", NULL
40198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40200 if (!SWIG_IsOK(res1
)) {
40201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40203 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40205 if (!SWIG_IsOK(res2
)) {
40206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40208 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40210 arg3
= wxString_in_helper(obj2
);
40211 if (arg3
== NULL
) SWIG_fail
;
40215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40216 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40217 wxPyEndAllowThreads(__tstate
);
40218 if (PyErr_Occurred()) SWIG_fail
;
40220 resultobj
= SWIG_Py_Void();
40235 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40236 PyObject
*resultobj
= 0;
40237 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40239 wxString
*arg3
= 0 ;
40244 bool temp3
= false ;
40245 PyObject
* obj0
= 0 ;
40246 PyObject
* obj1
= 0 ;
40247 PyObject
* obj2
= 0 ;
40248 char * kwnames
[] = {
40249 (char *) "self",(char *) "id",(char *) "text", NULL
40252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40254 if (!SWIG_IsOK(res1
)) {
40255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40257 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40259 if (!SWIG_IsOK(ecode2
)) {
40260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40262 arg2
= static_cast< int >(val2
);
40264 arg3
= wxString_in_helper(obj2
);
40265 if (arg3
== NULL
) SWIG_fail
;
40269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40270 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40271 wxPyEndAllowThreads(__tstate
);
40272 if (PyErr_Occurred()) SWIG_fail
;
40274 resultobj
= SWIG_Py_Void();
40289 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40290 PyObject
*resultobj
= 0;
40291 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40292 wxWindow
*arg2
= (wxWindow
*) 0 ;
40297 PyObject
* obj0
= 0 ;
40298 PyObject
* obj1
= 0 ;
40299 char * kwnames
[] = {
40300 (char *) "self",(char *) "window", NULL
40303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40305 if (!SWIG_IsOK(res1
)) {
40306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40308 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40310 if (!SWIG_IsOK(res2
)) {
40311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40313 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40316 (arg1
)->RemoveHelp(arg2
);
40317 wxPyEndAllowThreads(__tstate
);
40318 if (PyErr_Occurred()) SWIG_fail
;
40320 resultobj
= SWIG_Py_Void();
40327 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40328 PyObject
*resultobj
= 0;
40329 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40332 PyObject
*swig_obj
[1] ;
40334 if (!args
) SWIG_fail
;
40335 swig_obj
[0] = args
;
40336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40337 if (!SWIG_IsOK(res1
)) {
40338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40340 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40343 wxHelpProvider_Destroy(arg1
);
40344 wxPyEndAllowThreads(__tstate
);
40345 if (PyErr_Occurred()) SWIG_fail
;
40347 resultobj
= SWIG_Py_Void();
40354 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40356 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40357 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40358 return SWIG_Py_Void();
40361 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40362 PyObject
*resultobj
= 0;
40363 wxSimpleHelpProvider
*result
= 0 ;
40365 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40368 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40369 wxPyEndAllowThreads(__tstate
);
40370 if (PyErr_Occurred()) SWIG_fail
;
40372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40379 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40382 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40383 return SWIG_Py_Void();
40386 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40387 return SWIG_Python_InitShadowInstance(args
);
40390 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40391 PyObject
*resultobj
= 0;
40392 wxBitmap
*arg1
= 0 ;
40393 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40394 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40395 wxGenericDragImage
*result
= 0 ;
40400 PyObject
* obj0
= 0 ;
40401 PyObject
* obj1
= 0 ;
40402 char * kwnames
[] = {
40403 (char *) "image",(char *) "cursor", NULL
40406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40407 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40408 if (!SWIG_IsOK(res1
)) {
40409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40412 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40414 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40417 if (!SWIG_IsOK(res2
)) {
40418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40423 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40426 if (!wxPyCheckForApp()) SWIG_fail
;
40427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40428 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40429 wxPyEndAllowThreads(__tstate
);
40430 if (PyErr_Occurred()) SWIG_fail
;
40432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40439 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40440 PyObject
*resultobj
= 0;
40442 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40443 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40444 wxGenericDragImage
*result
= 0 ;
40449 PyObject
* obj0
= 0 ;
40450 PyObject
* obj1
= 0 ;
40451 char * kwnames
[] = {
40452 (char *) "image",(char *) "cursor", NULL
40455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40456 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40457 if (!SWIG_IsOK(res1
)) {
40458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40463 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40465 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40466 if (!SWIG_IsOK(res2
)) {
40467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40472 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40475 if (!wxPyCheckForApp()) SWIG_fail
;
40476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40477 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40478 wxPyEndAllowThreads(__tstate
);
40479 if (PyErr_Occurred()) SWIG_fail
;
40481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40488 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40489 PyObject
*resultobj
= 0;
40490 wxString
*arg1
= 0 ;
40491 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40492 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40493 wxGenericDragImage
*result
= 0 ;
40494 bool temp1
= false ;
40497 PyObject
* obj0
= 0 ;
40498 PyObject
* obj1
= 0 ;
40499 char * kwnames
[] = {
40500 (char *) "str",(char *) "cursor", NULL
40503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40505 arg1
= wxString_in_helper(obj0
);
40506 if (arg1
== NULL
) SWIG_fail
;
40510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40511 if (!SWIG_IsOK(res2
)) {
40512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40517 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40520 if (!wxPyCheckForApp()) SWIG_fail
;
40521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40522 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40523 wxPyEndAllowThreads(__tstate
);
40524 if (PyErr_Occurred()) SWIG_fail
;
40526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40541 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40542 PyObject
*resultobj
= 0;
40543 wxPyTreeCtrl
*arg1
= 0 ;
40544 wxTreeItemId
*arg2
= 0 ;
40545 wxGenericDragImage
*result
= 0 ;
40550 PyObject
* obj0
= 0 ;
40551 PyObject
* obj1
= 0 ;
40552 char * kwnames
[] = {
40553 (char *) "treeCtrl",(char *) "id", NULL
40556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40557 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40558 if (!SWIG_IsOK(res1
)) {
40559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40564 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40565 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40566 if (!SWIG_IsOK(res2
)) {
40567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40572 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40574 if (!wxPyCheckForApp()) SWIG_fail
;
40575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40576 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40577 wxPyEndAllowThreads(__tstate
);
40578 if (PyErr_Occurred()) SWIG_fail
;
40580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40587 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40588 PyObject
*resultobj
= 0;
40589 wxPyListCtrl
*arg1
= 0 ;
40591 wxGenericDragImage
*result
= 0 ;
40596 PyObject
* obj0
= 0 ;
40597 PyObject
* obj1
= 0 ;
40598 char * kwnames
[] = {
40599 (char *) "listCtrl",(char *) "id", NULL
40602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40603 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40604 if (!SWIG_IsOK(res1
)) {
40605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40610 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40611 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40612 if (!SWIG_IsOK(ecode2
)) {
40613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40615 arg2
= static_cast< long >(val2
);
40617 if (!wxPyCheckForApp()) SWIG_fail
;
40618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40619 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40620 wxPyEndAllowThreads(__tstate
);
40621 if (PyErr_Occurred()) SWIG_fail
;
40623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40630 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40631 PyObject
*resultobj
= 0;
40632 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40635 PyObject
*swig_obj
[1] ;
40637 if (!args
) SWIG_fail
;
40638 swig_obj
[0] = args
;
40639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40640 if (!SWIG_IsOK(res1
)) {
40641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40643 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40648 wxPyEndAllowThreads(__tstate
);
40649 if (PyErr_Occurred()) SWIG_fail
;
40651 resultobj
= SWIG_Py_Void();
40658 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40659 PyObject
*resultobj
= 0;
40660 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40661 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40666 PyObject
* obj0
= 0 ;
40667 PyObject
* obj1
= 0 ;
40668 char * kwnames
[] = {
40669 (char *) "self",(char *) "bitmap", NULL
40672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40674 if (!SWIG_IsOK(res1
)) {
40675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40677 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40678 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40679 if (!SWIG_IsOK(res2
)) {
40680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40682 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40685 (arg1
)->SetBackingBitmap(arg2
);
40686 wxPyEndAllowThreads(__tstate
);
40687 if (PyErr_Occurred()) SWIG_fail
;
40689 resultobj
= SWIG_Py_Void();
40696 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40697 PyObject
*resultobj
= 0;
40698 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40699 wxPoint
*arg2
= 0 ;
40700 wxWindow
*arg3
= (wxWindow
*) 0 ;
40701 bool arg4
= (bool) false ;
40702 wxRect
*arg5
= (wxRect
*) NULL
;
40713 PyObject
* obj0
= 0 ;
40714 PyObject
* obj1
= 0 ;
40715 PyObject
* obj2
= 0 ;
40716 PyObject
* obj3
= 0 ;
40717 PyObject
* obj4
= 0 ;
40718 char * kwnames
[] = {
40719 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40724 if (!SWIG_IsOK(res1
)) {
40725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40727 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40730 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40732 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40733 if (!SWIG_IsOK(res3
)) {
40734 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40736 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40738 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40739 if (!SWIG_IsOK(ecode4
)) {
40740 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40742 arg4
= static_cast< bool >(val4
);
40745 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40746 if (!SWIG_IsOK(res5
)) {
40747 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40749 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40753 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40754 wxPyEndAllowThreads(__tstate
);
40755 if (PyErr_Occurred()) SWIG_fail
;
40758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40766 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40767 PyObject
*resultobj
= 0;
40768 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40769 wxPoint
*arg2
= 0 ;
40770 wxWindow
*arg3
= (wxWindow
*) 0 ;
40771 wxWindow
*arg4
= (wxWindow
*) 0 ;
40780 PyObject
* obj0
= 0 ;
40781 PyObject
* obj1
= 0 ;
40782 PyObject
* obj2
= 0 ;
40783 PyObject
* obj3
= 0 ;
40784 char * kwnames
[] = {
40785 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40790 if (!SWIG_IsOK(res1
)) {
40791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40793 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40796 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40798 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40799 if (!SWIG_IsOK(res3
)) {
40800 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40802 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40803 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40804 if (!SWIG_IsOK(res4
)) {
40805 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40807 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40810 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40811 wxPyEndAllowThreads(__tstate
);
40812 if (PyErr_Occurred()) SWIG_fail
;
40815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40823 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40824 PyObject
*resultobj
= 0;
40825 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40829 PyObject
*swig_obj
[1] ;
40831 if (!args
) SWIG_fail
;
40832 swig_obj
[0] = args
;
40833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40834 if (!SWIG_IsOK(res1
)) {
40835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40837 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40840 result
= (bool)(arg1
)->EndDrag();
40841 wxPyEndAllowThreads(__tstate
);
40842 if (PyErr_Occurred()) SWIG_fail
;
40845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40853 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40854 PyObject
*resultobj
= 0;
40855 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40856 wxPoint
*arg2
= 0 ;
40861 PyObject
* obj0
= 0 ;
40862 PyObject
* obj1
= 0 ;
40863 char * kwnames
[] = {
40864 (char *) "self",(char *) "pt", NULL
40867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40869 if (!SWIG_IsOK(res1
)) {
40870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40872 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40875 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40879 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40880 wxPyEndAllowThreads(__tstate
);
40881 if (PyErr_Occurred()) SWIG_fail
;
40884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40892 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40893 PyObject
*resultobj
= 0;
40894 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40898 PyObject
*swig_obj
[1] ;
40900 if (!args
) SWIG_fail
;
40901 swig_obj
[0] = args
;
40902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40903 if (!SWIG_IsOK(res1
)) {
40904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40906 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40909 result
= (bool)(arg1
)->Show();
40910 wxPyEndAllowThreads(__tstate
);
40911 if (PyErr_Occurred()) SWIG_fail
;
40914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40922 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40923 PyObject
*resultobj
= 0;
40924 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40928 PyObject
*swig_obj
[1] ;
40930 if (!args
) SWIG_fail
;
40931 swig_obj
[0] = args
;
40932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40933 if (!SWIG_IsOK(res1
)) {
40934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40936 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40939 result
= (bool)(arg1
)->Hide();
40940 wxPyEndAllowThreads(__tstate
);
40941 if (PyErr_Occurred()) SWIG_fail
;
40944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40952 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40953 PyObject
*resultobj
= 0;
40954 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40955 wxPoint
*arg2
= 0 ;
40960 PyObject
* obj0
= 0 ;
40961 PyObject
* obj1
= 0 ;
40962 char * kwnames
[] = {
40963 (char *) "self",(char *) "pos", NULL
40966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40968 if (!SWIG_IsOK(res1
)) {
40969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40971 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40974 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40978 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40979 wxPyEndAllowThreads(__tstate
);
40980 if (PyErr_Occurred()) SWIG_fail
;
40982 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40989 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40990 PyObject
*resultobj
= 0;
40991 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40993 wxPoint
*arg3
= 0 ;
41000 PyObject
* obj0
= 0 ;
41001 PyObject
* obj1
= 0 ;
41002 PyObject
* obj2
= 0 ;
41003 char * kwnames
[] = {
41004 (char *) "self",(char *) "dc",(char *) "pos", NULL
41007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41009 if (!SWIG_IsOK(res1
)) {
41010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41012 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41013 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41014 if (!SWIG_IsOK(res2
)) {
41015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41020 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41023 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41027 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41028 wxPyEndAllowThreads(__tstate
);
41029 if (PyErr_Occurred()) SWIG_fail
;
41032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41040 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41041 PyObject
*resultobj
= 0;
41042 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41044 wxMemoryDC
*arg3
= 0 ;
41056 PyObject
* obj0
= 0 ;
41057 PyObject
* obj1
= 0 ;
41058 PyObject
* obj2
= 0 ;
41059 PyObject
* obj3
= 0 ;
41060 PyObject
* obj4
= 0 ;
41061 char * kwnames
[] = {
41062 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41067 if (!SWIG_IsOK(res1
)) {
41068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41070 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41071 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41072 if (!SWIG_IsOK(res2
)) {
41073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41078 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41079 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41080 if (!SWIG_IsOK(res3
)) {
41081 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41086 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41089 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41093 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41097 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41098 wxPyEndAllowThreads(__tstate
);
41099 if (PyErr_Occurred()) SWIG_fail
;
41102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41110 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41111 PyObject
*resultobj
= 0;
41112 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41113 wxPoint
*arg2
= 0 ;
41114 wxPoint
*arg3
= 0 ;
41126 PyObject
* obj0
= 0 ;
41127 PyObject
* obj1
= 0 ;
41128 PyObject
* obj2
= 0 ;
41129 PyObject
* obj3
= 0 ;
41130 PyObject
* obj4
= 0 ;
41131 char * kwnames
[] = {
41132 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41137 if (!SWIG_IsOK(res1
)) {
41138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41140 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41143 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41147 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41149 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41150 if (!SWIG_IsOK(ecode4
)) {
41151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41153 arg4
= static_cast< bool >(val4
);
41154 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41155 if (!SWIG_IsOK(ecode5
)) {
41156 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41158 arg5
= static_cast< bool >(val5
);
41160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41161 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41162 wxPyEndAllowThreads(__tstate
);
41163 if (PyErr_Occurred()) SWIG_fail
;
41166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41174 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41177 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41178 return SWIG_Py_Void();
41181 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41182 return SWIG_Python_InitShadowInstance(args
);
41185 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41186 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41191 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41192 PyObject
*pyobj
= 0;
41196 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41198 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41205 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41206 PyObject
*resultobj
= 0;
41207 wxWindow
*arg1
= (wxWindow
*) 0 ;
41208 int arg2
= (int) -1 ;
41209 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41210 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41211 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41212 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41213 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41214 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41215 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41216 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41217 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41218 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41219 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41220 wxDatePickerCtrl
*result
= 0 ;
41233 bool temp8
= false ;
41234 PyObject
* obj0
= 0 ;
41235 PyObject
* obj1
= 0 ;
41236 PyObject
* obj2
= 0 ;
41237 PyObject
* obj3
= 0 ;
41238 PyObject
* obj4
= 0 ;
41239 PyObject
* obj5
= 0 ;
41240 PyObject
* obj6
= 0 ;
41241 PyObject
* obj7
= 0 ;
41242 char * kwnames
[] = {
41243 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41248 if (!SWIG_IsOK(res1
)) {
41249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41251 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41254 if (!SWIG_IsOK(ecode2
)) {
41255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41257 arg2
= static_cast< int >(val2
);
41260 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41261 if (!SWIG_IsOK(res3
)) {
41262 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41267 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41272 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41278 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41282 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41283 if (!SWIG_IsOK(ecode6
)) {
41284 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41286 arg6
= static_cast< long >(val6
);
41289 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41290 if (!SWIG_IsOK(res7
)) {
41291 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41296 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41300 arg8
= wxString_in_helper(obj7
);
41301 if (arg8
== NULL
) SWIG_fail
;
41306 if (!wxPyCheckForApp()) SWIG_fail
;
41307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41308 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41309 wxPyEndAllowThreads(__tstate
);
41310 if (PyErr_Occurred()) SWIG_fail
;
41312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41327 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41328 PyObject
*resultobj
= 0;
41329 wxDatePickerCtrl
*result
= 0 ;
41331 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41333 if (!wxPyCheckForApp()) SWIG_fail
;
41334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41335 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41336 wxPyEndAllowThreads(__tstate
);
41337 if (PyErr_Occurred()) SWIG_fail
;
41339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41346 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41347 PyObject
*resultobj
= 0;
41348 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41349 wxWindow
*arg2
= (wxWindow
*) 0 ;
41350 int arg3
= (int) -1 ;
41351 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41352 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41353 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41354 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41355 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41356 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41357 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41358 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41359 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41360 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41361 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41377 bool temp9
= false ;
41378 PyObject
* obj0
= 0 ;
41379 PyObject
* obj1
= 0 ;
41380 PyObject
* obj2
= 0 ;
41381 PyObject
* obj3
= 0 ;
41382 PyObject
* obj4
= 0 ;
41383 PyObject
* obj5
= 0 ;
41384 PyObject
* obj6
= 0 ;
41385 PyObject
* obj7
= 0 ;
41386 PyObject
* obj8
= 0 ;
41387 char * kwnames
[] = {
41388 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41393 if (!SWIG_IsOK(res1
)) {
41394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41396 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41397 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41398 if (!SWIG_IsOK(res2
)) {
41399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41401 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41404 if (!SWIG_IsOK(ecode3
)) {
41405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41407 arg3
= static_cast< int >(val3
);
41410 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41411 if (!SWIG_IsOK(res4
)) {
41412 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41417 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41422 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41428 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41432 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41433 if (!SWIG_IsOK(ecode7
)) {
41434 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41436 arg7
= static_cast< long >(val7
);
41439 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41440 if (!SWIG_IsOK(res8
)) {
41441 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41446 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41450 arg9
= wxString_in_helper(obj8
);
41451 if (arg9
== NULL
) SWIG_fail
;
41456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41457 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41458 wxPyEndAllowThreads(__tstate
);
41459 if (PyErr_Occurred()) SWIG_fail
;
41462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41478 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41479 PyObject
*resultobj
= 0;
41480 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41481 wxDateTime
*arg2
= 0 ;
41486 PyObject
* obj0
= 0 ;
41487 PyObject
* obj1
= 0 ;
41488 char * kwnames
[] = {
41489 (char *) "self",(char *) "dt", NULL
41492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41494 if (!SWIG_IsOK(res1
)) {
41495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41497 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41498 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41499 if (!SWIG_IsOK(res2
)) {
41500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41505 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41508 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41509 wxPyEndAllowThreads(__tstate
);
41510 if (PyErr_Occurred()) SWIG_fail
;
41512 resultobj
= SWIG_Py_Void();
41519 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41520 PyObject
*resultobj
= 0;
41521 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41525 PyObject
*swig_obj
[1] ;
41527 if (!args
) SWIG_fail
;
41528 swig_obj
[0] = args
;
41529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41530 if (!SWIG_IsOK(res1
)) {
41531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41533 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41536 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41537 wxPyEndAllowThreads(__tstate
);
41538 if (PyErr_Occurred()) SWIG_fail
;
41540 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41547 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41548 PyObject
*resultobj
= 0;
41549 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41550 wxDateTime
*arg2
= 0 ;
41551 wxDateTime
*arg3
= 0 ;
41558 PyObject
* obj0
= 0 ;
41559 PyObject
* obj1
= 0 ;
41560 PyObject
* obj2
= 0 ;
41561 char * kwnames
[] = {
41562 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41567 if (!SWIG_IsOK(res1
)) {
41568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41570 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41572 if (!SWIG_IsOK(res2
)) {
41573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41578 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41579 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41580 if (!SWIG_IsOK(res3
)) {
41581 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41586 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41589 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41590 wxPyEndAllowThreads(__tstate
);
41591 if (PyErr_Occurred()) SWIG_fail
;
41593 resultobj
= SWIG_Py_Void();
41600 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41601 PyObject
*resultobj
= 0;
41602 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41606 PyObject
*swig_obj
[1] ;
41608 if (!args
) SWIG_fail
;
41609 swig_obj
[0] = args
;
41610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41611 if (!SWIG_IsOK(res1
)) {
41612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41614 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41617 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41618 wxPyEndAllowThreads(__tstate
);
41619 if (PyErr_Occurred()) SWIG_fail
;
41621 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41628 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41629 PyObject
*resultobj
= 0;
41630 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41634 PyObject
*swig_obj
[1] ;
41636 if (!args
) SWIG_fail
;
41637 swig_obj
[0] = args
;
41638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41639 if (!SWIG_IsOK(res1
)) {
41640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41642 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41645 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41646 wxPyEndAllowThreads(__tstate
);
41647 if (PyErr_Occurred()) SWIG_fail
;
41649 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41656 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41659 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41660 return SWIG_Py_Void();
41663 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41664 return SWIG_Python_InitShadowInstance(args
);
41667 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41668 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41673 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41674 PyObject
*pyobj
= 0;
41678 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41680 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41687 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41688 PyObject
*resultobj
= 0;
41689 wxWindow
*arg1
= (wxWindow
*) 0 ;
41691 wxString
*arg3
= 0 ;
41692 wxString
*arg4
= 0 ;
41693 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41694 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41695 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41696 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41697 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41698 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41699 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41700 wxHyperlinkCtrl
*result
= 0 ;
41705 bool temp3
= false ;
41706 bool temp4
= false ;
41711 bool temp8
= false ;
41712 PyObject
* obj0
= 0 ;
41713 PyObject
* obj1
= 0 ;
41714 PyObject
* obj2
= 0 ;
41715 PyObject
* obj3
= 0 ;
41716 PyObject
* obj4
= 0 ;
41717 PyObject
* obj5
= 0 ;
41718 PyObject
* obj6
= 0 ;
41719 PyObject
* obj7
= 0 ;
41720 char * kwnames
[] = {
41721 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41726 if (!SWIG_IsOK(res1
)) {
41727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41729 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41731 if (!SWIG_IsOK(ecode2
)) {
41732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41734 arg2
= static_cast< int >(val2
);
41736 arg3
= wxString_in_helper(obj2
);
41737 if (arg3
== NULL
) SWIG_fail
;
41741 arg4
= wxString_in_helper(obj3
);
41742 if (arg4
== NULL
) SWIG_fail
;
41748 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41754 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41758 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41759 if (!SWIG_IsOK(ecode7
)) {
41760 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41762 arg7
= static_cast< long >(val7
);
41766 arg8
= wxString_in_helper(obj7
);
41767 if (arg8
== NULL
) SWIG_fail
;
41772 if (!wxPyCheckForApp()) SWIG_fail
;
41773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41774 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41775 wxPyEndAllowThreads(__tstate
);
41776 if (PyErr_Occurred()) SWIG_fail
;
41778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41809 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41810 PyObject
*resultobj
= 0;
41811 wxHyperlinkCtrl
*result
= 0 ;
41813 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41815 if (!wxPyCheckForApp()) SWIG_fail
;
41816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41817 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41818 wxPyEndAllowThreads(__tstate
);
41819 if (PyErr_Occurred()) SWIG_fail
;
41821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41828 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41829 PyObject
*resultobj
= 0;
41830 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41831 wxWindow
*arg2
= (wxWindow
*) 0 ;
41833 wxString
*arg4
= 0 ;
41834 wxString
*arg5
= 0 ;
41835 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41836 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41837 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41838 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41839 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41840 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41841 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41849 bool temp4
= false ;
41850 bool temp5
= false ;
41855 bool temp9
= false ;
41856 PyObject
* obj0
= 0 ;
41857 PyObject
* obj1
= 0 ;
41858 PyObject
* obj2
= 0 ;
41859 PyObject
* obj3
= 0 ;
41860 PyObject
* obj4
= 0 ;
41861 PyObject
* obj5
= 0 ;
41862 PyObject
* obj6
= 0 ;
41863 PyObject
* obj7
= 0 ;
41864 PyObject
* obj8
= 0 ;
41865 char * kwnames
[] = {
41866 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41871 if (!SWIG_IsOK(res1
)) {
41872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41874 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41875 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41876 if (!SWIG_IsOK(res2
)) {
41877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41879 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41881 if (!SWIG_IsOK(ecode3
)) {
41882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41884 arg3
= static_cast< int >(val3
);
41886 arg4
= wxString_in_helper(obj3
);
41887 if (arg4
== NULL
) SWIG_fail
;
41891 arg5
= wxString_in_helper(obj4
);
41892 if (arg5
== NULL
) SWIG_fail
;
41898 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
41904 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
41908 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
41909 if (!SWIG_IsOK(ecode8
)) {
41910 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41912 arg8
= static_cast< long >(val8
);
41916 arg9
= wxString_in_helper(obj8
);
41917 if (arg9
== NULL
) SWIG_fail
;
41922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41923 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
41924 wxPyEndAllowThreads(__tstate
);
41925 if (PyErr_Occurred()) SWIG_fail
;
41928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41960 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41961 PyObject
*resultobj
= 0;
41962 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41966 PyObject
*swig_obj
[1] ;
41968 if (!args
) SWIG_fail
;
41969 swig_obj
[0] = args
;
41970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
41971 if (!SWIG_IsOK(res1
)) {
41972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41974 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
41976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41977 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
41978 wxPyEndAllowThreads(__tstate
);
41979 if (PyErr_Occurred()) SWIG_fail
;
41981 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
41988 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41989 PyObject
*resultobj
= 0;
41990 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41991 wxColour
*arg2
= 0 ;
41995 PyObject
* obj0
= 0 ;
41996 PyObject
* obj1
= 0 ;
41997 char * kwnames
[] = {
41998 (char *) "self",(char *) "colour", NULL
42001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42003 if (!SWIG_IsOK(res1
)) {
42004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42006 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42009 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42013 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42014 wxPyEndAllowThreads(__tstate
);
42015 if (PyErr_Occurred()) SWIG_fail
;
42017 resultobj
= SWIG_Py_Void();
42024 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42025 PyObject
*resultobj
= 0;
42026 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42030 PyObject
*swig_obj
[1] ;
42032 if (!args
) SWIG_fail
;
42033 swig_obj
[0] = args
;
42034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42035 if (!SWIG_IsOK(res1
)) {
42036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42038 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42041 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42042 wxPyEndAllowThreads(__tstate
);
42043 if (PyErr_Occurred()) SWIG_fail
;
42045 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42052 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42053 PyObject
*resultobj
= 0;
42054 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42055 wxColour
*arg2
= 0 ;
42059 PyObject
* obj0
= 0 ;
42060 PyObject
* obj1
= 0 ;
42061 char * kwnames
[] = {
42062 (char *) "self",(char *) "colour", NULL
42065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42067 if (!SWIG_IsOK(res1
)) {
42068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42070 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42073 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42077 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42078 wxPyEndAllowThreads(__tstate
);
42079 if (PyErr_Occurred()) SWIG_fail
;
42081 resultobj
= SWIG_Py_Void();
42088 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42089 PyObject
*resultobj
= 0;
42090 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42094 PyObject
*swig_obj
[1] ;
42096 if (!args
) SWIG_fail
;
42097 swig_obj
[0] = args
;
42098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42099 if (!SWIG_IsOK(res1
)) {
42100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42102 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42105 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42106 wxPyEndAllowThreads(__tstate
);
42107 if (PyErr_Occurred()) SWIG_fail
;
42109 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42116 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42117 PyObject
*resultobj
= 0;
42118 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42119 wxColour
*arg2
= 0 ;
42123 PyObject
* obj0
= 0 ;
42124 PyObject
* obj1
= 0 ;
42125 char * kwnames
[] = {
42126 (char *) "self",(char *) "colour", NULL
42129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42131 if (!SWIG_IsOK(res1
)) {
42132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42134 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42137 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42141 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42142 wxPyEndAllowThreads(__tstate
);
42143 if (PyErr_Occurred()) SWIG_fail
;
42145 resultobj
= SWIG_Py_Void();
42152 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42153 PyObject
*resultobj
= 0;
42154 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42158 PyObject
*swig_obj
[1] ;
42160 if (!args
) SWIG_fail
;
42161 swig_obj
[0] = args
;
42162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42163 if (!SWIG_IsOK(res1
)) {
42164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42166 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42169 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42170 wxPyEndAllowThreads(__tstate
);
42171 if (PyErr_Occurred()) SWIG_fail
;
42175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42186 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42187 PyObject
*resultobj
= 0;
42188 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42189 wxString
*arg2
= 0 ;
42192 bool temp2
= false ;
42193 PyObject
* obj0
= 0 ;
42194 PyObject
* obj1
= 0 ;
42195 char * kwnames
[] = {
42196 (char *) "self",(char *) "url", NULL
42199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42201 if (!SWIG_IsOK(res1
)) {
42202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42204 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42206 arg2
= wxString_in_helper(obj1
);
42207 if (arg2
== NULL
) SWIG_fail
;
42211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42212 (arg1
)->SetURL((wxString
const &)*arg2
);
42213 wxPyEndAllowThreads(__tstate
);
42214 if (PyErr_Occurred()) SWIG_fail
;
42216 resultobj
= SWIG_Py_Void();
42231 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42232 PyObject
*resultobj
= 0;
42233 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42234 bool arg2
= (bool) true ;
42239 PyObject
* obj0
= 0 ;
42240 PyObject
* obj1
= 0 ;
42241 char * kwnames
[] = {
42242 (char *) "self",(char *) "visited", NULL
42245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42247 if (!SWIG_IsOK(res1
)) {
42248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42250 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42252 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42253 if (!SWIG_IsOK(ecode2
)) {
42254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42256 arg2
= static_cast< bool >(val2
);
42259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42260 (arg1
)->SetVisited(arg2
);
42261 wxPyEndAllowThreads(__tstate
);
42262 if (PyErr_Occurred()) SWIG_fail
;
42264 resultobj
= SWIG_Py_Void();
42271 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42272 PyObject
*resultobj
= 0;
42273 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42277 PyObject
*swig_obj
[1] ;
42279 if (!args
) SWIG_fail
;
42280 swig_obj
[0] = args
;
42281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42282 if (!SWIG_IsOK(res1
)) {
42283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42285 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42288 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42289 wxPyEndAllowThreads(__tstate
);
42290 if (PyErr_Occurred()) SWIG_fail
;
42293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42301 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42303 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42304 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42305 return SWIG_Py_Void();
42308 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42309 return SWIG_Python_InitShadowInstance(args
);
42312 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42313 PyObject
*resultobj
= 0;
42314 wxObject
*arg1
= (wxObject
*) 0 ;
42316 wxString
*arg3
= 0 ;
42317 wxHyperlinkEvent
*result
= 0 ;
42322 bool temp3
= false ;
42323 PyObject
* obj0
= 0 ;
42324 PyObject
* obj1
= 0 ;
42325 PyObject
* obj2
= 0 ;
42326 char * kwnames
[] = {
42327 (char *) "generator",(char *) "id",(char *) "url", NULL
42330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42332 if (!SWIG_IsOK(res1
)) {
42333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42335 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42337 if (!SWIG_IsOK(ecode2
)) {
42338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42340 arg2
= static_cast< int >(val2
);
42342 arg3
= wxString_in_helper(obj2
);
42343 if (arg3
== NULL
) SWIG_fail
;
42347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42348 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42349 wxPyEndAllowThreads(__tstate
);
42350 if (PyErr_Occurred()) SWIG_fail
;
42352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42367 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42368 PyObject
*resultobj
= 0;
42369 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42373 PyObject
*swig_obj
[1] ;
42375 if (!args
) SWIG_fail
;
42376 swig_obj
[0] = args
;
42377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42378 if (!SWIG_IsOK(res1
)) {
42379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42381 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42384 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42385 wxPyEndAllowThreads(__tstate
);
42386 if (PyErr_Occurred()) SWIG_fail
;
42390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42401 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42402 PyObject
*resultobj
= 0;
42403 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42404 wxString
*arg2
= 0 ;
42407 bool temp2
= false ;
42408 PyObject
* obj0
= 0 ;
42409 PyObject
* obj1
= 0 ;
42410 char * kwnames
[] = {
42411 (char *) "self",(char *) "url", NULL
42414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42416 if (!SWIG_IsOK(res1
)) {
42417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42419 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42421 arg2
= wxString_in_helper(obj1
);
42422 if (arg2
== NULL
) SWIG_fail
;
42426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42427 (arg1
)->SetURL((wxString
const &)*arg2
);
42428 wxPyEndAllowThreads(__tstate
);
42429 if (PyErr_Occurred()) SWIG_fail
;
42431 resultobj
= SWIG_Py_Void();
42446 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42449 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42450 return SWIG_Py_Void();
42453 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42454 return SWIG_Python_InitShadowInstance(args
);
42457 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42458 PyObject
*resultobj
= 0;
42459 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42460 wxWindow
*arg2
= (wxWindow
*) 0 ;
42462 wxString
const &arg4_defvalue
= wxEmptyString
;
42463 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42464 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42465 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42466 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42467 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42468 long arg7
= (long) 0 ;
42469 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42470 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42471 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42472 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42480 bool temp4
= false ;
42487 bool temp9
= false ;
42488 PyObject
* obj0
= 0 ;
42489 PyObject
* obj1
= 0 ;
42490 PyObject
* obj2
= 0 ;
42491 PyObject
* obj3
= 0 ;
42492 PyObject
* obj4
= 0 ;
42493 PyObject
* obj5
= 0 ;
42494 PyObject
* obj6
= 0 ;
42495 PyObject
* obj7
= 0 ;
42496 PyObject
* obj8
= 0 ;
42497 char * kwnames
[] = {
42498 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42503 if (!SWIG_IsOK(res1
)) {
42504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42506 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42507 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42508 if (!SWIG_IsOK(res2
)) {
42509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42511 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42512 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42513 if (!SWIG_IsOK(ecode3
)) {
42514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42516 arg3
= static_cast< int >(val3
);
42519 arg4
= wxString_in_helper(obj3
);
42520 if (arg4
== NULL
) SWIG_fail
;
42527 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42533 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42537 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42538 if (!SWIG_IsOK(ecode7
)) {
42539 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42541 arg7
= static_cast< long >(val7
);
42544 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42545 if (!SWIG_IsOK(res8
)) {
42546 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42551 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42555 arg9
= wxString_in_helper(obj8
);
42556 if (arg9
== NULL
) SWIG_fail
;
42561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42562 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42563 wxPyEndAllowThreads(__tstate
);
42564 if (PyErr_Occurred()) SWIG_fail
;
42567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42591 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42592 PyObject
*resultobj
= 0;
42593 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42599 PyObject
* obj0
= 0 ;
42600 PyObject
* obj1
= 0 ;
42601 char * kwnames
[] = {
42602 (char *) "self",(char *) "newmargin", NULL
42605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42607 if (!SWIG_IsOK(res1
)) {
42608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42610 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42612 if (!SWIG_IsOK(ecode2
)) {
42613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42615 arg2
= static_cast< int >(val2
);
42617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42618 (arg1
)->SetInternalMargin(arg2
);
42619 wxPyEndAllowThreads(__tstate
);
42620 if (PyErr_Occurred()) SWIG_fail
;
42622 resultobj
= SWIG_Py_Void();
42629 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42630 PyObject
*resultobj
= 0;
42631 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42635 PyObject
*swig_obj
[1] ;
42637 if (!args
) SWIG_fail
;
42638 swig_obj
[0] = args
;
42639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42640 if (!SWIG_IsOK(res1
)) {
42641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42643 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42646 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42647 wxPyEndAllowThreads(__tstate
);
42648 if (PyErr_Occurred()) SWIG_fail
;
42650 resultobj
= SWIG_From_int(static_cast< int >(result
));
42657 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42658 PyObject
*resultobj
= 0;
42659 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42665 PyObject
* obj0
= 0 ;
42666 PyObject
* obj1
= 0 ;
42667 char * kwnames
[] = {
42668 (char *) "self",(char *) "prop", NULL
42671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42673 if (!SWIG_IsOK(res1
)) {
42674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42676 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42678 if (!SWIG_IsOK(ecode2
)) {
42679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42681 arg2
= static_cast< int >(val2
);
42683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42684 (arg1
)->SetTextCtrlProportion(arg2
);
42685 wxPyEndAllowThreads(__tstate
);
42686 if (PyErr_Occurred()) SWIG_fail
;
42688 resultobj
= SWIG_Py_Void();
42695 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42696 PyObject
*resultobj
= 0;
42697 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42701 PyObject
*swig_obj
[1] ;
42703 if (!args
) SWIG_fail
;
42704 swig_obj
[0] = args
;
42705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42706 if (!SWIG_IsOK(res1
)) {
42707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42709 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42712 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42713 wxPyEndAllowThreads(__tstate
);
42714 if (PyErr_Occurred()) SWIG_fail
;
42716 resultobj
= SWIG_From_int(static_cast< int >(result
));
42723 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42724 PyObject
*resultobj
= 0;
42725 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42731 PyObject
* obj0
= 0 ;
42732 PyObject
* obj1
= 0 ;
42733 char * kwnames
[] = {
42734 (char *) "self",(char *) "prop", NULL
42737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42739 if (!SWIG_IsOK(res1
)) {
42740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42742 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42744 if (!SWIG_IsOK(ecode2
)) {
42745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42747 arg2
= static_cast< int >(val2
);
42749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42750 (arg1
)->SetPickerCtrlProportion(arg2
);
42751 wxPyEndAllowThreads(__tstate
);
42752 if (PyErr_Occurred()) SWIG_fail
;
42754 resultobj
= SWIG_Py_Void();
42761 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42762 PyObject
*resultobj
= 0;
42763 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42767 PyObject
*swig_obj
[1] ;
42769 if (!args
) SWIG_fail
;
42770 swig_obj
[0] = args
;
42771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42772 if (!SWIG_IsOK(res1
)) {
42773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42775 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42778 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42779 wxPyEndAllowThreads(__tstate
);
42780 if (PyErr_Occurred()) SWIG_fail
;
42782 resultobj
= SWIG_From_int(static_cast< int >(result
));
42789 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42790 PyObject
*resultobj
= 0;
42791 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42795 PyObject
*swig_obj
[1] ;
42797 if (!args
) SWIG_fail
;
42798 swig_obj
[0] = args
;
42799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42800 if (!SWIG_IsOK(res1
)) {
42801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42803 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42806 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42807 wxPyEndAllowThreads(__tstate
);
42808 if (PyErr_Occurred()) SWIG_fail
;
42811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42819 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42820 PyObject
*resultobj
= 0;
42821 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42822 bool arg2
= (bool) true ;
42827 PyObject
* obj0
= 0 ;
42828 PyObject
* obj1
= 0 ;
42829 char * kwnames
[] = {
42830 (char *) "self",(char *) "grow", NULL
42833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42835 if (!SWIG_IsOK(res1
)) {
42836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42838 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42840 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42841 if (!SWIG_IsOK(ecode2
)) {
42842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42844 arg2
= static_cast< bool >(val2
);
42847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42848 (arg1
)->SetTextCtrlGrowable(arg2
);
42849 wxPyEndAllowThreads(__tstate
);
42850 if (PyErr_Occurred()) SWIG_fail
;
42852 resultobj
= SWIG_Py_Void();
42859 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42860 PyObject
*resultobj
= 0;
42861 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42865 PyObject
*swig_obj
[1] ;
42867 if (!args
) SWIG_fail
;
42868 swig_obj
[0] = args
;
42869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42870 if (!SWIG_IsOK(res1
)) {
42871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42873 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42876 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
42877 wxPyEndAllowThreads(__tstate
);
42878 if (PyErr_Occurred()) SWIG_fail
;
42881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42889 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42890 PyObject
*resultobj
= 0;
42891 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42892 bool arg2
= (bool) true ;
42897 PyObject
* obj0
= 0 ;
42898 PyObject
* obj1
= 0 ;
42899 char * kwnames
[] = {
42900 (char *) "self",(char *) "grow", NULL
42903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42905 if (!SWIG_IsOK(res1
)) {
42906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42908 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42910 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42911 if (!SWIG_IsOK(ecode2
)) {
42912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42914 arg2
= static_cast< bool >(val2
);
42917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42918 (arg1
)->SetPickerCtrlGrowable(arg2
);
42919 wxPyEndAllowThreads(__tstate
);
42920 if (PyErr_Occurred()) SWIG_fail
;
42922 resultobj
= SWIG_Py_Void();
42929 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42930 PyObject
*resultobj
= 0;
42931 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42935 PyObject
*swig_obj
[1] ;
42937 if (!args
) SWIG_fail
;
42938 swig_obj
[0] = args
;
42939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42940 if (!SWIG_IsOK(res1
)) {
42941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42943 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42946 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
42947 wxPyEndAllowThreads(__tstate
);
42948 if (PyErr_Occurred()) SWIG_fail
;
42951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42959 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42960 PyObject
*resultobj
= 0;
42961 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42962 wxTextCtrl
*result
= 0 ;
42965 PyObject
*swig_obj
[1] ;
42967 if (!args
) SWIG_fail
;
42968 swig_obj
[0] = args
;
42969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42970 if (!SWIG_IsOK(res1
)) {
42971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42973 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42976 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
42977 wxPyEndAllowThreads(__tstate
);
42978 if (PyErr_Occurred()) SWIG_fail
;
42981 resultobj
= wxPyMake_wxObject(result
, 0);
42989 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42990 PyObject
*resultobj
= 0;
42991 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42992 wxControl
*result
= 0 ;
42995 PyObject
*swig_obj
[1] ;
42997 if (!args
) SWIG_fail
;
42998 swig_obj
[0] = args
;
42999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43000 if (!SWIG_IsOK(res1
)) {
43001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43003 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43006 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43007 wxPyEndAllowThreads(__tstate
);
43008 if (PyErr_Occurred()) SWIG_fail
;
43011 resultobj
= wxPyMake_wxObject(result
, 0);
43019 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43021 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43022 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43023 return SWIG_Py_Void();
43026 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43027 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43032 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43033 PyObject
*pyobj
= 0;
43037 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43039 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43046 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43047 PyObject
*resultobj
= 0;
43048 wxWindow
*arg1
= (wxWindow
*) 0 ;
43049 int arg2
= (int) -1 ;
43050 wxColour
const &arg3_defvalue
= *wxBLACK
;
43051 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43052 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43053 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43054 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43055 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43056 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43057 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43058 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43059 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43060 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43061 wxColourPickerCtrl
*result
= 0 ;
43073 bool temp8
= false ;
43074 PyObject
* obj0
= 0 ;
43075 PyObject
* obj1
= 0 ;
43076 PyObject
* obj2
= 0 ;
43077 PyObject
* obj3
= 0 ;
43078 PyObject
* obj4
= 0 ;
43079 PyObject
* obj5
= 0 ;
43080 PyObject
* obj6
= 0 ;
43081 PyObject
* obj7
= 0 ;
43082 char * kwnames
[] = {
43083 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43088 if (!SWIG_IsOK(res1
)) {
43089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43091 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43094 if (!SWIG_IsOK(ecode2
)) {
43095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43097 arg2
= static_cast< int >(val2
);
43102 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43108 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43114 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43118 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43119 if (!SWIG_IsOK(ecode6
)) {
43120 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43122 arg6
= static_cast< long >(val6
);
43125 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43126 if (!SWIG_IsOK(res7
)) {
43127 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43132 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43136 arg8
= wxString_in_helper(obj7
);
43137 if (arg8
== NULL
) SWIG_fail
;
43142 if (!wxPyCheckForApp()) SWIG_fail
;
43143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43144 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43145 wxPyEndAllowThreads(__tstate
);
43146 if (PyErr_Occurred()) SWIG_fail
;
43148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43163 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43164 PyObject
*resultobj
= 0;
43165 wxColourPickerCtrl
*result
= 0 ;
43167 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43169 if (!wxPyCheckForApp()) SWIG_fail
;
43170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43171 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43172 wxPyEndAllowThreads(__tstate
);
43173 if (PyErr_Occurred()) SWIG_fail
;
43175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43182 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43183 PyObject
*resultobj
= 0;
43184 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43185 wxWindow
*arg2
= (wxWindow
*) 0 ;
43187 wxColour
const &arg4_defvalue
= *wxBLACK
;
43188 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43189 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43190 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43191 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43192 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43193 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43194 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43195 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43196 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43197 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43212 bool temp9
= false ;
43213 PyObject
* obj0
= 0 ;
43214 PyObject
* obj1
= 0 ;
43215 PyObject
* obj2
= 0 ;
43216 PyObject
* obj3
= 0 ;
43217 PyObject
* obj4
= 0 ;
43218 PyObject
* obj5
= 0 ;
43219 PyObject
* obj6
= 0 ;
43220 PyObject
* obj7
= 0 ;
43221 PyObject
* obj8
= 0 ;
43222 char * kwnames
[] = {
43223 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43228 if (!SWIG_IsOK(res1
)) {
43229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43231 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43232 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43233 if (!SWIG_IsOK(res2
)) {
43234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43236 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43238 if (!SWIG_IsOK(ecode3
)) {
43239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43241 arg3
= static_cast< int >(val3
);
43245 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43251 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43257 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43261 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43262 if (!SWIG_IsOK(ecode7
)) {
43263 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43265 arg7
= static_cast< long >(val7
);
43268 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43269 if (!SWIG_IsOK(res8
)) {
43270 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43275 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43279 arg9
= wxString_in_helper(obj8
);
43280 if (arg9
== NULL
) SWIG_fail
;
43285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43286 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43287 wxPyEndAllowThreads(__tstate
);
43288 if (PyErr_Occurred()) SWIG_fail
;
43291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43307 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43308 PyObject
*resultobj
= 0;
43309 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43313 PyObject
*swig_obj
[1] ;
43315 if (!args
) SWIG_fail
;
43316 swig_obj
[0] = args
;
43317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43318 if (!SWIG_IsOK(res1
)) {
43319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43321 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43324 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43325 wxPyEndAllowThreads(__tstate
);
43326 if (PyErr_Occurred()) SWIG_fail
;
43328 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43335 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43336 PyObject
*resultobj
= 0;
43337 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43338 wxColour
*arg2
= 0 ;
43342 PyObject
* obj0
= 0 ;
43343 PyObject
* obj1
= 0 ;
43344 char * kwnames
[] = {
43345 (char *) "self",(char *) "col", NULL
43348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43350 if (!SWIG_IsOK(res1
)) {
43351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43353 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43356 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43360 (arg1
)->SetColour((wxColour
const &)*arg2
);
43361 wxPyEndAllowThreads(__tstate
);
43362 if (PyErr_Occurred()) SWIG_fail
;
43364 resultobj
= SWIG_Py_Void();
43371 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43374 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43375 return SWIG_Py_Void();
43378 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43379 return SWIG_Python_InitShadowInstance(args
);
43382 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43383 PyObject
*resultobj
= 0;
43384 wxObject
*arg1
= (wxObject
*) 0 ;
43386 wxColour
*arg3
= 0 ;
43387 wxColourPickerEvent
*result
= 0 ;
43393 PyObject
* obj0
= 0 ;
43394 PyObject
* obj1
= 0 ;
43395 PyObject
* obj2
= 0 ;
43396 char * kwnames
[] = {
43397 (char *) "generator",(char *) "id",(char *) "col", NULL
43400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43402 if (!SWIG_IsOK(res1
)) {
43403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43405 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43407 if (!SWIG_IsOK(ecode2
)) {
43408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43410 arg2
= static_cast< int >(val2
);
43413 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43417 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43418 wxPyEndAllowThreads(__tstate
);
43419 if (PyErr_Occurred()) SWIG_fail
;
43421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43428 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43429 PyObject
*resultobj
= 0;
43430 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43434 PyObject
*swig_obj
[1] ;
43436 if (!args
) SWIG_fail
;
43437 swig_obj
[0] = args
;
43438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43439 if (!SWIG_IsOK(res1
)) {
43440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43442 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43445 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43446 wxPyEndAllowThreads(__tstate
);
43447 if (PyErr_Occurred()) SWIG_fail
;
43449 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43456 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43457 PyObject
*resultobj
= 0;
43458 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43459 wxColour
*arg2
= 0 ;
43463 PyObject
* obj0
= 0 ;
43464 PyObject
* obj1
= 0 ;
43465 char * kwnames
[] = {
43466 (char *) "self",(char *) "c", NULL
43469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43471 if (!SWIG_IsOK(res1
)) {
43472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43474 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43477 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43481 (arg1
)->SetColour((wxColour
const &)*arg2
);
43482 wxPyEndAllowThreads(__tstate
);
43483 if (PyErr_Occurred()) SWIG_fail
;
43485 resultobj
= SWIG_Py_Void();
43492 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43495 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43496 return SWIG_Py_Void();
43499 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43500 return SWIG_Python_InitShadowInstance(args
);
43503 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43504 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43509 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43510 PyObject
*pyobj
= 0;
43514 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43516 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43523 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43524 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43529 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43530 PyObject
*pyobj
= 0;
43534 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43536 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43543 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43544 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43549 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43550 PyObject
*pyobj
= 0;
43554 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43556 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43563 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43564 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43569 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43570 PyObject
*pyobj
= 0;
43574 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43576 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43583 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43584 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43589 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43590 PyObject
*pyobj
= 0;
43594 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43596 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43603 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43604 PyObject
*resultobj
= 0;
43605 wxWindow
*arg1
= (wxWindow
*) 0 ;
43606 int arg2
= (int) -1 ;
43607 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43608 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43609 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43610 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43611 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43612 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43613 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43614 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43615 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43616 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43617 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43618 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43619 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43620 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43621 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43622 wxFilePickerCtrl
*result
= 0 ;
43627 bool temp3
= false ;
43628 bool temp4
= false ;
43629 bool temp5
= false ;
43636 bool temp10
= false ;
43637 PyObject
* obj0
= 0 ;
43638 PyObject
* obj1
= 0 ;
43639 PyObject
* obj2
= 0 ;
43640 PyObject
* obj3
= 0 ;
43641 PyObject
* obj4
= 0 ;
43642 PyObject
* obj5
= 0 ;
43643 PyObject
* obj6
= 0 ;
43644 PyObject
* obj7
= 0 ;
43645 PyObject
* obj8
= 0 ;
43646 PyObject
* obj9
= 0 ;
43647 char * kwnames
[] = {
43648 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43653 if (!SWIG_IsOK(res1
)) {
43654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43656 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43659 if (!SWIG_IsOK(ecode2
)) {
43660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43662 arg2
= static_cast< int >(val2
);
43666 arg3
= wxString_in_helper(obj2
);
43667 if (arg3
== NULL
) SWIG_fail
;
43673 arg4
= wxString_in_helper(obj3
);
43674 if (arg4
== NULL
) SWIG_fail
;
43680 arg5
= wxString_in_helper(obj4
);
43681 if (arg5
== NULL
) SWIG_fail
;
43688 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43694 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43698 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43699 if (!SWIG_IsOK(ecode8
)) {
43700 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43702 arg8
= static_cast< long >(val8
);
43705 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43706 if (!SWIG_IsOK(res9
)) {
43707 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43712 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43716 arg10
= wxString_in_helper(obj9
);
43717 if (arg10
== NULL
) SWIG_fail
;
43722 if (!wxPyCheckForApp()) SWIG_fail
;
43723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43724 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
);
43725 wxPyEndAllowThreads(__tstate
);
43726 if (PyErr_Occurred()) SWIG_fail
;
43728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43767 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43768 PyObject
*resultobj
= 0;
43769 wxFilePickerCtrl
*result
= 0 ;
43771 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43773 if (!wxPyCheckForApp()) SWIG_fail
;
43774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43775 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43776 wxPyEndAllowThreads(__tstate
);
43777 if (PyErr_Occurred()) SWIG_fail
;
43779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43786 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43787 PyObject
*resultobj
= 0;
43788 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43789 wxWindow
*arg2
= (wxWindow
*) 0 ;
43790 int arg3
= (int) -1 ;
43791 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43792 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43793 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43794 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43795 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43796 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43797 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43798 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43799 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43800 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43801 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43802 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43803 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43804 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43805 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43813 bool temp4
= false ;
43814 bool temp5
= false ;
43815 bool temp6
= false ;
43822 bool temp11
= false ;
43823 PyObject
* obj0
= 0 ;
43824 PyObject
* obj1
= 0 ;
43825 PyObject
* obj2
= 0 ;
43826 PyObject
* obj3
= 0 ;
43827 PyObject
* obj4
= 0 ;
43828 PyObject
* obj5
= 0 ;
43829 PyObject
* obj6
= 0 ;
43830 PyObject
* obj7
= 0 ;
43831 PyObject
* obj8
= 0 ;
43832 PyObject
* obj9
= 0 ;
43833 PyObject
* obj10
= 0 ;
43834 char * kwnames
[] = {
43835 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43840 if (!SWIG_IsOK(res1
)) {
43841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43843 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43844 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43845 if (!SWIG_IsOK(res2
)) {
43846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43848 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43850 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43851 if (!SWIG_IsOK(ecode3
)) {
43852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43854 arg3
= static_cast< int >(val3
);
43858 arg4
= wxString_in_helper(obj3
);
43859 if (arg4
== NULL
) SWIG_fail
;
43865 arg5
= wxString_in_helper(obj4
);
43866 if (arg5
== NULL
) SWIG_fail
;
43872 arg6
= wxString_in_helper(obj5
);
43873 if (arg6
== NULL
) SWIG_fail
;
43880 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
43886 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
43890 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
43891 if (!SWIG_IsOK(ecode9
)) {
43892 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43894 arg9
= static_cast< long >(val9
);
43897 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
43898 if (!SWIG_IsOK(res10
)) {
43899 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43904 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
43908 arg11
= wxString_in_helper(obj10
);
43909 if (arg11
== NULL
) SWIG_fail
;
43914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43915 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
);
43916 wxPyEndAllowThreads(__tstate
);
43917 if (PyErr_Occurred()) SWIG_fail
;
43920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43960 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43961 PyObject
*resultobj
= 0;
43962 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43966 PyObject
*swig_obj
[1] ;
43968 if (!args
) SWIG_fail
;
43969 swig_obj
[0] = args
;
43970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43971 if (!SWIG_IsOK(res1
)) {
43972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43974 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43977 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
43978 wxPyEndAllowThreads(__tstate
);
43979 if (PyErr_Occurred()) SWIG_fail
;
43983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43994 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43995 PyObject
*resultobj
= 0;
43996 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43997 wxString
*arg2
= 0 ;
44000 bool temp2
= false ;
44001 PyObject
* obj0
= 0 ;
44002 PyObject
* obj1
= 0 ;
44003 char * kwnames
[] = {
44004 (char *) "self",(char *) "str", NULL
44007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44009 if (!SWIG_IsOK(res1
)) {
44010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44012 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44014 arg2
= wxString_in_helper(obj1
);
44015 if (arg2
== NULL
) SWIG_fail
;
44019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44020 (arg1
)->SetPath((wxString
const &)*arg2
);
44021 wxPyEndAllowThreads(__tstate
);
44022 if (PyErr_Occurred()) SWIG_fail
;
44024 resultobj
= SWIG_Py_Void();
44039 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44040 PyObject
*resultobj
= 0;
44041 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44042 wxString
*arg2
= 0 ;
44046 bool temp2
= false ;
44047 PyObject
* obj0
= 0 ;
44048 PyObject
* obj1
= 0 ;
44049 char * kwnames
[] = {
44050 (char *) "self",(char *) "path", NULL
44053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44055 if (!SWIG_IsOK(res1
)) {
44056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44058 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44060 arg2
= wxString_in_helper(obj1
);
44061 if (arg2
== NULL
) SWIG_fail
;
44065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44066 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44067 wxPyEndAllowThreads(__tstate
);
44068 if (PyErr_Occurred()) SWIG_fail
;
44071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44087 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44088 PyObject
*resultobj
= 0;
44089 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44093 PyObject
*swig_obj
[1] ;
44095 if (!args
) SWIG_fail
;
44096 swig_obj
[0] = args
;
44097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44098 if (!SWIG_IsOK(res1
)) {
44099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44101 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44104 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44105 wxPyEndAllowThreads(__tstate
);
44106 if (PyErr_Occurred()) SWIG_fail
;
44110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44121 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44124 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44125 return SWIG_Py_Void();
44128 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44129 return SWIG_Python_InitShadowInstance(args
);
44132 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44133 PyObject
*resultobj
= 0;
44134 wxWindow
*arg1
= (wxWindow
*) 0 ;
44135 int arg2
= (int) -1 ;
44136 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44137 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44138 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44139 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44140 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44141 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44142 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44143 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44144 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44145 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44146 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44147 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44148 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44149 wxDirPickerCtrl
*result
= 0 ;
44154 bool temp3
= false ;
44155 bool temp4
= false ;
44162 bool temp9
= false ;
44163 PyObject
* obj0
= 0 ;
44164 PyObject
* obj1
= 0 ;
44165 PyObject
* obj2
= 0 ;
44166 PyObject
* obj3
= 0 ;
44167 PyObject
* obj4
= 0 ;
44168 PyObject
* obj5
= 0 ;
44169 PyObject
* obj6
= 0 ;
44170 PyObject
* obj7
= 0 ;
44171 PyObject
* obj8
= 0 ;
44172 char * kwnames
[] = {
44173 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44178 if (!SWIG_IsOK(res1
)) {
44179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44181 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44184 if (!SWIG_IsOK(ecode2
)) {
44185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44187 arg2
= static_cast< int >(val2
);
44191 arg3
= wxString_in_helper(obj2
);
44192 if (arg3
== NULL
) SWIG_fail
;
44198 arg4
= wxString_in_helper(obj3
);
44199 if (arg4
== NULL
) SWIG_fail
;
44206 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44212 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44216 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44217 if (!SWIG_IsOK(ecode7
)) {
44218 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44220 arg7
= static_cast< long >(val7
);
44223 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44224 if (!SWIG_IsOK(res8
)) {
44225 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44230 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44234 arg9
= wxString_in_helper(obj8
);
44235 if (arg9
== NULL
) SWIG_fail
;
44240 if (!wxPyCheckForApp()) SWIG_fail
;
44241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44242 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
);
44243 wxPyEndAllowThreads(__tstate
);
44244 if (PyErr_Occurred()) SWIG_fail
;
44246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44277 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44278 PyObject
*resultobj
= 0;
44279 wxDirPickerCtrl
*result
= 0 ;
44281 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44283 if (!wxPyCheckForApp()) SWIG_fail
;
44284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44285 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44286 wxPyEndAllowThreads(__tstate
);
44287 if (PyErr_Occurred()) SWIG_fail
;
44289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44296 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44297 PyObject
*resultobj
= 0;
44298 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44299 wxWindow
*arg2
= (wxWindow
*) 0 ;
44300 int arg3
= (int) -1 ;
44301 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44302 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44303 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44304 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44305 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44306 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44307 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44308 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44309 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44310 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44311 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44312 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44313 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44321 bool temp4
= false ;
44322 bool temp5
= false ;
44329 bool temp10
= false ;
44330 PyObject
* obj0
= 0 ;
44331 PyObject
* obj1
= 0 ;
44332 PyObject
* obj2
= 0 ;
44333 PyObject
* obj3
= 0 ;
44334 PyObject
* obj4
= 0 ;
44335 PyObject
* obj5
= 0 ;
44336 PyObject
* obj6
= 0 ;
44337 PyObject
* obj7
= 0 ;
44338 PyObject
* obj8
= 0 ;
44339 PyObject
* obj9
= 0 ;
44340 char * kwnames
[] = {
44341 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44346 if (!SWIG_IsOK(res1
)) {
44347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44349 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44350 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44351 if (!SWIG_IsOK(res2
)) {
44352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44354 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44357 if (!SWIG_IsOK(ecode3
)) {
44358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44360 arg3
= static_cast< int >(val3
);
44364 arg4
= wxString_in_helper(obj3
);
44365 if (arg4
== NULL
) SWIG_fail
;
44371 arg5
= wxString_in_helper(obj4
);
44372 if (arg5
== NULL
) SWIG_fail
;
44379 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44385 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44389 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44390 if (!SWIG_IsOK(ecode8
)) {
44391 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44393 arg8
= static_cast< long >(val8
);
44396 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44397 if (!SWIG_IsOK(res9
)) {
44398 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44403 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44407 arg10
= wxString_in_helper(obj9
);
44408 if (arg10
== NULL
) SWIG_fail
;
44413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44414 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
);
44415 wxPyEndAllowThreads(__tstate
);
44416 if (PyErr_Occurred()) SWIG_fail
;
44419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44451 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44452 PyObject
*resultobj
= 0;
44453 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44457 PyObject
*swig_obj
[1] ;
44459 if (!args
) SWIG_fail
;
44460 swig_obj
[0] = args
;
44461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44462 if (!SWIG_IsOK(res1
)) {
44463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44465 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44468 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44469 wxPyEndAllowThreads(__tstate
);
44470 if (PyErr_Occurred()) SWIG_fail
;
44474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44485 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44486 PyObject
*resultobj
= 0;
44487 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44488 wxString
*arg2
= 0 ;
44491 bool temp2
= false ;
44492 PyObject
* obj0
= 0 ;
44493 PyObject
* obj1
= 0 ;
44494 char * kwnames
[] = {
44495 (char *) "self",(char *) "str", NULL
44498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44500 if (!SWIG_IsOK(res1
)) {
44501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44503 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44505 arg2
= wxString_in_helper(obj1
);
44506 if (arg2
== NULL
) SWIG_fail
;
44510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44511 (arg1
)->SetPath((wxString
const &)*arg2
);
44512 wxPyEndAllowThreads(__tstate
);
44513 if (PyErr_Occurred()) SWIG_fail
;
44515 resultobj
= SWIG_Py_Void();
44530 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44531 PyObject
*resultobj
= 0;
44532 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44533 wxString
*arg2
= 0 ;
44537 bool temp2
= false ;
44538 PyObject
* obj0
= 0 ;
44539 PyObject
* obj1
= 0 ;
44540 char * kwnames
[] = {
44541 (char *) "self",(char *) "path", NULL
44544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44546 if (!SWIG_IsOK(res1
)) {
44547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44549 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44551 arg2
= wxString_in_helper(obj1
);
44552 if (arg2
== NULL
) SWIG_fail
;
44556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44557 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44558 wxPyEndAllowThreads(__tstate
);
44559 if (PyErr_Occurred()) SWIG_fail
;
44562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44578 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44579 PyObject
*resultobj
= 0;
44580 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44584 PyObject
*swig_obj
[1] ;
44586 if (!args
) SWIG_fail
;
44587 swig_obj
[0] = args
;
44588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44589 if (!SWIG_IsOK(res1
)) {
44590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44592 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44595 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44596 wxPyEndAllowThreads(__tstate
);
44597 if (PyErr_Occurred()) SWIG_fail
;
44601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44612 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44615 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44616 return SWIG_Py_Void();
44619 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44620 return SWIG_Python_InitShadowInstance(args
);
44623 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44624 PyObject
*resultobj
= 0;
44626 wxObject
*arg2
= (wxObject
*) 0 ;
44628 wxString
*arg4
= 0 ;
44629 wxFileDirPickerEvent
*result
= 0 ;
44636 bool temp4
= false ;
44637 PyObject
* obj0
= 0 ;
44638 PyObject
* obj1
= 0 ;
44639 PyObject
* obj2
= 0 ;
44640 PyObject
* obj3
= 0 ;
44641 char * kwnames
[] = {
44642 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44646 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44647 if (!SWIG_IsOK(ecode1
)) {
44648 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44650 arg1
= static_cast< wxEventType
>(val1
);
44651 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44652 if (!SWIG_IsOK(res2
)) {
44653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44655 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44657 if (!SWIG_IsOK(ecode3
)) {
44658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44660 arg3
= static_cast< int >(val3
);
44662 arg4
= wxString_in_helper(obj3
);
44663 if (arg4
== NULL
) SWIG_fail
;
44667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44668 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44669 wxPyEndAllowThreads(__tstate
);
44670 if (PyErr_Occurred()) SWIG_fail
;
44672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44687 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44688 PyObject
*resultobj
= 0;
44689 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44693 PyObject
*swig_obj
[1] ;
44695 if (!args
) SWIG_fail
;
44696 swig_obj
[0] = args
;
44697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44698 if (!SWIG_IsOK(res1
)) {
44699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44701 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44704 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44705 wxPyEndAllowThreads(__tstate
);
44706 if (PyErr_Occurred()) SWIG_fail
;
44710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44721 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44722 PyObject
*resultobj
= 0;
44723 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44724 wxString
*arg2
= 0 ;
44727 bool temp2
= false ;
44728 PyObject
* obj0
= 0 ;
44729 PyObject
* obj1
= 0 ;
44730 char * kwnames
[] = {
44731 (char *) "self",(char *) "p", NULL
44734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44736 if (!SWIG_IsOK(res1
)) {
44737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44739 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44741 arg2
= wxString_in_helper(obj1
);
44742 if (arg2
== NULL
) SWIG_fail
;
44746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44747 (arg1
)->SetPath((wxString
const &)*arg2
);
44748 wxPyEndAllowThreads(__tstate
);
44749 if (PyErr_Occurred()) SWIG_fail
;
44751 resultobj
= SWIG_Py_Void();
44766 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44769 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44770 return SWIG_Py_Void();
44773 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44774 return SWIG_Python_InitShadowInstance(args
);
44777 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44778 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44783 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44784 PyObject
*pyobj
= 0;
44788 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44790 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44797 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44798 PyObject
*resultobj
= 0;
44799 wxWindow
*arg1
= (wxWindow
*) 0 ;
44800 int arg2
= (int) -1 ;
44801 wxFont
const &arg3_defvalue
= wxNullFont
;
44802 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44803 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44804 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44805 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44806 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44807 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44808 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44809 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44810 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44811 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44812 wxFontPickerCtrl
*result
= 0 ;
44825 bool temp8
= false ;
44826 PyObject
* obj0
= 0 ;
44827 PyObject
* obj1
= 0 ;
44828 PyObject
* obj2
= 0 ;
44829 PyObject
* obj3
= 0 ;
44830 PyObject
* obj4
= 0 ;
44831 PyObject
* obj5
= 0 ;
44832 PyObject
* obj6
= 0 ;
44833 PyObject
* obj7
= 0 ;
44834 char * kwnames
[] = {
44835 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44840 if (!SWIG_IsOK(res1
)) {
44841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44843 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44846 if (!SWIG_IsOK(ecode2
)) {
44847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44849 arg2
= static_cast< int >(val2
);
44852 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44853 if (!SWIG_IsOK(res3
)) {
44854 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44859 arg3
= reinterpret_cast< wxFont
* >(argp3
);
44864 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44870 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44874 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44875 if (!SWIG_IsOK(ecode6
)) {
44876 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44878 arg6
= static_cast< long >(val6
);
44881 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44882 if (!SWIG_IsOK(res7
)) {
44883 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44888 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44892 arg8
= wxString_in_helper(obj7
);
44893 if (arg8
== NULL
) SWIG_fail
;
44898 if (!wxPyCheckForApp()) SWIG_fail
;
44899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44900 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44901 wxPyEndAllowThreads(__tstate
);
44902 if (PyErr_Occurred()) SWIG_fail
;
44904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44919 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44920 PyObject
*resultobj
= 0;
44921 wxFontPickerCtrl
*result
= 0 ;
44923 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
44925 if (!wxPyCheckForApp()) SWIG_fail
;
44926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44927 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
44928 wxPyEndAllowThreads(__tstate
);
44929 if (PyErr_Occurred()) SWIG_fail
;
44931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44938 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44939 PyObject
*resultobj
= 0;
44940 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
44941 wxWindow
*arg2
= (wxWindow
*) 0 ;
44942 int arg3
= (int) -1 ;
44943 wxFont
const &arg4_defvalue
= wxNullFont
;
44944 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
44945 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44946 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44947 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44948 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44949 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
44950 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44951 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44952 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
44953 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44969 bool temp9
= false ;
44970 PyObject
* obj0
= 0 ;
44971 PyObject
* obj1
= 0 ;
44972 PyObject
* obj2
= 0 ;
44973 PyObject
* obj3
= 0 ;
44974 PyObject
* obj4
= 0 ;
44975 PyObject
* obj5
= 0 ;
44976 PyObject
* obj6
= 0 ;
44977 PyObject
* obj7
= 0 ;
44978 PyObject
* obj8
= 0 ;
44979 char * kwnames
[] = {
44980 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
44985 if (!SWIG_IsOK(res1
)) {
44986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44988 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
44989 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44990 if (!SWIG_IsOK(res2
)) {
44991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44993 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44996 if (!SWIG_IsOK(ecode3
)) {
44997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44999 arg3
= static_cast< int >(val3
);
45002 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45003 if (!SWIG_IsOK(res4
)) {
45004 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45009 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45014 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45020 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45024 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45025 if (!SWIG_IsOK(ecode7
)) {
45026 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45028 arg7
= static_cast< long >(val7
);
45031 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45032 if (!SWIG_IsOK(res8
)) {
45033 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45038 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45042 arg9
= wxString_in_helper(obj8
);
45043 if (arg9
== NULL
) SWIG_fail
;
45048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45049 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45050 wxPyEndAllowThreads(__tstate
);
45051 if (PyErr_Occurred()) SWIG_fail
;
45054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45070 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45071 PyObject
*resultobj
= 0;
45072 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45076 PyObject
*swig_obj
[1] ;
45078 if (!args
) SWIG_fail
;
45079 swig_obj
[0] = args
;
45080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45081 if (!SWIG_IsOK(res1
)) {
45082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45084 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45087 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45088 wxPyEndAllowThreads(__tstate
);
45089 if (PyErr_Occurred()) SWIG_fail
;
45091 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45098 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45099 PyObject
*resultobj
= 0;
45100 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45106 PyObject
* obj0
= 0 ;
45107 PyObject
* obj1
= 0 ;
45108 char * kwnames
[] = {
45109 (char *) "self",(char *) "f", NULL
45112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45114 if (!SWIG_IsOK(res1
)) {
45115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45117 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45119 if (!SWIG_IsOK(res2
)) {
45120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45125 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45128 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45129 wxPyEndAllowThreads(__tstate
);
45130 if (PyErr_Occurred()) SWIG_fail
;
45132 resultobj
= SWIG_Py_Void();
45139 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45140 PyObject
*resultobj
= 0;
45141 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45142 unsigned int arg2
;
45145 unsigned int val2
;
45147 PyObject
* obj0
= 0 ;
45148 PyObject
* obj1
= 0 ;
45149 char * kwnames
[] = {
45150 (char *) "self",(char *) "max", NULL
45153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45155 if (!SWIG_IsOK(res1
)) {
45156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45158 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45159 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45160 if (!SWIG_IsOK(ecode2
)) {
45161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45163 arg2
= static_cast< unsigned int >(val2
);
45165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45166 (arg1
)->SetMaxPointSize(arg2
);
45167 wxPyEndAllowThreads(__tstate
);
45168 if (PyErr_Occurred()) SWIG_fail
;
45170 resultobj
= SWIG_Py_Void();
45177 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45178 PyObject
*resultobj
= 0;
45179 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45180 unsigned int result
;
45183 PyObject
*swig_obj
[1] ;
45185 if (!args
) SWIG_fail
;
45186 swig_obj
[0] = args
;
45187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45188 if (!SWIG_IsOK(res1
)) {
45189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45191 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45194 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45195 wxPyEndAllowThreads(__tstate
);
45196 if (PyErr_Occurred()) SWIG_fail
;
45198 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45205 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45208 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45209 return SWIG_Py_Void();
45212 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45213 return SWIG_Python_InitShadowInstance(args
);
45216 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45217 PyObject
*resultobj
= 0;
45218 wxObject
*arg1
= (wxObject
*) 0 ;
45221 wxFontPickerEvent
*result
= 0 ;
45228 PyObject
* obj0
= 0 ;
45229 PyObject
* obj1
= 0 ;
45230 PyObject
* obj2
= 0 ;
45231 char * kwnames
[] = {
45232 (char *) "generator",(char *) "id",(char *) "f", NULL
45235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45237 if (!SWIG_IsOK(res1
)) {
45238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45240 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45242 if (!SWIG_IsOK(ecode2
)) {
45243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45245 arg2
= static_cast< int >(val2
);
45246 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45247 if (!SWIG_IsOK(res3
)) {
45248 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45253 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45256 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45257 wxPyEndAllowThreads(__tstate
);
45258 if (PyErr_Occurred()) SWIG_fail
;
45260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45267 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45268 PyObject
*resultobj
= 0;
45269 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45273 PyObject
*swig_obj
[1] ;
45275 if (!args
) SWIG_fail
;
45276 swig_obj
[0] = args
;
45277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45278 if (!SWIG_IsOK(res1
)) {
45279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45281 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45284 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45285 wxPyEndAllowThreads(__tstate
);
45286 if (PyErr_Occurred()) SWIG_fail
;
45288 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45295 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45296 PyObject
*resultobj
= 0;
45297 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45303 PyObject
* obj0
= 0 ;
45304 PyObject
* obj1
= 0 ;
45305 char * kwnames
[] = {
45306 (char *) "self",(char *) "c", NULL
45309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45311 if (!SWIG_IsOK(res1
)) {
45312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45314 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45315 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45316 if (!SWIG_IsOK(res2
)) {
45317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45322 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45325 (arg1
)->SetFont((wxFont
const &)*arg2
);
45326 wxPyEndAllowThreads(__tstate
);
45327 if (PyErr_Occurred()) SWIG_fail
;
45329 resultobj
= SWIG_Py_Void();
45336 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45339 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45340 return SWIG_Py_Void();
45343 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45344 return SWIG_Python_InitShadowInstance(args
);
45347 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45348 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45353 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45354 PyObject
*pyobj
= 0;
45358 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45360 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45367 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45368 PyObject
*resultobj
= 0;
45369 wxWindow
*arg1
= (wxWindow
*) 0 ;
45370 int arg2
= (int) -1 ;
45371 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45372 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45373 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45374 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45375 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45376 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45377 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45378 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45379 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45380 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45381 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45382 wxCollapsiblePane
*result
= 0 ;
45387 bool temp3
= false ;
45394 bool temp8
= false ;
45395 PyObject
* obj0
= 0 ;
45396 PyObject
* obj1
= 0 ;
45397 PyObject
* obj2
= 0 ;
45398 PyObject
* obj3
= 0 ;
45399 PyObject
* obj4
= 0 ;
45400 PyObject
* obj5
= 0 ;
45401 PyObject
* obj6
= 0 ;
45402 PyObject
* obj7
= 0 ;
45403 char * kwnames
[] = {
45404 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45409 if (!SWIG_IsOK(res1
)) {
45410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45412 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45415 if (!SWIG_IsOK(ecode2
)) {
45416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45418 arg2
= static_cast< int >(val2
);
45422 arg3
= wxString_in_helper(obj2
);
45423 if (arg3
== NULL
) SWIG_fail
;
45430 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45436 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45440 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45441 if (!SWIG_IsOK(ecode6
)) {
45442 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45444 arg6
= static_cast< long >(val6
);
45447 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45448 if (!SWIG_IsOK(res7
)) {
45449 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45454 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45458 arg8
= wxString_in_helper(obj7
);
45459 if (arg8
== NULL
) SWIG_fail
;
45464 if (!wxPyCheckForApp()) SWIG_fail
;
45465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45466 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45467 wxPyEndAllowThreads(__tstate
);
45468 if (PyErr_Occurred()) SWIG_fail
;
45470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45493 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45494 PyObject
*resultobj
= 0;
45495 wxCollapsiblePane
*result
= 0 ;
45497 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45499 if (!wxPyCheckForApp()) SWIG_fail
;
45500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45501 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45502 wxPyEndAllowThreads(__tstate
);
45503 if (PyErr_Occurred()) SWIG_fail
;
45505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45512 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45513 PyObject
*resultobj
= 0;
45514 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45515 wxWindow
*arg2
= (wxWindow
*) 0 ;
45516 int arg3
= (int) -1 ;
45517 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45518 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45519 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45520 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45521 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45522 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45523 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45524 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45525 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45526 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45527 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45535 bool temp4
= false ;
45542 bool temp9
= false ;
45543 PyObject
* obj0
= 0 ;
45544 PyObject
* obj1
= 0 ;
45545 PyObject
* obj2
= 0 ;
45546 PyObject
* obj3
= 0 ;
45547 PyObject
* obj4
= 0 ;
45548 PyObject
* obj5
= 0 ;
45549 PyObject
* obj6
= 0 ;
45550 PyObject
* obj7
= 0 ;
45551 PyObject
* obj8
= 0 ;
45552 char * kwnames
[] = {
45553 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45558 if (!SWIG_IsOK(res1
)) {
45559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45561 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45563 if (!SWIG_IsOK(res2
)) {
45564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45566 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45569 if (!SWIG_IsOK(ecode3
)) {
45570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45572 arg3
= static_cast< int >(val3
);
45576 arg4
= wxString_in_helper(obj3
);
45577 if (arg4
== NULL
) SWIG_fail
;
45584 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45590 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45594 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45595 if (!SWIG_IsOK(ecode7
)) {
45596 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45598 arg7
= static_cast< long >(val7
);
45601 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45602 if (!SWIG_IsOK(res8
)) {
45603 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45608 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45612 arg9
= wxString_in_helper(obj8
);
45613 if (arg9
== NULL
) SWIG_fail
;
45618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45619 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45620 wxPyEndAllowThreads(__tstate
);
45621 if (PyErr_Occurred()) SWIG_fail
;
45624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45648 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45649 PyObject
*resultobj
= 0;
45650 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45651 bool arg2
= (bool) true ;
45656 PyObject
* obj0
= 0 ;
45657 PyObject
* obj1
= 0 ;
45658 char * kwnames
[] = {
45659 (char *) "self",(char *) "collapse", NULL
45662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45664 if (!SWIG_IsOK(res1
)) {
45665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45667 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45669 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45670 if (!SWIG_IsOK(ecode2
)) {
45671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45673 arg2
= static_cast< bool >(val2
);
45676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45677 (arg1
)->Collapse(arg2
);
45678 wxPyEndAllowThreads(__tstate
);
45679 if (PyErr_Occurred()) SWIG_fail
;
45681 resultobj
= SWIG_Py_Void();
45688 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45689 PyObject
*resultobj
= 0;
45690 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45693 PyObject
*swig_obj
[1] ;
45695 if (!args
) SWIG_fail
;
45696 swig_obj
[0] = args
;
45697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45698 if (!SWIG_IsOK(res1
)) {
45699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45701 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45705 wxPyEndAllowThreads(__tstate
);
45706 if (PyErr_Occurred()) SWIG_fail
;
45708 resultobj
= SWIG_Py_Void();
45715 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45716 PyObject
*resultobj
= 0;
45717 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45721 PyObject
*swig_obj
[1] ;
45723 if (!args
) SWIG_fail
;
45724 swig_obj
[0] = args
;
45725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45726 if (!SWIG_IsOK(res1
)) {
45727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45729 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45732 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45733 wxPyEndAllowThreads(__tstate
);
45734 if (PyErr_Occurred()) SWIG_fail
;
45737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45745 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45746 PyObject
*resultobj
= 0;
45747 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45751 PyObject
*swig_obj
[1] ;
45753 if (!args
) SWIG_fail
;
45754 swig_obj
[0] = args
;
45755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45756 if (!SWIG_IsOK(res1
)) {
45757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45759 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45762 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
45763 wxPyEndAllowThreads(__tstate
);
45764 if (PyErr_Occurred()) SWIG_fail
;
45767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45775 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45776 PyObject
*resultobj
= 0;
45777 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45778 wxWindow
*result
= 0 ;
45781 PyObject
*swig_obj
[1] ;
45783 if (!args
) SWIG_fail
;
45784 swig_obj
[0] = args
;
45785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45786 if (!SWIG_IsOK(res1
)) {
45787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45789 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45792 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
45793 wxPyEndAllowThreads(__tstate
);
45794 if (PyErr_Occurred()) SWIG_fail
;
45797 resultobj
= wxPyMake_wxObject(result
, 0);
45805 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45808 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
45809 return SWIG_Py_Void();
45812 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45813 return SWIG_Python_InitShadowInstance(args
);
45816 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45817 PyObject
*resultobj
= 0;
45818 wxObject
*arg1
= (wxObject
*) 0 ;
45821 wxCollapsiblePaneEvent
*result
= 0 ;
45828 PyObject
* obj0
= 0 ;
45829 PyObject
* obj1
= 0 ;
45830 PyObject
* obj2
= 0 ;
45831 char * kwnames
[] = {
45832 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45837 if (!SWIG_IsOK(res1
)) {
45838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45840 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45842 if (!SWIG_IsOK(ecode2
)) {
45843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45845 arg2
= static_cast< int >(val2
);
45846 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45847 if (!SWIG_IsOK(ecode3
)) {
45848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45850 arg3
= static_cast< bool >(val3
);
45852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45853 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
45854 wxPyEndAllowThreads(__tstate
);
45855 if (PyErr_Occurred()) SWIG_fail
;
45857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
45864 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45865 PyObject
*resultobj
= 0;
45866 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45870 PyObject
*swig_obj
[1] ;
45872 if (!args
) SWIG_fail
;
45873 swig_obj
[0] = args
;
45874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45875 if (!SWIG_IsOK(res1
)) {
45876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
45878 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45881 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
45882 wxPyEndAllowThreads(__tstate
);
45883 if (PyErr_Occurred()) SWIG_fail
;
45886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45894 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45895 PyObject
*resultobj
= 0;
45896 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
45902 PyObject
* obj0
= 0 ;
45903 PyObject
* obj1
= 0 ;
45904 char * kwnames
[] = {
45905 (char *) "self",(char *) "c", NULL
45908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
45910 if (!SWIG_IsOK(res1
)) {
45911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
45913 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
45914 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45915 if (!SWIG_IsOK(ecode2
)) {
45916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
45918 arg2
= static_cast< bool >(val2
);
45920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45921 (arg1
)->SetCollapsed(arg2
);
45922 wxPyEndAllowThreads(__tstate
);
45923 if (PyErr_Occurred()) SWIG_fail
;
45925 resultobj
= SWIG_Py_Void();
45932 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45934 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45935 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
45936 return SWIG_Py_Void();
45939 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45940 return SWIG_Python_InitShadowInstance(args
);
45943 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
45944 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
45949 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
45950 PyObject
*pyobj
= 0;
45954 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
45956 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
45963 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45964 PyObject
*resultobj
= 0;
45965 wxWindow
*arg1
= (wxWindow
*) 0 ;
45966 int arg2
= (int) -1 ;
45967 wxString
const &arg3_defvalue
= wxEmptyString
;
45968 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45969 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45970 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45971 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45972 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45973 long arg6
= (long) 0 ;
45974 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45975 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45976 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
45977 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45978 wxSearchCtrl
*result
= 0 ;
45983 bool temp3
= false ;
45990 bool temp8
= false ;
45991 PyObject
* obj0
= 0 ;
45992 PyObject
* obj1
= 0 ;
45993 PyObject
* obj2
= 0 ;
45994 PyObject
* obj3
= 0 ;
45995 PyObject
* obj4
= 0 ;
45996 PyObject
* obj5
= 0 ;
45997 PyObject
* obj6
= 0 ;
45998 PyObject
* obj7
= 0 ;
45999 char * kwnames
[] = {
46000 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46005 if (!SWIG_IsOK(res1
)) {
46006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46008 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46011 if (!SWIG_IsOK(ecode2
)) {
46012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46014 arg2
= static_cast< int >(val2
);
46018 arg3
= wxString_in_helper(obj2
);
46019 if (arg3
== NULL
) SWIG_fail
;
46026 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46032 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46036 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46037 if (!SWIG_IsOK(ecode6
)) {
46038 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46040 arg6
= static_cast< long >(val6
);
46043 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46044 if (!SWIG_IsOK(res7
)) {
46045 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46050 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46054 arg8
= wxString_in_helper(obj7
);
46055 if (arg8
== NULL
) SWIG_fail
;
46060 if (!wxPyCheckForApp()) SWIG_fail
;
46061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46062 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46063 wxPyEndAllowThreads(__tstate
);
46064 if (PyErr_Occurred()) SWIG_fail
;
46066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46089 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46090 PyObject
*resultobj
= 0;
46091 wxSearchCtrl
*result
= 0 ;
46093 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46095 if (!wxPyCheckForApp()) SWIG_fail
;
46096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46097 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46098 wxPyEndAllowThreads(__tstate
);
46099 if (PyErr_Occurred()) SWIG_fail
;
46101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46108 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46109 PyObject
*resultobj
= 0;
46110 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46111 wxWindow
*arg2
= (wxWindow
*) 0 ;
46112 int arg3
= (int) -1 ;
46113 wxString
const &arg4_defvalue
= wxEmptyString
;
46114 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46115 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46116 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46117 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46118 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46119 long arg7
= (long) 0 ;
46120 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46121 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46122 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46123 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46131 bool temp4
= false ;
46138 bool temp9
= false ;
46139 PyObject
* obj0
= 0 ;
46140 PyObject
* obj1
= 0 ;
46141 PyObject
* obj2
= 0 ;
46142 PyObject
* obj3
= 0 ;
46143 PyObject
* obj4
= 0 ;
46144 PyObject
* obj5
= 0 ;
46145 PyObject
* obj6
= 0 ;
46146 PyObject
* obj7
= 0 ;
46147 PyObject
* obj8
= 0 ;
46148 char * kwnames
[] = {
46149 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46154 if (!SWIG_IsOK(res1
)) {
46155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46157 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46158 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46159 if (!SWIG_IsOK(res2
)) {
46160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46162 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46165 if (!SWIG_IsOK(ecode3
)) {
46166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46168 arg3
= static_cast< int >(val3
);
46172 arg4
= wxString_in_helper(obj3
);
46173 if (arg4
== NULL
) SWIG_fail
;
46180 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46186 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46190 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46191 if (!SWIG_IsOK(ecode7
)) {
46192 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46194 arg7
= static_cast< long >(val7
);
46197 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46198 if (!SWIG_IsOK(res8
)) {
46199 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46204 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46208 arg9
= wxString_in_helper(obj8
);
46209 if (arg9
== NULL
) SWIG_fail
;
46214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46215 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46216 wxPyEndAllowThreads(__tstate
);
46217 if (PyErr_Occurred()) SWIG_fail
;
46220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46244 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46245 PyObject
*resultobj
= 0;
46246 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46247 wxMenu
*arg2
= (wxMenu
*) 0 ;
46252 PyObject
* obj0
= 0 ;
46253 PyObject
* obj1
= 0 ;
46254 char * kwnames
[] = {
46255 (char *) "self",(char *) "menu", NULL
46258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46260 if (!SWIG_IsOK(res1
)) {
46261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46263 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46265 if (!SWIG_IsOK(res2
)) {
46266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46268 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46271 (arg1
)->SetMenu(arg2
);
46272 wxPyEndAllowThreads(__tstate
);
46273 if (PyErr_Occurred()) SWIG_fail
;
46275 resultobj
= SWIG_Py_Void();
46282 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46283 PyObject
*resultobj
= 0;
46284 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46285 wxMenu
*result
= 0 ;
46288 PyObject
*swig_obj
[1] ;
46290 if (!args
) SWIG_fail
;
46291 swig_obj
[0] = args
;
46292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46293 if (!SWIG_IsOK(res1
)) {
46294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46296 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46299 result
= (wxMenu
*)(arg1
)->GetMenu();
46300 wxPyEndAllowThreads(__tstate
);
46301 if (PyErr_Occurred()) SWIG_fail
;
46304 resultobj
= wxPyMake_wxObject(result
, 0);
46312 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46313 PyObject
*resultobj
= 0;
46314 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46320 PyObject
* obj0
= 0 ;
46321 PyObject
* obj1
= 0 ;
46322 char * kwnames
[] = {
46323 (char *) "self",(char *) "show", NULL
46326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchButtonVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46328 if (!SWIG_IsOK(res1
)) {
46329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46331 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46332 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46333 if (!SWIG_IsOK(ecode2
)) {
46334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_SetSearchButtonVisible" "', expected argument " "2"" of type '" "bool""'");
46336 arg2
= static_cast< bool >(val2
);
46338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46339 (arg1
)->SetSearchButtonVisible(arg2
);
46340 wxPyEndAllowThreads(__tstate
);
46341 if (PyErr_Occurred()) SWIG_fail
;
46343 resultobj
= SWIG_Py_Void();
46350 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46351 PyObject
*resultobj
= 0;
46352 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46356 PyObject
*swig_obj
[1] ;
46358 if (!args
) SWIG_fail
;
46359 swig_obj
[0] = args
;
46360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46361 if (!SWIG_IsOK(res1
)) {
46362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46364 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46367 result
= (bool)((wxSearchCtrl
const *)arg1
)->GetSearchButtonVisible();
46368 wxPyEndAllowThreads(__tstate
);
46369 if (PyErr_Occurred()) SWIG_fail
;
46372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46380 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46381 PyObject
*resultobj
= 0;
46382 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46388 PyObject
* obj0
= 0 ;
46389 PyObject
* obj1
= 0 ;
46390 char * kwnames
[] = {
46391 (char *) "self",(char *) "show", NULL
46394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelButtonVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46396 if (!SWIG_IsOK(res1
)) {
46397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46399 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46400 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46401 if (!SWIG_IsOK(ecode2
)) {
46402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_SetCancelButtonVisible" "', expected argument " "2"" of type '" "bool""'");
46404 arg2
= static_cast< bool >(val2
);
46406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46407 (arg1
)->SetCancelButtonVisible(arg2
);
46408 wxPyEndAllowThreads(__tstate
);
46409 if (PyErr_Occurred()) SWIG_fail
;
46411 resultobj
= SWIG_Py_Void();
46418 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46419 PyObject
*resultobj
= 0;
46420 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46424 PyObject
*swig_obj
[1] ;
46426 if (!args
) SWIG_fail
;
46427 swig_obj
[0] = args
;
46428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46429 if (!SWIG_IsOK(res1
)) {
46430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46432 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46435 result
= (bool)((wxSearchCtrl
const *)arg1
)->GetCancelButtonVisible();
46436 wxPyEndAllowThreads(__tstate
);
46437 if (PyErr_Occurred()) SWIG_fail
;
46440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46448 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46449 PyObject
*resultobj
= 0;
46450 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46451 wxBitmap
*arg2
= 0 ;
46456 PyObject
* obj0
= 0 ;
46457 PyObject
* obj1
= 0 ;
46458 char * kwnames
[] = {
46459 (char *) "self",(char *)"arg2", NULL
46462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46464 if (!SWIG_IsOK(res1
)) {
46465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46467 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46468 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46469 if (!SWIG_IsOK(res2
)) {
46470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46475 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46478 wxSearchCtrl_SetSearchBitmap(arg1
,(wxBitmap
const &)*arg2
);
46479 wxPyEndAllowThreads(__tstate
);
46480 if (PyErr_Occurred()) SWIG_fail
;
46482 resultobj
= SWIG_Py_Void();
46489 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46490 PyObject
*resultobj
= 0;
46491 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46492 wxBitmap
*arg2
= 0 ;
46497 PyObject
* obj0
= 0 ;
46498 PyObject
* obj1
= 0 ;
46499 char * kwnames
[] = {
46500 (char *) "self",(char *)"arg2", NULL
46503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46505 if (!SWIG_IsOK(res1
)) {
46506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46508 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46510 if (!SWIG_IsOK(res2
)) {
46511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46516 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46519 wxSearchCtrl_SetSearchMenuBitmap(arg1
,(wxBitmap
const &)*arg2
);
46520 wxPyEndAllowThreads(__tstate
);
46521 if (PyErr_Occurred()) SWIG_fail
;
46523 resultobj
= SWIG_Py_Void();
46530 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46531 PyObject
*resultobj
= 0;
46532 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46533 wxBitmap
*arg2
= 0 ;
46538 PyObject
* obj0
= 0 ;
46539 PyObject
* obj1
= 0 ;
46540 char * kwnames
[] = {
46541 (char *) "self",(char *)"arg2", NULL
46544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46546 if (!SWIG_IsOK(res1
)) {
46547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46549 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46550 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46551 if (!SWIG_IsOK(res2
)) {
46552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46557 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46560 wxSearchCtrl_SetCancelBitmap(arg1
,(wxBitmap
const &)*arg2
);
46561 wxPyEndAllowThreads(__tstate
);
46562 if (PyErr_Occurred()) SWIG_fail
;
46564 resultobj
= SWIG_Py_Void();
46571 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46573 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46574 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
46575 return SWIG_Py_Void();
46578 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46579 return SWIG_Python_InitShadowInstance(args
);
46582 static PyMethodDef SwigMethods
[] = {
46583 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46585 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46587 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46588 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46590 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46591 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46593 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46595 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46596 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46597 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46598 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46599 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46601 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46606 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46607 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46608 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46609 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46611 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46612 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46613 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46614 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46616 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46618 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46619 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46621 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46622 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46624 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46626 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46628 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46629 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46631 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46633 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46635 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46636 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46637 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46639 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46640 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46643 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46646 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46648 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46649 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46650 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46651 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46652 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46653 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46654 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46655 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46656 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46658 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46659 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46661 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46663 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46664 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46666 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46667 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46668 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46669 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46670 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46671 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46672 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46674 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46675 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46676 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46677 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46678 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46679 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46680 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46681 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46682 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46683 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46684 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46685 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46686 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46687 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46688 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46689 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46690 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46691 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46692 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46693 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46694 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46695 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46696 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46697 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46698 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46699 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46700 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46701 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46702 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46703 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46704 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46705 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46707 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46709 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46710 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46711 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46712 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46715 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46717 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
46718 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46720 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
46723 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46724 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46726 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46727 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46728 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
46729 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
46730 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46731 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
46732 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46733 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46734 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46735 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
46736 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
46737 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46738 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
46739 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
46740 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46741 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46742 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46743 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46744 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46745 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46746 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46747 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46748 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46749 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
46750 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
46751 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
46752 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
46753 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
46754 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
46755 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
46756 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46757 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
46758 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
46759 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
46760 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
46761 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
46762 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
46763 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
46764 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
46765 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
46766 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
46767 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
46769 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
46770 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46771 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
46772 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46773 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
46774 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46775 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
46776 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46777 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46778 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46779 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46780 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
46781 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
46782 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
46783 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
46784 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
46785 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
46786 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
46787 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
46788 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46789 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46790 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46791 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46792 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
46793 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
46794 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46795 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46796 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46797 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46798 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46799 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46800 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46801 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46802 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
46803 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46804 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46805 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46806 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46807 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46808 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
46809 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
46810 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
46811 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
46812 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
46813 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
46814 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
46815 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
46816 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
46817 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
46818 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46819 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
46820 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
46821 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
46822 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46823 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
46824 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46825 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46826 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
46827 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46828 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46829 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46830 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
46831 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
46832 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46833 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
46834 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
46835 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
46836 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
46837 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
46838 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46839 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
46840 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46841 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
46842 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
46843 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
46844 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
46845 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
46846 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46847 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46848 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
46849 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
46850 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46851 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
46852 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46853 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
46854 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
46855 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
46856 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46857 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46858 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46859 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46860 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
46861 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46862 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
46863 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
46864 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46865 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
46866 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46867 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
46868 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46869 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46870 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46871 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
46872 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
46873 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46874 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46875 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
46876 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
46877 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46878 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
46879 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46880 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
46881 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
46882 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46883 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
46884 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46886 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
46887 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
46888 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46889 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
46890 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46891 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46892 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46893 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46894 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46895 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46896 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46897 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
46898 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
46899 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46900 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46901 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46902 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46903 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46904 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46905 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
46906 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
46907 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
46909 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46910 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
46911 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46912 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46913 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
46914 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
46915 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
46917 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46918 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
46919 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46920 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46921 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
46922 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
46923 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46924 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46925 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46927 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
46928 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
46929 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
46931 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46932 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
46933 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
46934 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46935 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
46936 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
46937 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
46938 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46939 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46940 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
46941 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
46942 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
46944 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46946 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
46947 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
46949 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
46950 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
46951 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46952 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
46953 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
46954 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46955 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46956 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46957 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46958 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
46959 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46960 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46961 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46962 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46963 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
46964 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46965 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
46966 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46967 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
46968 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
46970 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
46971 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46972 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46973 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
46974 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46975 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46976 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46977 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46978 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46979 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46980 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46981 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
46982 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46983 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
46984 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46985 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
46986 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46987 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
46988 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
46989 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46990 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
46991 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46992 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
46993 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46995 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
46996 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46997 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46998 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46999 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47000 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47001 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47002 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47003 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47004 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47006 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47007 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47008 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47009 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47010 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47011 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47012 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47013 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47014 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47015 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47016 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47017 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47018 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47019 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47020 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47021 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47022 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47024 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47025 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47026 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47027 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47028 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47029 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47031 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47032 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47033 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47034 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47036 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47037 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47039 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47041 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47042 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47043 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47044 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47045 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47046 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47047 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47048 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47049 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47050 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47051 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47052 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47053 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47054 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47055 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47056 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47057 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47058 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47059 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47060 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47061 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47062 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47063 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47064 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47065 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47066 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47067 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47068 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47069 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47071 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47072 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47073 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47074 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47075 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47076 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47077 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47078 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47079 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47080 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47081 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47082 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47083 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47084 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47085 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47086 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47087 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47088 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47089 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47090 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47091 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47092 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47093 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47094 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47095 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47096 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47097 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47098 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47099 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47100 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47101 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47102 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47103 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47104 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47105 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47106 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47107 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47108 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47109 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47110 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47111 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47112 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47113 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47114 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47115 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47116 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47117 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47118 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47119 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47120 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47121 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47122 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47123 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47124 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47125 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47126 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47127 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47128 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47129 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47130 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47131 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47132 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47133 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47134 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47135 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47136 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47137 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47138 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47139 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47140 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47141 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47142 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47143 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47144 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47145 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47146 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47147 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47148 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47150 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47151 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47152 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47153 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47155 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47158 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47159 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47160 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47161 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47162 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47163 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47164 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47165 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47166 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47167 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47168 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47169 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47170 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47171 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47172 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47173 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47174 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47175 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47176 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47177 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47178 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47179 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47180 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47181 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47182 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47183 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47184 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47185 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47186 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47187 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47188 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47189 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47190 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47191 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47192 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47193 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47194 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47195 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47196 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47197 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47198 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47199 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47200 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47201 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47202 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47203 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47204 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47205 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47206 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47207 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47208 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47209 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47210 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47211 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47212 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47213 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47214 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47215 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47216 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47217 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47218 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47219 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47220 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47221 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47222 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47223 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47224 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47225 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47226 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47227 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47230 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47231 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47232 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47233 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47234 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47235 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47236 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47238 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47239 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47240 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47241 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47242 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47243 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47244 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47245 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47246 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47247 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47248 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47249 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47250 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47251 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47252 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47253 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47254 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47255 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47256 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47257 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47258 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47259 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47260 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47261 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47262 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47263 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47264 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47265 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47266 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47267 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47268 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47269 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47270 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47271 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47272 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47273 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47274 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47275 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47276 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47277 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47278 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47279 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47280 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47281 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47282 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47283 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47284 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47285 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47286 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47287 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47288 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47289 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47290 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47291 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47292 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47293 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47294 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47295 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47296 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47297 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47298 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47299 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47300 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47301 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47302 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47303 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47304 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47305 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47306 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47307 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47308 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47309 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47310 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47311 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47312 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47313 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47314 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47315 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47316 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47317 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47318 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47319 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47320 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47321 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47322 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47323 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47324 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47325 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47326 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47327 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47328 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47329 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47330 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47331 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47332 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47333 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47334 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47335 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47336 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47337 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47338 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47339 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47340 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47341 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47342 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47343 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47344 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47345 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47346 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47347 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47348 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47349 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47350 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47351 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47352 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47353 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47354 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47355 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47356 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47357 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47358 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47359 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47360 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47361 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47362 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47363 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47364 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47365 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47366 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47367 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47368 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47369 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47370 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47371 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47372 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47373 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47374 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47375 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47376 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47377 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47378 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47379 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47380 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47381 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47382 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47383 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47384 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47385 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47386 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47387 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47388 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47389 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47390 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47391 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47392 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47393 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47394 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47395 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47396 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47397 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47398 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47399 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47400 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47401 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47402 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47403 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47404 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47405 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47406 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47407 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47408 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47409 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47410 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47411 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47412 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47413 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47414 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47415 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47416 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47417 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47418 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47419 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47420 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47421 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47422 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47423 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47424 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47425 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47426 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47427 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47428 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47429 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47430 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47431 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47432 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47433 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47434 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47435 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47436 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47437 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47438 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47439 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47440 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47441 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47442 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47443 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47444 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47445 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47446 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47447 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47448 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47449 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47450 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47451 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47452 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47453 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47454 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47455 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47456 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47457 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47458 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47459 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47460 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47461 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47462 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47463 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47464 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47465 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47466 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47467 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47468 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47469 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47470 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47471 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47472 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47473 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47474 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47475 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47476 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47477 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47478 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47479 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47480 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47481 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47482 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47483 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47484 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47485 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47486 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47487 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47488 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47489 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47490 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47491 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47492 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47493 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47494 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47495 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47496 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47497 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47498 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47499 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47500 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47501 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47502 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47503 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47504 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47505 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47506 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47507 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47508 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47509 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47510 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47511 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47512 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47513 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47514 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47515 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
47516 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47517 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47518 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47519 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
47520 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47521 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
47522 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
47523 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47524 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47525 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47526 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47527 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
47528 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
47529 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47530 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
47531 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47532 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47533 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
47534 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47535 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
47536 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
47537 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47538 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47539 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47540 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
47541 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47542 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
47543 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47544 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
47545 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47546 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
47547 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47548 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
47549 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47550 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47551 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
47552 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
47553 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
47554 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47555 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
47556 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47557 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
47558 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
47559 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47560 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47561 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
47562 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47563 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
47564 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47565 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
47566 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
47567 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47568 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
47569 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47570 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
47571 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47572 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47573 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47574 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47575 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47576 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47577 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47578 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47579 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47580 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47581 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47582 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47583 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47584 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47585 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47586 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47587 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47588 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47589 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47590 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47591 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47592 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47593 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47594 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47595 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47596 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47597 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47598 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47599 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47600 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47601 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47602 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47603 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47604 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47605 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47606 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47607 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47608 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47609 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47610 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47611 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47612 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47613 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47614 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47615 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47616 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47617 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47618 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47619 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47620 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47621 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47622 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47623 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47624 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47625 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47626 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47627 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47628 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47629 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47630 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47631 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47632 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47633 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47634 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47635 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47636 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47637 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47638 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47639 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
47640 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47641 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47642 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
47643 { (char *)"SearchCtrl_SetSearchButtonVisible", (PyCFunction
) _wrap_SearchCtrl_SetSearchButtonVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47644 { (char *)"SearchCtrl_GetSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_GetSearchButtonVisible
, METH_O
, NULL
},
47645 { (char *)"SearchCtrl_SetCancelButtonVisible", (PyCFunction
) _wrap_SearchCtrl_SetCancelButtonVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47646 { (char *)"SearchCtrl_GetCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_GetCancelButtonVisible
, METH_O
, NULL
},
47647 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47648 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47649 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47650 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
47651 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
47652 { NULL
, NULL
, 0, NULL
}
47656 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47658 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47659 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47661 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47662 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47664 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47665 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47667 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47668 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47670 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47671 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47673 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47674 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47676 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47677 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47679 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47680 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47682 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47683 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47685 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47686 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47688 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47689 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47691 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47692 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47694 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47695 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47697 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47698 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47700 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47701 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47703 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47704 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47706 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47707 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47709 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
47710 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47712 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
47713 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47715 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
47716 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47718 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
47719 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47721 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
47722 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47724 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
47725 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47727 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
47728 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
47730 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47731 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47733 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47734 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47736 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47737 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47739 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47740 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47742 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47743 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47745 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47746 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47748 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47749 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47751 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47752 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47754 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47755 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47757 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
47758 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47760 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47761 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47763 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47764 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47766 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
47767 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47769 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47770 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47772 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47773 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47775 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47776 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47778 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47779 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47781 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47782 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47784 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
47785 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47787 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47788 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47790 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47791 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47793 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47794 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47796 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47797 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47799 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47800 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47802 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47803 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47805 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47806 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47808 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47809 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47811 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47812 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47814 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47815 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47817 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
47818 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47820 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
47821 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47823 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
47824 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47826 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
47827 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47829 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
47830 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47832 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
47833 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
47835 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
47836 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47838 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
47839 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47841 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47842 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47844 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
47845 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47847 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
47848 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47850 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
47851 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
47853 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
47854 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
47856 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
47857 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
47859 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
47860 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
47862 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
47863 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
47865 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
47866 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
47868 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
47869 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
47871 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
47872 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
47874 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
47875 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
47877 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
47878 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
47880 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
47881 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47883 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
47884 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
47886 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
47887 return (void *)((wxControl
*) ((wxComboBox
*) x
));
47889 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
47890 return (void *)((wxControl
*) ((wxPyControl
*) x
));
47892 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
47893 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
47895 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
47896 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
47898 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47899 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47901 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
47902 return (void *)((wxControl
*) ((wxGauge
*) x
));
47904 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
47905 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
47907 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
47908 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47910 static void *_p_wxListbookTo_p_wxControl(void *x
) {
47911 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
47913 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
47914 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
47916 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
47917 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
47919 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
47920 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
47922 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
47923 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
47925 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
47926 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47928 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
47929 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47931 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
47932 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47934 static void *_p_wxListViewTo_p_wxControl(void *x
) {
47935 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
47937 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
47938 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
47940 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
47941 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
47943 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
47944 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
47946 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
47947 return (void *)((wxControl
*) ((wxStaticText
*) x
));
47949 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
47950 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
47952 static void *_p_wxSliderTo_p_wxControl(void *x
) {
47953 return (void *)((wxControl
*) ((wxSlider
*) x
));
47955 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
47956 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
47958 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
47959 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
47961 static void *_p_wxButtonTo_p_wxControl(void *x
) {
47962 return (void *)((wxControl
*) ((wxButton
*) x
));
47964 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
47965 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
47967 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
47968 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47970 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
47971 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
47973 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
47974 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47976 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
47977 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47979 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
47980 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47982 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
47983 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47985 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
47986 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
47988 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
47989 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
47991 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
47992 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47994 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
47995 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
47997 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
47998 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48000 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48001 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48003 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48004 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48006 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48007 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48009 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48010 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48012 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48013 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48015 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48016 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48018 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48019 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48021 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48022 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48024 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48025 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48027 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48028 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48030 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48031 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48033 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48034 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48036 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48037 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48039 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48040 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48042 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48043 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48045 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48046 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48048 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48049 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48051 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48052 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48054 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48055 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48057 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48058 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48060 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48061 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48063 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48064 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48066 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48067 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48069 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48070 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48072 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48075 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48076 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48078 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48079 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48081 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48082 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48084 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48085 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48087 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48090 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48091 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48093 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48094 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48096 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48097 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48099 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48102 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48105 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48108 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48111 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48112 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48114 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48117 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48120 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48123 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48126 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48129 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48132 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48135 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48138 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48141 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48144 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48147 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48150 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48153 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48156 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48159 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48162 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48165 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48168 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48171 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48174 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48177 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48180 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48183 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48186 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48189 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48192 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48195 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48196 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48198 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48199 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48201 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48202 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48204 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48205 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48207 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48208 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48210 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48211 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48213 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48216 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48217 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48219 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48220 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48222 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48223 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48225 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48226 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48228 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48229 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48231 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48232 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48234 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48235 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48237 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48238 return (void *)((wxObject
*) ((wxSizer
*) x
));
48240 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48241 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48243 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48246 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48249 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48250 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48252 static void *_p_wxEventTo_p_wxObject(void *x
) {
48253 return (void *)((wxObject
*) ((wxEvent
*) x
));
48255 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48256 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48258 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48259 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48261 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48264 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48265 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48267 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48270 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48273 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48276 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48279 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48280 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48282 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48283 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48285 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48286 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48288 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48289 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48291 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48292 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48294 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48295 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48297 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48298 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48300 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48303 static void *_p_wxControlTo_p_wxObject(void *x
) {
48304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48306 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48309 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48312 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48315 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48318 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48321 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48322 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48324 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48325 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48327 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48330 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48331 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48333 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48334 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48336 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48337 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48339 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48340 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48342 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48345 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48348 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48349 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48351 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48354 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48357 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48358 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48360 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48361 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48363 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48366 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48369 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48370 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48372 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48375 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48378 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48379 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48381 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48382 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48384 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48385 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48387 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48388 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48390 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48391 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48393 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48394 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48396 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48397 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48399 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48400 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48402 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48403 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48405 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48406 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48408 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48411 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48412 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48414 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48415 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48417 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48420 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48421 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48423 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48424 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48426 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48427 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48429 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48430 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48432 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48433 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48435 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48436 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48438 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48439 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48441 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48442 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48444 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48445 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48447 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48448 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48450 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48451 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48453 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48454 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48456 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48457 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48459 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48460 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48462 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48463 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48465 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48466 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48468 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48469 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48471 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48474 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48477 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48480 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48483 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48486 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48489 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48490 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48492 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48493 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48495 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48498 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48501 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48504 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48505 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
48507 static void *_p_wxListItemTo_p_wxObject(void *x
) {
48508 return (void *)((wxObject
*) ((wxListItem
*) x
));
48510 static void *_p_wxImageTo_p_wxObject(void *x
) {
48511 return (void *)((wxObject
*) ((wxImage
*) x
));
48513 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
48514 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
48516 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
48517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48519 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
48520 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
48522 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
48523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48525 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
48526 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48528 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
48529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48531 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
48532 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48534 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
48535 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48537 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
48538 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48540 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
48541 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48543 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
48544 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48546 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
48547 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
48549 static void *_p_wxWindowTo_p_wxObject(void *x
) {
48550 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
48552 static void *_p_wxMenuTo_p_wxObject(void *x
) {
48553 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
48555 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
48556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
48558 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
48559 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
48561 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
48562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48564 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
48565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48567 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
48568 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
48570 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
48571 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
48573 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
48574 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
48576 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
48577 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
48579 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
48580 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
48582 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
48583 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48585 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
48586 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48588 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
48589 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48591 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
48592 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
48594 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
48595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48597 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48598 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48600 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48601 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48603 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48606 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48609 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48612 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48615 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48618 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48621 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48624 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48627 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48628 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48630 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48633 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48636 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48637 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48639 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48640 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48642 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48643 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48645 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48646 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48648 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48649 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48651 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48652 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48654 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48655 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48657 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48658 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48660 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
48661 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48663 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
48664 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48666 static void *_p_wxControlTo_p_wxWindow(void *x
) {
48667 return (void *)((wxWindow
*) ((wxControl
*) x
));
48669 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
48670 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
48672 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
48673 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
48675 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
48676 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
48678 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48679 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48681 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48682 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48684 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48685 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48687 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48688 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48690 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48691 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48693 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48694 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48696 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48697 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48699 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48700 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48702 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48703 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48705 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
48706 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
48708 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
48709 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
48711 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
48712 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
48714 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
48715 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
48717 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
48718 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48720 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
48721 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48723 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
48724 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48726 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
48727 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48729 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
48730 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48732 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
48733 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
48735 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
48736 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
48738 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
48739 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
48741 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
48742 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
48744 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
48745 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
48747 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
48748 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48750 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
48751 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
48753 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
48754 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
48756 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
48757 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48759 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
48760 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48762 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
48763 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
48765 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
48766 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48768 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
48769 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48771 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
48772 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48774 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
48775 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48777 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
48778 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
48780 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48781 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48783 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48784 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48786 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48787 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48789 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48790 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48792 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48793 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48795 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
48796 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48798 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
48799 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48801 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
48802 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48804 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
48805 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48807 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
48808 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48810 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
48811 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48813 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
48814 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48816 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
48817 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
48819 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
48820 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48822 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
48823 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48825 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
48826 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48828 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
48829 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48831 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
48832 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48834 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
48835 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48837 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
48838 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48840 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
48841 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48843 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
48844 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
48846 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
48847 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48849 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
48850 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
48852 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
48853 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48855 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
48856 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48858 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
48859 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48861 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
48862 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48864 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
48865 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
48867 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
48868 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48870 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
48871 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48873 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
48874 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48876 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
48877 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
48879 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
48880 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
48882 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
48883 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
48885 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
48886 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
48888 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48889 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
48890 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};
48891 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
48892 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
48893 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48894 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48895 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48896 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
48897 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48898 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48899 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48900 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48901 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48902 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48903 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48904 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48905 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48906 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48907 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48908 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
48909 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48910 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
48911 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
48912 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48913 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
48914 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48915 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48916 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
48917 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
48918 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48919 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48920 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48921 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48922 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48923 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48924 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
48925 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
48926 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
48927 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
48928 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
48929 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
48930 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
48931 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
48932 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
48933 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
48934 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
48935 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
48936 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
48937 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
48938 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
48939 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
48940 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
48941 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
48942 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
48943 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
48944 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
48945 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
48946 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
48947 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
48948 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
48949 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
48950 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
48951 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
48952 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
48953 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
48954 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
48955 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
48956 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
48957 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
48958 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
48959 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
48960 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
48961 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
48962 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
48963 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
48964 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
48965 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
48966 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
48967 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
48968 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
48969 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
48970 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
48971 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
48972 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
48973 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
48974 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
48975 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
48976 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
48977 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
48978 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
48979 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
48980 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
48981 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
48982 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
48983 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
48984 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
48985 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
48986 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
48987 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
48988 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
48989 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
48990 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
48991 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
48992 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
48993 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
48994 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
48995 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
48996 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
48997 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
48998 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
48999 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49000 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49001 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49002 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49003 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49004 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49005 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49006 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49007 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49008 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49009 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49010 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49011 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49012 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49013 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49014 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49015 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49016 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49017 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49018 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49019 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49020 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49021 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49022 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49023 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49024 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49025 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49026 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49027 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49028 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49029 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49030 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49031 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49032 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49033 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49034 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49035 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49036 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49037 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49038 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49039 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49040 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49041 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49042 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49043 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49044 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49045 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49046 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49047 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49048 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49049 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49050 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49051 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49052 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49053 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49054 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49055 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49056 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49057 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49058 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49059 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49060 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49061 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49062 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49063 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49064 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49065 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49066 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49068 static swig_type_info
*swig_type_initial
[] = {
49071 &_swigt__p_form_ops_t
,
49074 &_swigt__p_unsigned_char
,
49075 &_swigt__p_unsigned_int
,
49076 &_swigt__p_unsigned_long
,
49078 &_swigt__p_wxANIHandler
,
49079 &_swigt__p_wxAcceleratorTable
,
49080 &_swigt__p_wxActivateEvent
,
49081 &_swigt__p_wxArrayInt
,
49082 &_swigt__p_wxArrayString
,
49083 &_swigt__p_wxBMPHandler
,
49084 &_swigt__p_wxBitmap
,
49085 &_swigt__p_wxBitmapButton
,
49086 &_swigt__p_wxBookCtrlBase
,
49087 &_swigt__p_wxBookCtrlBaseEvent
,
49088 &_swigt__p_wxBoxSizer
,
49089 &_swigt__p_wxButton
,
49090 &_swigt__p_wxCURHandler
,
49091 &_swigt__p_wxCheckBox
,
49092 &_swigt__p_wxCheckListBox
,
49093 &_swigt__p_wxChildFocusEvent
,
49094 &_swigt__p_wxChoice
,
49095 &_swigt__p_wxChoicebook
,
49096 &_swigt__p_wxChoicebookEvent
,
49097 &_swigt__p_wxClipboardTextEvent
,
49098 &_swigt__p_wxCloseEvent
,
49099 &_swigt__p_wxCollapsiblePane
,
49100 &_swigt__p_wxCollapsiblePaneEvent
,
49101 &_swigt__p_wxColour
,
49102 &_swigt__p_wxColourPickerCtrl
,
49103 &_swigt__p_wxColourPickerEvent
,
49104 &_swigt__p_wxComboBox
,
49105 &_swigt__p_wxCommandEvent
,
49106 &_swigt__p_wxContextHelp
,
49107 &_swigt__p_wxContextHelpButton
,
49108 &_swigt__p_wxContextMenuEvent
,
49109 &_swigt__p_wxControl
,
49110 &_swigt__p_wxControlWithItems
,
49111 &_swigt__p_wxCursor
,
49113 &_swigt__p_wxDateEvent
,
49114 &_swigt__p_wxDatePickerCtrl
,
49115 &_swigt__p_wxDateTime
,
49116 &_swigt__p_wxDirFilterListCtrl
,
49117 &_swigt__p_wxDirPickerCtrl
,
49118 &_swigt__p_wxDisplayChangedEvent
,
49119 &_swigt__p_wxDropFilesEvent
,
49120 &_swigt__p_wxDuplexMode
,
49121 &_swigt__p_wxEraseEvent
,
49122 &_swigt__p_wxEvent
,
49123 &_swigt__p_wxEvtHandler
,
49124 &_swigt__p_wxFSFile
,
49125 &_swigt__p_wxFileDirPickerEvent
,
49126 &_swigt__p_wxFilePickerCtrl
,
49127 &_swigt__p_wxFileSystem
,
49128 &_swigt__p_wxFlexGridSizer
,
49129 &_swigt__p_wxFocusEvent
,
49131 &_swigt__p_wxFontPickerCtrl
,
49132 &_swigt__p_wxFontPickerEvent
,
49133 &_swigt__p_wxGBSizerItem
,
49134 &_swigt__p_wxGIFHandler
,
49135 &_swigt__p_wxGauge
,
49136 &_swigt__p_wxGenericDirCtrl
,
49137 &_swigt__p_wxGenericDragImage
,
49138 &_swigt__p_wxGridBagSizer
,
49139 &_swigt__p_wxGridSizer
,
49140 &_swigt__p_wxHelpEvent
,
49141 &_swigt__p_wxHelpProvider
,
49142 &_swigt__p_wxHyperlinkCtrl
,
49143 &_swigt__p_wxHyperlinkEvent
,
49144 &_swigt__p_wxICOHandler
,
49146 &_swigt__p_wxIconizeEvent
,
49147 &_swigt__p_wxIdleEvent
,
49148 &_swigt__p_wxImage
,
49149 &_swigt__p_wxImageHandler
,
49150 &_swigt__p_wxImageList
,
49151 &_swigt__p_wxIndividualLayoutConstraint
,
49152 &_swigt__p_wxInitDialogEvent
,
49153 &_swigt__p_wxItemContainer
,
49154 &_swigt__p_wxJPEGHandler
,
49155 &_swigt__p_wxKeyEvent
,
49156 &_swigt__p_wxLayoutConstraints
,
49157 &_swigt__p_wxListBox
,
49158 &_swigt__p_wxListEvent
,
49159 &_swigt__p_wxListItem
,
49160 &_swigt__p_wxListItemAttr
,
49161 &_swigt__p_wxListView
,
49162 &_swigt__p_wxListbook
,
49163 &_swigt__p_wxListbookEvent
,
49164 &_swigt__p_wxMaximizeEvent
,
49165 &_swigt__p_wxMemoryDC
,
49167 &_swigt__p_wxMenuBar
,
49168 &_swigt__p_wxMenuEvent
,
49169 &_swigt__p_wxMenuItem
,
49170 &_swigt__p_wxMouseCaptureChangedEvent
,
49171 &_swigt__p_wxMouseCaptureLostEvent
,
49172 &_swigt__p_wxMouseEvent
,
49173 &_swigt__p_wxMoveEvent
,
49174 &_swigt__p_wxNavigationKeyEvent
,
49175 &_swigt__p_wxNcPaintEvent
,
49176 &_swigt__p_wxNotebook
,
49177 &_swigt__p_wxNotebookEvent
,
49178 &_swigt__p_wxNotifyEvent
,
49179 &_swigt__p_wxObject
,
49180 &_swigt__p_wxPCXHandler
,
49181 &_swigt__p_wxPNGHandler
,
49182 &_swigt__p_wxPNMHandler
,
49183 &_swigt__p_wxPaintEvent
,
49184 &_swigt__p_wxPaletteChangedEvent
,
49185 &_swigt__p_wxPaperSize
,
49186 &_swigt__p_wxPickerBase
,
49187 &_swigt__p_wxPoint
,
49188 &_swigt__p_wxPyApp
,
49189 &_swigt__p_wxPyCommandEvent
,
49190 &_swigt__p_wxPyControl
,
49191 &_swigt__p_wxPyEvent
,
49192 &_swigt__p_wxPyImageHandler
,
49193 &_swigt__p_wxPyListCtrl
,
49194 &_swigt__p_wxPySizer
,
49195 &_swigt__p_wxPyTreeCtrl
,
49196 &_swigt__p_wxPyTreeItemData
,
49197 &_swigt__p_wxPyValidator
,
49198 &_swigt__p_wxQueryNewPaletteEvent
,
49199 &_swigt__p_wxRadioBox
,
49200 &_swigt__p_wxRadioButton
,
49202 &_swigt__p_wxScrollBar
,
49203 &_swigt__p_wxScrollEvent
,
49204 &_swigt__p_wxScrollWinEvent
,
49205 &_swigt__p_wxSearchCtrl
,
49206 &_swigt__p_wxSetCursorEvent
,
49207 &_swigt__p_wxShowEvent
,
49208 &_swigt__p_wxSimpleHelpProvider
,
49210 &_swigt__p_wxSizeEvent
,
49211 &_swigt__p_wxSizer
,
49212 &_swigt__p_wxSizerItem
,
49213 &_swigt__p_wxSlider
,
49214 &_swigt__p_wxSpinButton
,
49215 &_swigt__p_wxSpinCtrl
,
49216 &_swigt__p_wxSpinEvent
,
49217 &_swigt__p_wxStaticBitmap
,
49218 &_swigt__p_wxStaticBox
,
49219 &_swigt__p_wxStaticBoxSizer
,
49220 &_swigt__p_wxStaticLine
,
49221 &_swigt__p_wxStaticText
,
49222 &_swigt__p_wxStdDialogButtonSizer
,
49223 &_swigt__p_wxString
,
49224 &_swigt__p_wxSysColourChangedEvent
,
49225 &_swigt__p_wxTGAHandler
,
49226 &_swigt__p_wxTIFFHandler
,
49227 &_swigt__p_wxTextAttr
,
49228 &_swigt__p_wxTextCtrl
,
49229 &_swigt__p_wxTextUrlEvent
,
49230 &_swigt__p_wxToggleButton
,
49231 &_swigt__p_wxToolBar
,
49232 &_swigt__p_wxToolBarBase
,
49233 &_swigt__p_wxToolBarToolBase
,
49234 &_swigt__p_wxToolbook
,
49235 &_swigt__p_wxToolbookEvent
,
49236 &_swigt__p_wxTreeEvent
,
49237 &_swigt__p_wxTreeItemId
,
49238 &_swigt__p_wxTreebook
,
49239 &_swigt__p_wxTreebookEvent
,
49240 &_swigt__p_wxUpdateUIEvent
,
49241 &_swigt__p_wxValidator
,
49242 &_swigt__p_wxVisualAttributes
,
49243 &_swigt__p_wxWindow
,
49244 &_swigt__p_wxWindowBase
,
49245 &_swigt__p_wxWindowCreateEvent
,
49246 &_swigt__p_wxWindowDestroyEvent
,
49247 &_swigt__p_wxXPMHandler
,
49250 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49251 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49252 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49253 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49254 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49255 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49256 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49257 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49258 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49259 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49260 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49261 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49262 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}};
49263 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}};
49264 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}};
49265 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}};
49266 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49267 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49268 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}};
49269 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49270 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49271 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49272 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49273 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49274 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49275 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49276 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49277 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49278 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49279 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49280 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49281 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49282 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49283 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49284 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49285 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49286 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}};
49287 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49288 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49289 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}};
49290 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}};
49291 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49292 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49293 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49294 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49295 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49296 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49297 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49298 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49299 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49300 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49301 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49302 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49303 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49304 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49305 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49306 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49307 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49308 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49309 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49310 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49311 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49312 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49313 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49314 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49315 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49316 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49317 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49318 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49319 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49320 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49321 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49322 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49323 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}};
49324 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49325 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49326 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49327 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}};
49328 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49329 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49330 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49331 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49332 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49333 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49334 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49335 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49336 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49337 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}};
49338 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49339 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49340 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49341 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49342 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}};
49343 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49344 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}};
49345 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49346 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49347 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49348 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49349 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49350 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49351 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49352 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49353 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49354 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49355 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49356 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}};
49357 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49358 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49359 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49360 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49361 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49362 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49363 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49364 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49365 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49366 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49367 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49368 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49369 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49370 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49371 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49372 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49373 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49374 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49375 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49376 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49377 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49378 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49379 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49380 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49381 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49382 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49383 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49384 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49385 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49386 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49387 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49388 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}};
49389 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49390 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}};
49391 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49392 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49393 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}};
49394 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49395 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49396 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49397 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49398 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49399 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49400 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49401 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49402 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49403 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49404 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49405 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49406 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49407 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49408 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49409 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49410 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49411 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49412 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49413 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}};
49414 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49415 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49416 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49417 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}};
49418 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49419 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49420 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49421 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49422 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49423 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49424 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49425 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}};
49426 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49427 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}};
49428 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49430 static swig_cast_info
*swig_cast_initial
[] = {
49433 _swigc__p_form_ops_t
,
49436 _swigc__p_unsigned_char
,
49437 _swigc__p_unsigned_int
,
49438 _swigc__p_unsigned_long
,
49440 _swigc__p_wxANIHandler
,
49441 _swigc__p_wxAcceleratorTable
,
49442 _swigc__p_wxActivateEvent
,
49443 _swigc__p_wxArrayInt
,
49444 _swigc__p_wxArrayString
,
49445 _swigc__p_wxBMPHandler
,
49446 _swigc__p_wxBitmap
,
49447 _swigc__p_wxBitmapButton
,
49448 _swigc__p_wxBookCtrlBase
,
49449 _swigc__p_wxBookCtrlBaseEvent
,
49450 _swigc__p_wxBoxSizer
,
49451 _swigc__p_wxButton
,
49452 _swigc__p_wxCURHandler
,
49453 _swigc__p_wxCheckBox
,
49454 _swigc__p_wxCheckListBox
,
49455 _swigc__p_wxChildFocusEvent
,
49456 _swigc__p_wxChoice
,
49457 _swigc__p_wxChoicebook
,
49458 _swigc__p_wxChoicebookEvent
,
49459 _swigc__p_wxClipboardTextEvent
,
49460 _swigc__p_wxCloseEvent
,
49461 _swigc__p_wxCollapsiblePane
,
49462 _swigc__p_wxCollapsiblePaneEvent
,
49463 _swigc__p_wxColour
,
49464 _swigc__p_wxColourPickerCtrl
,
49465 _swigc__p_wxColourPickerEvent
,
49466 _swigc__p_wxComboBox
,
49467 _swigc__p_wxCommandEvent
,
49468 _swigc__p_wxContextHelp
,
49469 _swigc__p_wxContextHelpButton
,
49470 _swigc__p_wxContextMenuEvent
,
49471 _swigc__p_wxControl
,
49472 _swigc__p_wxControlWithItems
,
49473 _swigc__p_wxCursor
,
49475 _swigc__p_wxDateEvent
,
49476 _swigc__p_wxDatePickerCtrl
,
49477 _swigc__p_wxDateTime
,
49478 _swigc__p_wxDirFilterListCtrl
,
49479 _swigc__p_wxDirPickerCtrl
,
49480 _swigc__p_wxDisplayChangedEvent
,
49481 _swigc__p_wxDropFilesEvent
,
49482 _swigc__p_wxDuplexMode
,
49483 _swigc__p_wxEraseEvent
,
49485 _swigc__p_wxEvtHandler
,
49486 _swigc__p_wxFSFile
,
49487 _swigc__p_wxFileDirPickerEvent
,
49488 _swigc__p_wxFilePickerCtrl
,
49489 _swigc__p_wxFileSystem
,
49490 _swigc__p_wxFlexGridSizer
,
49491 _swigc__p_wxFocusEvent
,
49493 _swigc__p_wxFontPickerCtrl
,
49494 _swigc__p_wxFontPickerEvent
,
49495 _swigc__p_wxGBSizerItem
,
49496 _swigc__p_wxGIFHandler
,
49498 _swigc__p_wxGenericDirCtrl
,
49499 _swigc__p_wxGenericDragImage
,
49500 _swigc__p_wxGridBagSizer
,
49501 _swigc__p_wxGridSizer
,
49502 _swigc__p_wxHelpEvent
,
49503 _swigc__p_wxHelpProvider
,
49504 _swigc__p_wxHyperlinkCtrl
,
49505 _swigc__p_wxHyperlinkEvent
,
49506 _swigc__p_wxICOHandler
,
49508 _swigc__p_wxIconizeEvent
,
49509 _swigc__p_wxIdleEvent
,
49511 _swigc__p_wxImageHandler
,
49512 _swigc__p_wxImageList
,
49513 _swigc__p_wxIndividualLayoutConstraint
,
49514 _swigc__p_wxInitDialogEvent
,
49515 _swigc__p_wxItemContainer
,
49516 _swigc__p_wxJPEGHandler
,
49517 _swigc__p_wxKeyEvent
,
49518 _swigc__p_wxLayoutConstraints
,
49519 _swigc__p_wxListBox
,
49520 _swigc__p_wxListEvent
,
49521 _swigc__p_wxListItem
,
49522 _swigc__p_wxListItemAttr
,
49523 _swigc__p_wxListView
,
49524 _swigc__p_wxListbook
,
49525 _swigc__p_wxListbookEvent
,
49526 _swigc__p_wxMaximizeEvent
,
49527 _swigc__p_wxMemoryDC
,
49529 _swigc__p_wxMenuBar
,
49530 _swigc__p_wxMenuEvent
,
49531 _swigc__p_wxMenuItem
,
49532 _swigc__p_wxMouseCaptureChangedEvent
,
49533 _swigc__p_wxMouseCaptureLostEvent
,
49534 _swigc__p_wxMouseEvent
,
49535 _swigc__p_wxMoveEvent
,
49536 _swigc__p_wxNavigationKeyEvent
,
49537 _swigc__p_wxNcPaintEvent
,
49538 _swigc__p_wxNotebook
,
49539 _swigc__p_wxNotebookEvent
,
49540 _swigc__p_wxNotifyEvent
,
49541 _swigc__p_wxObject
,
49542 _swigc__p_wxPCXHandler
,
49543 _swigc__p_wxPNGHandler
,
49544 _swigc__p_wxPNMHandler
,
49545 _swigc__p_wxPaintEvent
,
49546 _swigc__p_wxPaletteChangedEvent
,
49547 _swigc__p_wxPaperSize
,
49548 _swigc__p_wxPickerBase
,
49551 _swigc__p_wxPyCommandEvent
,
49552 _swigc__p_wxPyControl
,
49553 _swigc__p_wxPyEvent
,
49554 _swigc__p_wxPyImageHandler
,
49555 _swigc__p_wxPyListCtrl
,
49556 _swigc__p_wxPySizer
,
49557 _swigc__p_wxPyTreeCtrl
,
49558 _swigc__p_wxPyTreeItemData
,
49559 _swigc__p_wxPyValidator
,
49560 _swigc__p_wxQueryNewPaletteEvent
,
49561 _swigc__p_wxRadioBox
,
49562 _swigc__p_wxRadioButton
,
49564 _swigc__p_wxScrollBar
,
49565 _swigc__p_wxScrollEvent
,
49566 _swigc__p_wxScrollWinEvent
,
49567 _swigc__p_wxSearchCtrl
,
49568 _swigc__p_wxSetCursorEvent
,
49569 _swigc__p_wxShowEvent
,
49570 _swigc__p_wxSimpleHelpProvider
,
49572 _swigc__p_wxSizeEvent
,
49574 _swigc__p_wxSizerItem
,
49575 _swigc__p_wxSlider
,
49576 _swigc__p_wxSpinButton
,
49577 _swigc__p_wxSpinCtrl
,
49578 _swigc__p_wxSpinEvent
,
49579 _swigc__p_wxStaticBitmap
,
49580 _swigc__p_wxStaticBox
,
49581 _swigc__p_wxStaticBoxSizer
,
49582 _swigc__p_wxStaticLine
,
49583 _swigc__p_wxStaticText
,
49584 _swigc__p_wxStdDialogButtonSizer
,
49585 _swigc__p_wxString
,
49586 _swigc__p_wxSysColourChangedEvent
,
49587 _swigc__p_wxTGAHandler
,
49588 _swigc__p_wxTIFFHandler
,
49589 _swigc__p_wxTextAttr
,
49590 _swigc__p_wxTextCtrl
,
49591 _swigc__p_wxTextUrlEvent
,
49592 _swigc__p_wxToggleButton
,
49593 _swigc__p_wxToolBar
,
49594 _swigc__p_wxToolBarBase
,
49595 _swigc__p_wxToolBarToolBase
,
49596 _swigc__p_wxToolbook
,
49597 _swigc__p_wxToolbookEvent
,
49598 _swigc__p_wxTreeEvent
,
49599 _swigc__p_wxTreeItemId
,
49600 _swigc__p_wxTreebook
,
49601 _swigc__p_wxTreebookEvent
,
49602 _swigc__p_wxUpdateUIEvent
,
49603 _swigc__p_wxValidator
,
49604 _swigc__p_wxVisualAttributes
,
49605 _swigc__p_wxWindow
,
49606 _swigc__p_wxWindowBase
,
49607 _swigc__p_wxWindowCreateEvent
,
49608 _swigc__p_wxWindowDestroyEvent
,
49609 _swigc__p_wxXPMHandler
,
49613 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49615 static swig_const_info swig_const_table
[] = {
49616 {0, 0, 0, 0.0, 0, 0}};
49621 /* -----------------------------------------------------------------------------
49622 * Type initialization:
49623 * This problem is tough by the requirement that no dynamic
49624 * memory is used. Also, since swig_type_info structures store pointers to
49625 * swig_cast_info structures and swig_cast_info structures store pointers back
49626 * to swig_type_info structures, we need some lookup code at initialization.
49627 * The idea is that swig generates all the structures that are needed.
49628 * The runtime then collects these partially filled structures.
49629 * The SWIG_InitializeModule function takes these initial arrays out of
49630 * swig_module, and does all the lookup, filling in the swig_module.types
49631 * array with the correct data and linking the correct swig_cast_info
49632 * structures together.
49634 * The generated swig_type_info structures are assigned staticly to an initial
49635 * array. We just loop though that array, and handle each type individually.
49636 * First we lookup if this type has been already loaded, and if so, use the
49637 * loaded structure instead of the generated one. Then we have to fill in the
49638 * cast linked list. The cast data is initially stored in something like a
49639 * two-dimensional array. Each row corresponds to a type (there are the same
49640 * number of rows as there are in the swig_type_initial array). Each entry in
49641 * a column is one of the swig_cast_info structures for that type.
49642 * The cast_initial array is actually an array of arrays, because each row has
49643 * a variable number of columns. So to actually build the cast linked list,
49644 * we find the array of casts associated with the type, and loop through it
49645 * adding the casts to the list. The one last trick we need to do is making
49646 * sure the type pointer in the swig_cast_info struct is correct.
49648 * First off, we lookup the cast->type name to see if it is already loaded.
49649 * There are three cases to handle:
49650 * 1) If the cast->type has already been loaded AND the type we are adding
49651 * casting info to has not been loaded (it is in this module), THEN we
49652 * replace the cast->type pointer with the type pointer that has already
49654 * 2) If BOTH types (the one we are adding casting info to, and the
49655 * cast->type) are loaded, THEN the cast info has already been loaded by
49656 * the previous module so we just ignore it.
49657 * 3) Finally, if cast->type has not already been loaded, then we add that
49658 * swig_cast_info to the linked list (because the cast->type) pointer will
49660 * ----------------------------------------------------------------------------- */
49670 #define SWIGRUNTIME_DEBUG
49674 SWIG_InitializeModule(void *clientdata
) {
49676 swig_module_info
*module_head
;
49677 static int init_run
= 0;
49679 clientdata
= clientdata
;
49681 if (init_run
) return;
49684 /* Initialize the swig_module */
49685 swig_module
.type_initial
= swig_type_initial
;
49686 swig_module
.cast_initial
= swig_cast_initial
;
49688 /* Try and load any already created modules */
49689 module_head
= SWIG_GetModule(clientdata
);
49691 swig_module
.next
= module_head
->next
;
49692 module_head
->next
= &swig_module
;
49694 /* This is the first module loaded */
49695 swig_module
.next
= &swig_module
;
49696 SWIG_SetModule(clientdata
, &swig_module
);
49699 /* Now work on filling in swig_module.types */
49700 #ifdef SWIGRUNTIME_DEBUG
49701 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
49703 for (i
= 0; i
< swig_module
.size
; ++i
) {
49704 swig_type_info
*type
= 0;
49705 swig_type_info
*ret
;
49706 swig_cast_info
*cast
;
49708 #ifdef SWIGRUNTIME_DEBUG
49709 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49712 /* if there is another module already loaded */
49713 if (swig_module
.next
!= &swig_module
) {
49714 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
49717 /* Overwrite clientdata field */
49718 #ifdef SWIGRUNTIME_DEBUG
49719 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
49721 if (swig_module
.type_initial
[i
]->clientdata
) {
49722 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
49723 #ifdef SWIGRUNTIME_DEBUG
49724 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
49728 type
= swig_module
.type_initial
[i
];
49731 /* Insert casting types */
49732 cast
= swig_module
.cast_initial
[i
];
49733 while (cast
->type
) {
49734 /* Don't need to add information already in the list */
49736 #ifdef SWIGRUNTIME_DEBUG
49737 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
49739 if (swig_module
.next
!= &swig_module
) {
49740 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
49741 #ifdef SWIGRUNTIME_DEBUG
49742 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
49746 if (type
== swig_module
.type_initial
[i
]) {
49747 #ifdef SWIGRUNTIME_DEBUG
49748 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
49753 /* Check for casting already in the list */
49754 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
49755 #ifdef SWIGRUNTIME_DEBUG
49756 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
49758 if (!ocast
) ret
= 0;
49763 #ifdef SWIGRUNTIME_DEBUG
49764 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
49767 type
->cast
->prev
= cast
;
49768 cast
->next
= type
->cast
;
49774 /* Set entry in modules->types array equal to the type */
49775 swig_module
.types
[i
] = type
;
49777 swig_module
.types
[i
] = 0;
49779 #ifdef SWIGRUNTIME_DEBUG
49780 printf("**** SWIG_InitializeModule: Cast List ******\n");
49781 for (i
= 0; i
< swig_module
.size
; ++i
) {
49783 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
49784 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49785 while (cast
->type
) {
49786 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
49790 printf("---- Total casts: %d\n",j
);
49792 printf("**** SWIG_InitializeModule: Cast List ******\n");
49796 /* This function will propagate the clientdata field of type to
49797 * any new swig_type_info structures that have been added into the list
49798 * of equivalent types. It is like calling
49799 * SWIG_TypeClientData(type, clientdata) a second time.
49802 SWIG_PropagateClientData(void) {
49804 swig_cast_info
*equiv
;
49805 static int init_run
= 0;
49807 if (init_run
) return;
49810 for (i
= 0; i
< swig_module
.size
; i
++) {
49811 if (swig_module
.types
[i
]->clientdata
) {
49812 equiv
= swig_module
.types
[i
]->cast
;
49814 if (!equiv
->converter
) {
49815 if (equiv
->type
&& !equiv
->type
->clientdata
)
49816 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
49818 equiv
= equiv
->next
;
49838 /* Python-specific SWIG API */
49839 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49840 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49841 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49843 /* -----------------------------------------------------------------------------
49844 * global variable support code.
49845 * ----------------------------------------------------------------------------- */
49847 typedef struct swig_globalvar
{
49848 char *name
; /* Name of global variable */
49849 PyObject
*(*get_attr
)(void); /* Return the current value */
49850 int (*set_attr
)(PyObject
*); /* Set the value */
49851 struct swig_globalvar
*next
;
49854 typedef struct swig_varlinkobject
{
49856 swig_globalvar
*vars
;
49857 } swig_varlinkobject
;
49859 SWIGINTERN PyObject
*
49860 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
49861 return PyString_FromString("<Swig global variables>");
49864 SWIGINTERN PyObject
*
49865 swig_varlink_str(swig_varlinkobject
*v
) {
49866 PyObject
*str
= PyString_FromString("(");
49867 swig_globalvar
*var
;
49868 for (var
= v
->vars
; var
; var
=var
->next
) {
49869 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
49870 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
49872 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
49877 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
49878 PyObject
*str
= swig_varlink_str(v
);
49879 fprintf(fp
,"Swig global variables ");
49880 fprintf(fp
,"%s\n", PyString_AsString(str
));
49886 swig_varlink_dealloc(swig_varlinkobject
*v
) {
49887 swig_globalvar
*var
= v
->vars
;
49889 swig_globalvar
*n
= var
->next
;
49896 SWIGINTERN PyObject
*
49897 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
49898 PyObject
*res
= NULL
;
49899 swig_globalvar
*var
= v
->vars
;
49901 if (strcmp(var
->name
,n
) == 0) {
49902 res
= (*var
->get_attr
)();
49907 if (res
== NULL
&& !PyErr_Occurred()) {
49908 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49914 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
49916 swig_globalvar
*var
= v
->vars
;
49918 if (strcmp(var
->name
,n
) == 0) {
49919 res
= (*var
->set_attr
)(p
);
49924 if (res
== 1 && !PyErr_Occurred()) {
49925 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49930 SWIGINTERN PyTypeObject
*
49931 swig_varlink_type(void) {
49932 static char varlink__doc__
[] = "Swig var link object";
49933 static PyTypeObject varlink_type
;
49934 static int type_init
= 0;
49936 const PyTypeObject tmp
49938 PyObject_HEAD_INIT(NULL
)
49939 0, /* Number of items in variable part (ob_size) */
49940 (char *)"swigvarlink", /* Type name (tp_name) */
49941 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
49942 0, /* Itemsize (tp_itemsize) */
49943 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
49944 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
49945 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
49946 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
49947 0, /* tp_compare */
49948 (reprfunc
) swig_varlink_repr
, /* tp_repr */
49949 0, /* tp_as_number */
49950 0, /* tp_as_sequence */
49951 0, /* tp_as_mapping */
49954 (reprfunc
)swig_varlink_str
, /* tp_str */
49955 0, /* tp_getattro */
49956 0, /* tp_setattro */
49957 0, /* tp_as_buffer */
49959 varlink__doc__
, /* tp_doc */
49960 0, /* tp_traverse */
49962 0, /* tp_richcompare */
49963 0, /* tp_weaklistoffset */
49964 #if PY_VERSION_HEX >= 0x02020000
49965 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
49967 #if PY_VERSION_HEX >= 0x02030000
49970 #ifdef COUNT_ALLOCS
49971 0,0,0,0 /* tp_alloc -> tp_next */
49974 varlink_type
= tmp
;
49975 varlink_type
.ob_type
= &PyType_Type
;
49978 return &varlink_type
;
49981 /* Create a variable linking object for use later */
49982 SWIGINTERN PyObject
*
49983 SWIG_Python_newvarlink(void) {
49984 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
49988 return ((PyObject
*) result
);
49992 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
49993 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
49994 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
49996 size_t size
= strlen(name
)+1;
49997 gv
->name
= (char *)malloc(size
);
49999 strncpy(gv
->name
,name
,size
);
50000 gv
->get_attr
= get_attr
;
50001 gv
->set_attr
= set_attr
;
50002 gv
->next
= v
->vars
;
50008 SWIGINTERN PyObject
*
50010 static PyObject
*_SWIG_globals
= 0;
50011 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50012 return _SWIG_globals
;
50015 /* -----------------------------------------------------------------------------
50016 * constants/methods manipulation
50017 * ----------------------------------------------------------------------------- */
50019 /* Install Constants */
50021 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50024 for (i
= 0; constants
[i
].type
; ++i
) {
50025 switch(constants
[i
].type
) {
50026 case SWIG_PY_POINTER
:
50027 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50029 case SWIG_PY_BINARY
:
50030 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50037 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50043 /* -----------------------------------------------------------------------------*/
50044 /* Fix SwigMethods to carry the callback ptrs when needed */
50045 /* -----------------------------------------------------------------------------*/
50048 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50049 swig_const_info
*const_table
,
50050 swig_type_info
**types
,
50051 swig_type_info
**types_initial
) {
50053 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50054 const char *c
= methods
[i
].ml_doc
;
50055 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50057 swig_const_info
*ci
= 0;
50058 const char *name
= c
+ 10;
50059 for (j
= 0; const_table
[j
].type
; ++j
) {
50060 if (strncmp(const_table
[j
].name
, name
,
50061 strlen(const_table
[j
].name
)) == 0) {
50062 ci
= &(const_table
[j
]);
50067 size_t shift
= (ci
->ptype
) - types
;
50068 swig_type_info
*ty
= types_initial
[shift
];
50069 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50070 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50071 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50074 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50076 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50078 strncpy(buff
, "swig_ptr: ", 10);
50080 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50081 methods
[i
].ml_doc
= ndoc
;
50093 /* -----------------------------------------------------------------------------*
50094 * Partial Init method
50095 * -----------------------------------------------------------------------------*/
50100 SWIGEXPORT
void SWIG_init(void) {
50103 /* Fix SwigMethods to carry the callback ptrs when needed */
50104 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50106 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50107 d
= PyModule_GetDict(m
);
50109 SWIG_InitializeModule(0);
50110 SWIG_InstallConstants(d
,swig_const_table
);
50113 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50114 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50115 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50116 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50117 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50118 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50119 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50120 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50121 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50122 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50123 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50124 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50125 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50126 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50127 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50128 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50129 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50130 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50131 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50132 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50133 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50134 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50135 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50136 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50137 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50138 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50139 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50140 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50141 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50142 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50143 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50144 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50145 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50146 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50147 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50148 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50149 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50150 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50151 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50152 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50153 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50154 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50155 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50156 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50157 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50158 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50159 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50160 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50161 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50162 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50163 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50164 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50165 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50166 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50167 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50168 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50169 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50170 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50171 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50172 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50173 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50174 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50175 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50176 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50177 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50178 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50179 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50180 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50181 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50182 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50183 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50184 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50185 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50186 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50187 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50188 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50189 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50190 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50191 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50192 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50193 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50194 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50195 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50196 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50197 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50198 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50199 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50200 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50201 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50202 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50203 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50204 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50205 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50206 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50207 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50208 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50209 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50210 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50211 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50212 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50213 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50214 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50215 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50216 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50217 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50218 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50219 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50220 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50221 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50222 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50223 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50224 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50225 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50226 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50227 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50228 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50229 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50230 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50231 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50232 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50233 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50234 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50235 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50236 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50237 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50238 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50239 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50240 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50241 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50242 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50243 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50244 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50245 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50246 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50247 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50248 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50249 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50250 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50251 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50252 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50253 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50254 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50255 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50256 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50257 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50258 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50259 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50260 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50261 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50262 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50263 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50264 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50265 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50266 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50267 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50268 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50269 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50270 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50271 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50272 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50273 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50274 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50275 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50276 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50277 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50278 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50279 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50280 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50281 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50282 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50283 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50284 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50285 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50286 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50287 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50288 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50289 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50290 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50291 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50292 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50293 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50294 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50295 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50296 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50297 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50298 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50299 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50300 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50301 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50302 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50303 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50304 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50305 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50306 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50307 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50308 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50309 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50310 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50311 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50312 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50313 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50314 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50315 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50316 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50317 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50318 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50319 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50320 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50321 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50322 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50323 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50324 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50325 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50326 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50327 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50328 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50329 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50330 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50331 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50332 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50333 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50334 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50335 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50336 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50337 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50338 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50339 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50340 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50341 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50342 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50343 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50344 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50345 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50346 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50347 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50348 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50349 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50350 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50351 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50352 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50353 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50354 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50355 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50356 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50357 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50358 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50359 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50360 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50361 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50362 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50363 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50364 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50365 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50366 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50367 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50368 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50369 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50370 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50371 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50372 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50373 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50375 // Map renamed classes back to their common name for OOR
50376 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50378 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50379 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50380 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50381 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50382 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50383 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50384 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50385 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50386 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50387 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50388 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50389 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50390 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50391 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50392 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50393 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50394 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50395 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50396 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50397 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50398 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50399 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50400 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50401 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50402 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50403 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50404 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50405 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50406 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50407 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50408 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50409 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50410 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50411 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50412 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50413 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50414 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50415 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50416 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50417 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50418 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50419 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50420 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50421 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50422 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50423 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50424 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50425 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50426 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50427 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50428 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50429 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50430 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50431 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50432 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50433 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50435 // Map renamed classes back to their common name for OOR
50436 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50437 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50439 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50440 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50441 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50442 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50443 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50444 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50445 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50446 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50447 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50448 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50449 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50451 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50453 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50454 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50455 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50456 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50457 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50458 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50459 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50460 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50461 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50462 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50463 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50464 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50465 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50466 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50467 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50468 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50469 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50470 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50471 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50472 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50473 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50474 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50475 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50476 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50477 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50478 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50479 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50480 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50481 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50482 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50483 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50484 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50485 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50486 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50487 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50488 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50489 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50490 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50491 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50492 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50493 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50494 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50495 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50496 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
50497 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
50498 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
50499 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
50500 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
50501 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL
));
50502 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH
));